Run the below script in selenium IDE:
Command | Target | Value |
open | / | |
highlight | name=email | |
focus | name=email | |
type | name=email | you email address as value |
highlight | //input[@value='Submit'] | |
focus | //input[@value='Submit'] | |
clickAndWait | //input[@value='Submit'] | |
waitForPopUp | popupwindow | 30000 |
selectWindow | name=popupwindow | |
waitForElementPresent | id=verifyBox | |
highlight | id=verifyBox | |
focus | id=verifyBox | |
storeEval | alert('Enter captcha code manually') | |
highlight | //input[@value='Complete Subscription Request'] | |
focus | //input[@value='Complete Subscription Request'] | |
clickAndWait | //input[@value='Complete Subscription Request'] | |
waitForTextPresent | Your request has been accepted! | |
verifyTextPresent | Your request has been accepted! |
* Base URL:
http://helloselenium.blogspot.in/
In the above script we are submitting email newsletter form on hello selenium.
Read more about SELECT WINDOW COMMAND IN SELENIUM.
0 Comments
What would you like to add in my list? I look forward to reading your comments below.