Forum Discussion
leeasdf9
13 years agoFrequent Contributor
Hi Sean,
Thanks for your reply. But mapping notificaiton bar to MSAA was not the issue in this case, this is already done. The problem is there is a breakpoint,when the notification bar is retrieved and the following 2 actions will be executed:
Aliases.javaw.SwingObject("notificationbar").SwingObject(""JButton","Open").WaitProperty("Enabled",true);
Aliases.javaw.SwingObject("notificationbar").SwingObject(""JButton","Open").ClickButton();
After notificationbar appears, it will click on button if it is clickable (Enabled=true). But the duration time btw. wait -and click event is very short, most of time it will click on the button, but sometime it will break the test, because notificationbar disappears before click event execution.
sorry for the confusion, i hope my description is understandable..
Thanks
Lee
Thanks for your reply. But mapping notificaiton bar to MSAA was not the issue in this case, this is already done. The problem is there is a breakpoint,when the notification bar is retrieved and the following 2 actions will be executed:
Aliases.javaw.SwingObject("notificationbar").SwingObject(""JButton","Open").WaitProperty("Enabled",true);
Aliases.javaw.SwingObject("notificationbar").SwingObject(""JButton","Open").ClickButton();
After notificationbar appears, it will click on button if it is clickable (Enabled=true). But the duration time btw. wait -and click event is very short, most of time it will click on the button, but sometime it will break the test, because notificationbar disappears before click event execution.
sorry for the confusion, i hope my description is understandable..
Thanks
Lee