Micro Focus QTP (UFT) Forums
Winbutton slow in clicking - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Winbutton slow in clicking (/Thread-Winbutton-slow-in-clicking)



Winbutton slow in clicking - kpat - 05-23-2016

I have a code here but it will take 4 seconds before the tool clicks the OK button

Browser("micclass:=Browser").Dialog("micclass:=Dialog").WinButton("nativeclass:=Button", "text:=OK").Click

Just want to ask if there are ways to make the clicking of the Ok button faster.
Like when the dialog box appears, the tool automatically clicks the Ok button in a split second.