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 can you connect the database with QTP?

3 Answers  


1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?

5 Answers   HP,


what is throw object ?

1 Answers  


Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why?

3 Answers  


How many lines of code in each script of QTP?

0 Answers  






I added 5 edit box objects in OR.i run the script and the first edit box successfully executed.But on next day when i executed same script for second edit box,it gives an error "object not Found". But when i used Highlight in app. object already in OR.So how i will handel this type of error. Hi please inform me the write answer.Its urgent.

1 Answers   TCS,


is the institute MindQ laid by Mr.Nageswar rao.. heard alot about Nageswar rao...can you briefly let me know about the Nageswar rao inst. and MinQ...THANX IN ADVANCE

44 Answers   InterGraph,


How to handle the errors without using recovery scenery?

3 Answers  


how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables

6 Answers   iton, TATA,


How to create Userdefined Function.Please write the steps ans also provide example where exatcly we use it.

1 Answers   HP,


What type of problems one will face with QTP , if too many browsers are opened at a time?

2 Answers  


What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?

0 Answers  


Categories