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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if we are using an Engine (tool)..with that how to capture data from excel sheets and how to do automation with this plz answer any body for this question.?

1692


VSTET (Visual Studio Team Edition for Testers) which is in TFS (Team Foundation Server) - In what way is VSTET better than QTP?

3325


How would you test your own element locator?

679


How automation process is carried out?

681


hi to all, if we open a browser(for ex. yahoomail.com) using navigate command. the cursor by default focussing on the 'yahoo id' html edit box. how to get the label(ie.,yahoo id) of that html edit box using descriptive program. here we should not use identify tool to get the property,thtml editbox method. by tracing the cursor position we have to get the label name. is it possible? please let me know.

1864






whether flash selenium supports to test Gaming application? like follows: identifying the images, dynamic animations, Dynamic value changes field and win conditions etcc..,

1602


What are the attributes of a good framework?

686


Name some of the commonly used automation testing tools that are used for non-functional automation.

677


Elaborate the scripting standard while executing testing

641


is there any one got offer from snapdeal?

4256


What criteria do you consider for automating a test?

670


4. How we implement Winrunner,in our project?

2115


Do you know what is the purpose of deselectall() method?

717


Tell us what is the alternate way to click on login button?

619


What are the limitations of automating software testing?

1704