List Info

Thread: which command should i use to store a value in a variable .




which command should i use to store a value in a variable .
user name
2007-10-07 01:31:09
I have a test where I have to type a transaction number in a
text field and the transaction number is generated randomly
by the system. So I have tp store the randomly generated
transaction no. and use it to search the transaction.
I am  storing a value in a variable using selenium but i am
not getting which command should i use.
I am using TXID = store_text "//strong [3]" where
TXID is the variable in whcih i am storing a value.
    but I am getting the error "(eval):19:in
`store_text': wrong number of arguments (1 for 2)"
I tried using get_text but it didnt worked.

------------------------------------------------------------
---------
To unsubscribe, e-mail:
selenium-on-rails-users-unsubscribeopenqa.org
For additional commands, e-mail:
selenium-on-rails-users-helpopenqa.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )