1. Which function is used to check whether the specified
object property achieves the specified value within the
specified timeout

below anyone is correct

1. Check Property
2. getToproperty
3. output

Pls anybody can give the answer.. Thanks in advance...



1. Which function is used to check whether the specified object property achieves the specified val..

Answer / amarendra kothuru

Use "WaitProperty" method for you case.

This method is useful for test run synchronization. Unlike
the Exist method, the WaitProperty method enables you to
synchronize the test run based on a specific object
property. For example, you can instruct QuickTest to wait
for a particular string to appear in a static text control:
' Wait up to 30 seconds for the string "Ready" to appear in
the "Status" text control.
Window("Test").Static
("Status:").WaitProperty "text", "Ready", 30000
E.g:

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More QTP Interview Questions

In project module it contains 3-ok buttons with same properties who qtp identify its objects while runing ??

5 Answers   HCL,


If a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?

3 Answers  


How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me

5 Answers   Livetek, Virtusa,


In an Excel sheet take two fields as agentname and password and type some valid agentname and password.call that excel sheet in qtp so that qtp opens the flightreservation window taking into consideration how many records are entered in the excel sheet.For example if 3 records are entered today it will open 3 FR windows,if in near future the records are more than 3 then it will open that number of times.

3 Answers  


object types is used for what?

1 Answers  






my assignment is,how can i differentiate between readed & unreaded mails in my inbox ?, since for both readed & unreaded having same properties for both test objects &run time objects

2 Answers  


When i use paramateriztion for tickets in flight reservation application , the tes'll run for first iteration but for the second iteration it'll give this details, but the second iteration is failed. Pls anyone clarify it. Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.

2 Answers  


How can we translate the steps between the Keyword and Expert Views?

1 Answers  


How to differentiate the webedit field like user name and password? Please tell any other best answer is ther

3 Answers   Navis,


What is difference between version 6.5 and 8.2 in QTP?

0 Answers  


how to capture the run time values of web table.

3 Answers   CTS,


hello everyone, can anybody please tell me what are the different recording modes of QTP, and where these recording modes are present in QTP 9.2. Thanks in advance, Gaytri

7 Answers  


Categories