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.
Who is Participating?
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. 
PearlJamFanaticAuthor Commented:
nah, that won't work. The child window is a modal window dialog form.
Bryan ButlerCommented:
Can you "hit the spacebar" when this button is "highlighted" instead of clicking on it?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.