How to Get the Run-time value of an object under that web
app under Test to the local data table sheet of that Action?

Answers were Sorted based on User's Feedback



How to Get the Run-time value of an object under that web app under Test to the local data table sh..

Answer / shriram

Output value is used to catch the run time value. This can
be used to match actual and expected value same as
Checkpoints in QTP.

Is This Answer Correct ?    2 Yes 0 No

How to Get the Run-time value of an object under that web app under Test to the local data table sh..

Answer / kishan

Point to Remember:
1. get the Run time property using "getROproperty" method
2. Use DataTable.value property to set the required value to
a cell in datatable

Sample Code:

val=Browser().Page().webEdit().getRoproperty("<propertyName>")

DataTable.AddSheet "mysheet"
DataTable.getsheet("mysheet").AddParameter "myParam",val

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

can u tell me website address of VBscript with examples.

2 Answers  


what are the different data driven types?

6 Answers  


In Datatable having the data like this S.no Name Address 1 raj hyderabad 2 suresh Mumbai 3 shyam chennai 4 dev banglore i want to get the shyam row id & column id using scipting i.e 3,3

4 Answers   Broadridge,


How can i count "spaces" in any sentence or a string if suppose " It is a Testing question" Here we have 4 gaps(spaces) Is there any function to find out spaces between words

5 Answers   iGate, Livetek,


How to return a value from a fn, if it has more than one value how to return

3 Answers   Verizon,






What is quicktest professional?

0 Answers  


What is InStr()

6 Answers   Kanbay,


Plz explain about Virtual object? What is the situation u r using , explain with example?

1 Answers  


How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?

2 Answers   TCS,


How to find the number the number of Links, Brolken Links in a webpage?

3 Answers   Ordain Solutions,


can we change the name of a check point? when will you start writing testcases? do you follow any methodology for writing test scripts? qtp is key word driven testing or data driven testing?

2 Answers  


Where is the Bitmap checkpoint information stored?

0 Answers   Ordain Solutions,


Categories