Posted: 11 Jan 2019 6:47 EST Last activity: 11 Jan 2019 7:38 EST
To automate click ok button on consecutive message box appearances
I am new to Openspan. In my project, consecutive message dialog boxes appear in runtime when I execute scripts one after another. I have to automate the process of clicking Ok button. I have tried with interrogating and using perform click but it works only for the first message box and it does not click on other pop ups comes on screen and they remain open.Please help me on performing click ok button on successive message box appearances.
Try adding the btnOK WaitForCreate method in the automation prior to the PerformClick block. Alternatively, during interrogate check if the button is matching each time and can be clicked by testing with the Test Methods’ form.