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 |
If the objects hierarchy is changing from build to build, then how you will handle that condition?
How QTP recognizes Objects in AUT?
what is the defference between calling ation and called action?
Tell me one scenario, the complex functionality you have automated in your project?
Which environments does qtp support?
What are advantages of test automation?
Please explain about unicode compatibility in QTP. how we can able to use it. Please help me
I am using Shared OR, and my collegues are also using Shared OR. How to merge Object Repositories?
Hello Friends, I am working with QTP 9.2 descriptive programming. Can you please let me know how to work with below. Browser is IE, for my site, it opens another page with different browser name, For example Parent Page is google.com and child page is inteview questions. How to work with this second page.
Hi, My problem is as follows. I recorded a script that created Object repository of each action i recorded. But later I added one more step (which was to enter data in a textfield) into the script through expert view. But as no repository for this newly added step exists in the test, my script fails. So please help me to sort this problem that how can I create object repository of a new step in an existing test. Thanks everyone
what is recovery manager and recovey scenerio?
What does VBS file contain?