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

What is debugging? How you debug your script?

0 Answers  


Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?

0 Answers  


How do you capture tooltip using QTP?

0 Answers  


how u test a frame in a web page using QTP?

1 Answers   Accenture, IBM,


what is framework? which frame work u follow for writting script?

5 Answers   IBM,


describe common problems of test automation?

3 Answers  


hi Action 1 and action2 if we save it in C:, what folders will be created explain plz

3 Answers   iFlex,


how to compare two excell sheets by using vbscript??

2 Answers  


Does QTP supports Linux or Unix OS?.If so which scripting is preferable? Shell we do record and playback

1 Answers  


4. what is the use of Text output value in Qtp?

1 Answers   Wipro,


Explain different type of event trigger option.

0 Answers  


can we call a test in another test?

3 Answers   iFocus,


Categories