1 | String getClassname()↵ | | 1 | String get↵
|
2 | {↵ | | 2 | XPathQuery(){↵
|
3 | return getPropertyAsString(CLASSNAME);↵ | | 3 | return getPropertyAsString(XPATH_QUERY);↵
|
4 | }↵ | | 4 | }↵
|
5 | ↵ | | 5 | ↵
|
6 | /**↵ | | |
|
7 | * Set the string label used to create an instance of the↵ | | |
|
8 | * test with the string constructor.↵ | | |
|
9 | * @param constr↵ | | |
|
10 | */↵ | | |
|
11 | public void setConstructorString(String constr)↵ | | |
|
12 | {↵ | | |
|
13 | setProperty(CONSTRUCTORSTRING,constr);↵ | | |
|
14 | }↵ | | |
|
15 | ↵ | | |
|
16 | /**↵ | | |
|
17 | * get the string passed to the string constructor↵ | | |
|
18 | */↵ | | |
|
19 | public String getConstructorString()↵ | | |
|
20 | {↵ | | |
|
21 | ↵ | | |
|
| | | 6 | public void setRefName(String refName) {↵
|
| | | 7 | setProperty(REFNAME, refName);↵
|
| | | 8 | }↵
|
|
| | | 9 | public String getRefName() {↵
|
22 | return getPropertyAsString(CONSTRUCTORSTRING);↵ | | 10 | return getPropertyAsString(↵
|
23 | | | 11 | REFNAME);↵
|
| | | 12 |
|