Changes for page Selenium Command Examples

Last modified by Kieran Kelleher on 2008/07/02 15:10

From version 19.1
edited by Kieran Kelleher
on 2008/07/02 14:51
Change comment: There is no comment for this version
To version 18.1
edited by Kieran Kelleher
on 2007/11/30 14:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -14,9 +14,7 @@
14 14  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"
15 15  | storeValue | ~/~/input@class='sel//EditTeam//teamName' | var//EditTeam//teamName |
16 16  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
17 -| clickAndWait | link=$var//EditTeam//teamName | |
18 -Type the value 'abc' in the input field having class 'sel//input'//
19 -|type|~/~/input@class='sel//input'//|abc
17 +| clickAndWait | link=$var//EditTeam//teamName |
20 20  
21 21  === XPath Resources ===
22 22