Micro Focus QTP (UFT) Forums
Optional Step Help Required - 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: Optional Step Help Required (/Thread-Optional-Step-Help-Required)



Optional Step Help Required - golfer999999 - 04-20-2009

Hi,

I am using QTP in keyword only - and need to use the optional step function
However it takes between 30 to 60 seconds to skip past this step when not needed - is there any way to speed this up???

Cheers

Golfer999999Big Grin


RE: Optional Step Help Required - Tarik Sheth - 04-21-2009

It might take the default time specified by QTP.
1. Try to reduce the synchronization time
2. use environment variable for time out
3.
Code:
OptionalStep.Browser("Browser").Dialog("AutoComplete").WinButton("Yes").exist(10)
Then do something else.

This should work.