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 |
which is the best online training website?
how is mind q venkat training in testing for weekend or general batches.and any other good institutes in ameerpet
Tell us the difference between assert and verify commands?
What is End-TO-End Testing?Explain in detail
4 Answers Thatavarti Technologies,
Describe some problem that you had with automating testing tool.
Tell us how can we handle web-based pop-up?
Do you know what is the purpose of deselectall() method?
Tell me how could the web element attributes be inspected in order to use them in different locators?
Describe common problems of test automation.
How can the user get a text of a web element?
define joins? when you will joins use?
i have 100 check box in a link,out of 100 check box in 25 check box their written qtp(any where i dont know),i have to select first check box where 1st qtp found.