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 |
Stop automating the tests which run once?
Hi, Pls let me know good institutes/trainer for SAP TAO. Any help/inputs is very much appreciated. Thanks.
Tell us how to select a value in a dropdown?
How to get the Background color of a Tab or Button in TestComplete Tool using VBScript? I have a validation that to verify whether a particular tab or button is highlighted or not. When the tab or button is highlighted the background color will be in Yellow color.If i get the background color then its easy for us to validate whether its highlighted or not. Can anybody help me on this?. Thanks in Advance.
Is ui level testing possible?
What all things can you automate?
What is a critical bug in a testing field?
Tell me what databases can test director reside on?
5. What are the tests you are conducting through winrunner?
How to decide the tool that one should use for automation testing in their projects?
What is the purpose of deselectall() method?
How do you choose which automation tool is best for your specific scenario?