Share
Go down
drxpq
Posts : 3
Join date : 2010-03-22

Selenium commands

on Mon Mar 22, 2010 4:08 am
Hi,I would like to try a test. My test needs to get value from a label on a system page and according to the value do some operation. But I don't know, how. Is there any command to get value from a target and any condition term in Selenium IDE ? 
avatar
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: Selenium commands

on Mon Mar 22, 2010 1:22 pm
Hi,

Yes you can use StoreText command and store the text value of your element(Label into variable and use that variable in your test.

For ex:

StoreText | locator(lable) | variable name
Now variable value can be used like ${variable name}

Hope this will help you. best of luck.

Bye
drxpq
Posts : 3
Join date : 2010-03-22

Re: Selenium commands

on Fri Mar 26, 2010 3:30 am
Yes, it has been useful. Thank you very much. 
One more question:Is there possibility to combine more commands into one e.g.I would like to have target something like next command : command|(command|target|value)|value ?


Last edited by drxpq on Fri Mar 26, 2010 2:21 pm; edited 1 time in total
avatar
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: Selenium commands

on Fri Mar 26, 2010 11:25 am
No, you can't. You have to execute single command only. No nested query is allowed in IDE.
deeviya
Posts : 1
Join date : 2010-04-28

tutorial on selenese commands

on Wed Apr 28, 2010 7:20 pm
Hi

I m new to Selenium, I was just trying to record and play testcase using Selenium IDE.
But the dropdown clicks are recognized as by the selenium tool and it give the error as "[error] Element ext-gen382 not found" every time i play the testcase.
Please help me as I m not a developer, so its little bit difficult for me to understand this tool.

Looking forward for your support & help.

Thanks in advance.................
Sponsored content

Re: Selenium commands

Back to top
Permissions in this forum:
You cannot reply to topics in this forum