- aanand
- Posts : 9
Join date : 2011-03-08
How to use StoreAlert in Selenium IDE
Tue Mar 29, 2011 9:13 pm
i tried following code,
[tr]
[td]type[/td]
[td]users[/td]
[td]1[/td]
[/tr]
[tr]
[td]store[/td]
[td]'alert'[/td]
[td]noofuseralert[/td]
[/tr]
[tr]
[td]click[/td]
[td]//input[@value='Submit'][/td]
[td][/td]
[/tr]
[tr]
[td]storeAlert[/td]
[td]${noofuseralert}[/td]
[td][/td]
[/tr]
nothing stored in that variable
i
don't understand how to store alert text in a variable, so many sites i
checked, but still i didn't get any idea about storeAlert syntax.
please reply any one.
regards
aanand
[tr]
[td]type[/td]
[td]users[/td]
[td]1[/td]
[/tr]
[tr]
[td]store[/td]
[td]'alert'[/td]
[td]noofuseralert[/td]
[/tr]
[tr]
[td]click[/td]
[td]//input[@value='Submit'][/td]
[td][/td]
[/tr]
[tr]
[td]storeAlert[/td]
[td]${noofuseralert}[/td]
[td][/td]
[/tr]
nothing stored in that variable
i
don't understand how to store alert text in a variable, so many sites i
checked, but still i didn't get any idea about storeAlert syntax.
please reply any one.
regards
aanand
- auto_ashish1Active particpant
- Posts : 21
Join date : 2011-03-10
Re: How to use StoreAlert in Selenium IDE
Tue Apr 05, 2011 5:05 pm
It can be done very easily using Selenium RC.
selenium.getAlert Function will be helpful.
Regards
Ashish
For online Selenium training go to my website- www.sejsoft.com
selenium.getAlert Function will be helpful.
Regards
Ashish
For online Selenium training go to my website- www.sejsoft.com
- What is the use of Selenium Core and Selenium Test Manager ? (N-Unit Procedures in VS 2010)
- Creating detail log for selenium command execution (Selenium RC Java client)?
- [Help] Problem of running selenium Testcase[Java Junit] with Selenium RC
- Storealert
- Can Selenium do image comparison tests; support mobile browsers; and other FAQs about Selenium
Permissions in this forum:
You cannot reply to topics in this forum