Posted: 17 Aug 2017 16:40 EDT Last activity: 21 Aug 2017 15:30 EDT
The normal process is that once i click this button,the function "Set()" will validate data in this form,if passed,the form will be submitted;otherwise it will popup a message dialog.
Now I interrogated this button and "Ok" button of popup message dialog,I found a very strange issue that the performclick method of button "totoro" must wait the popup window to close itself. It means I can't automate closing popup window. Meanwhile I also tried to use invokescript,but it didn't work.
The dialogue box causes the current thread to lock until the dialogue box is dismissed. You will have to use the WaitForEvent() method in order to spin off a new thread to PerformClick on the OK button.