I am using the selenium ide for testing my web application
i recorded some script and played back
while playing the recorded script the "alert msg is not
getting closed"
it needs manual interaction
Please help out me
Answers were Sorted based on User's Feedback
Answer / mohd anees
If the alert message is a javascript then use
assertConfirmation or alertConfirmation command and pass the pattern of the alert message.
this command automatically click on the "OK" button.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suresh1234
record the scenario and write the code manually to handle the popup then run the test
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suresh
Please check whether the is due to time lag/ button is not
loaded completely. To my knowledge just recorded scripts
wont work.. we need to modify the script after recording
depends on the page properties.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / lulu
If the alert message is in different browser you have to
handle it after recording. You have to select that popup
window and close it.Then transfer the control back to main
window.
waitForPopUp | winId | 30000
selectWindow | winId
...
close
selectWindow
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / santhu
To the Best Of my Knowledge Plse USe the Recovery Ce In
this
| Is This Answer Correct ? | 0 Yes | 4 No |
Tell me what is an absolute xpath?
Tell me how could ajax controls be handled in webdriver?
What is junit annotation?
What are main benefits of test automation?
What is client side validation? Write a snippet.
diff b/w DBMS & RDBMS?
69 Answers BirlaSoft, Infosys, Mind Tree, TCS,
what is meant by keyboard driven test?
What criteria do you consider for automating a test?
Describe some problem that you had with automating testing tool.
Who is the best faculty for Automation testing in hyderabad
How could you explain the main difference between webdriver and rc?
worksoft automation tool how do you create process ?