Selenium:clicking the button does not submit the form

The button is in a modal dialog window. Ideally on clicking the said button the modal window should close and the form in the main window must be submitted. Thjis is what happens when i do this manually. When i perform this through the script, the modal window closes but the page in the parent window is not submitted.
PearlJamFanaticAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Suveer PatilQA AnalystCommented:
i too faced this problem. check the below link yu may get solution...i tried it sometimes it is working sometimes it is not.
http://blogs.sun.com/rajeshthekkadath/entry/handling_child_window_pop_up 
0
 
PearlJamFanaticAuthor Commented:
nah, that won't work. The child window is a modal window dialog form.
0
 
Bryan ButlerCommented:
Can you "hit the spacebar" when this button is "highlighted" instead of clicking on it?
0
All Courses

From novice to tech pro — start learning today.