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 |
Write test cases on ATM machine and On Pencil.
What is the Differnce between Client/Server Testing and Web Based Testing?
What are the differences between open source tools, vendor tools, and in-house tools?
Do you know how can we make one test method dependent on other using testng?
How automation process is carried out?
Tell us what is the alternate way to click on login button?
what we have done after display the result in openSTA result pane.in the sense that how we send the report,what we send in report,how to know that where is error.quickly tell me the answer...please
You have 3 Dialog Box on desktop window and u want to click on yes button on 3rd Dialog box how to write the script to click on yes by DP? Note Dialog box names are same
Do you think that testing can be done only at the ui level?
which tools is the best in Automation
Explain some automation testing tools.
How do you Test Credit Card Validation