How to click on Dialog box.
While running an application a dialog box pops up.
I want to click on Ok button. Even i can get rid of that Dialog box by pressing Esc Key or Pressing Alt + F4
I tried all the possible scenarios but that dialog box never escapes until i click OK manually or press ESC..
I have tried .PressKeys("<#Esc>") and also .PressKeys("<Alt-F4>") method but no luck. Silk Test is not identifying that dialog box
Even while doing record and playback there seems to be a problem
Pls find attached Dialog Box screen shot
Re: How to click on Dialog box.
Try TypeKeys....PressKeys only presses the keys...doesn't release them.