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
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 |
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 |
write a script to verify the image path(src property) of the images which are in web pages.
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
What is an optional step in qtp ?
what is the use of automation objective model?where is used? plz tell me
What is recovery scenario in qtp?
HOW DO U CALL A ACTION IN QTP?
how to retrive that the number of spaces are in a string ????
How to Save your test using QTP?
how to click the link in webpage by using QTP Script????????
Give the syntax to load function at run time.
Why is action split used by qtp?