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

How to Identify broken links in QTP

2 Answers   Ness Technologies,


Can we Script any test case with out having Object repository? or Using Object Repository is a must

3 Answers   Crea,


I am automating a Java application. This application is developed using SWT. I am not able to get the GUI object. Even i tried with Java add-in. In tutorial it states SWT is not supported any idea. Anybody worked in such appln. My question is whether it is possible to record the GUI object of SWT appln. how it is possible.

1 Answers  


Where are the snapshots stored?

2 Answers  


for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b if u found exact answer please getback to me? raju.ippali@gmail.com 9823257761

1 Answers  






How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

0 Answers   ING,


how will b the questions if we keep one QTP project in CV.please tell me iam attending an interview.

3 Answers   IBM, Questacon,


In qtp,how to interact tool & application build?

1 Answers  


I have one question as HP QTP is concern, Please send your answers..... Can we do testing of any application without using any of the framework which are we used in QTP tool. If yes then how it can be possible in the HP QTP tool. -- Regards

5 Answers   ABC,


If 2 gmail browsers are opened in our system, how to enter the mail id and password into second browser by using discriptive program?

7 Answers   Mphasis,


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

0 Answers  


What is SQL injection?

2 Answers   CTS,


Categories