Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Selenium commands

View previous topic View next topic Go down

Selenium commands

Post by drxpq 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 ? 

drxpq

Posts : 3
Join date : 2010-03-22

Back to top Go down

Re: Selenium commands

Post by Adviser 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

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

Re: Selenium commands

Post by drxpq 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

drxpq

Posts : 3
Join date : 2010-03-22

Back to top Go down

Re: Selenium commands

Post by Adviser 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.

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

tutorial on selenese commands

Post by deeviya 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.................

deeviya

Posts : 1
Join date : 2010-04-28

Back to top Go down

Re: Selenium commands

Post by Sponsored content Today at 7:14 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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