| # | Result | Name | Parameter | Duration |
|
1 |  | invoke
Show start page
Resulting page |
| -> complete url | http://localhost:19090/selftest/formTest |
| url | formTest |
| 40 |
|
2 |  | storeXPath
Extract href of first link on page |
| property | uri |
| xpath | //a[1]/@href |
| => value | formTest?mode=getTest&field1=MyLink |
| 12 |
|
3 |  | invoke
Invoke target page specified in href
Resulting page |
| -> complete url | http://localhost:19090/selftest/formTest?mode=getTest&field1=MyLink |
| url | formTest?mode=getTest&field1=MyLink |
| 36 |
|
4 |  | verifyInputField
Verify correct page was invoked |
| 2 |
5
 |  | group
storeXPath with default value
last result page of this group |
| # | Result | Name | Parameter | Duration |
1
 |  | group
first the same than previously but with attribute default
last result page of this group |
| # | Result | Name | Parameter | Duration |
|
1 |  | invoke
Show start page
Resulting page |
| -> complete url | http://localhost:19090/selftest/formTest |
| url | formTest |
| 25 |
|
2 |  | storeXPath
Extract href of first link on page |
| default | doesn't matter, won't be used |
| property | uri |
| xpath | //a[1]/@href |
| => value | formTest?mode=getTest&field1=MyLink |
| 6 |
|
3 |  | invoke
Invoke target page specified in href
Resulting page |
| -> complete url | http://localhost:19090/selftest/formTest?mode=getTest&field1=MyLink |
| url | formTest?mode=getTest&field1=MyLink |
| 33 |
|
4 |  | verifyInputField
Verify correct page was invoked |
| 2 |
| 69 |
|
2 |  | storeXPath
extract (non existing) div content |
| default | my default value |
| property | myProp |
| xpath | //div[@id='doesntExist'] |
| => value | my default value |
| 8 |
|
3 |  | verifyProperty
verify that the default value has been used |
| name | myProp |
| text | my default value |
| 3 |
4
 |  | not
storeXPath without node and without attribute default should fail |
| # | Result | Name | Parameter | Duration |
|
1 |  | storeXPath
extract (non existing) div content |
| property | myProp |
| xpath | //div[@id='doesntExist'] |
| 60 |
| 62 |
| 145 |