What is an other way of "Wait" statement in QTP
I dont want to use wait("Some number").
Can any one tell this please..........

Answer Posted / jitendra

It depends upon why you have used wait() in ur code.
Probably you can use the Sync() method.

This method will wait, till the client gets a response from
server or the Object Synchronization time is not crossed.

Browser().Page().Button().Click
Browser().Page().Sync

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create regression test packs?

606


How to recognise the webelement and verifying that webelement is enabled?

1639


How to build scripts that access data from external sources?

1598


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2794


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1486






whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

1560


Approach for Installation,comaptibility,system testing

1698


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1515


How does quicktest professional identifies the object in the application?

547


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

703


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1420


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1488


They asked by using qtp recording writing scripting

2066


What is Cross browser testing? Does UFT support it?

613


How you can delete excel file in qtp?

591