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 / deepak

You can also use Do Until

E.g- There is a particular button in the next page which is
about to come then you can write like this:

Do Until Browser("...").Page("...").WebButton("...").Exist
Wait(1)
Loop

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

whow much strong on VB and C?

1477


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

1573


what is stepin & stepout?

1416


can any one say that where we can download the QTP trail version ??????????

1358


Describe synchronization point.

573






Where to use Property Let, Property Get, Property Set in UFT

368


What is the latest version of qtp?

579


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1542


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

1639


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2258


Explain measuring transaction.

582


What is test object?

691


how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!

1728


What do you mean by checkpoints in qtp?

554


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1459