...
Click a link having css class 'sel_create_team'
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="490b3ada-52a7-4ed6-bc9a-e980ed8f53bd"><ac:plain-text-body><![CDATA[ | clickAndWait | //a[WONDER:@class='sel_create_team'] |
| ]]></ac:plain-text-body></ac:structured-macro> |
Add the first element of a list browser (aka. 'select' element) to the current selections. The list browser is identified by css class 'sel_browser_list'
...
addSelection | //select[WONDER:@class='sel_browser_list'] | value=0 ]]></ac:plain-text-body></ac:structured-macro> |
Add the third element of a list browser (aka. 'select' element) to the current selections. The list browser is identified by css class 'sel_browser_list'
...
addSelection | //select[WONDER:@class='sel_browser_list'] | value=2 ]]></ac:plain-text-body></ac:structured-macro> |
Add the item named "John Murphy" of a list browser (aka. 'select' element) to the current selections. The list browser is identified by css class 'sel_browser_list'
...
addSelection | //select[WONDER:@class='sel_browser_list'] | label=John Murphy | ]]></ac:plain-text-body></ac:structured-macro> |
Store the current value of an input field into a script variable. The input field is identified by the css class "sel_EditTeam_teamName" and we are storing the current field value into a script variable named "var_EditTeam_teamName"
...
"
...
storeValue | //input[WONDER:@class='sel_EditTeam_teamName'] | var_EditTeam_teamName ]]></ac:plain-text-body></ac:structured-macro> |
Use a stored variable later in the script (on a different page or whatever) to click a dynamic hyperlink that uses the stored value as the hyperlink text
...
Type the value 'abc' in the input field having class 'sel_input'
...
type | //input[WONDER:@class='sel_input'] | abc ]]></ac:plain-text-body></ac:structured-macro> |
Store the value 'abc' in a script variable named var1
...