Want to click on the OK button of Message box for all the times

Reads an excel file. Message box shows name field in the excel one by one after clicking ‘OK’ button. I want the button click automatically.

Within the excel application scope, does it work to have a do while loop in which there is a click activity followed by an element exists, where the condition is ‘if OK button exists’?

Hope this may help you

1 Like