07-12-2010, 01:23 PM
Hi,
In my application (windows) all the popup are having same property description. So I am planning to create a function that handles all the popups.( clicks on OK button)
As the parents of the pop ups are differrent, I am unable to write the code. Like
1)2) It would be of great help if anyone can suggest me the solution.
In my application (windows) all the popup are having same property description. So I am planning to create a function that handles all the popups.( clicks on OK button)
As the parents of the pop ups are differrent, I am unable to write the code. Like
1)
Code:
SwfWindow("Phoenix").SwfWindow("Generic Message Box1").SwfButton("OK").Click
Code:
swfwindow("Notional Availability").SwfWindow("Generic Message Box1").SwfButton("OK").Click