I have the script like this:
Browser("Philips Web Login").Page("Philips CL DMS2
Application").Frame("ScopeFrame").Link("DC3701737
(Active)").Click
in which the value "DC3701737" will get changed and i have
to use the same value in so many places.
If i want to get that value "DC3701737" in to a variable,
how?
pls let me know if you didn't get the question.
Help me out in this.
Answer Posted / imran sheikh
THE way I got your question is you want to store the value
of 'Link'.You can do it this way:
myLinkval = Browser("Philips Web Login").Page("Philips CL
DMS2 Application").Frame("ScopeFrame").Link("DC3701737
(Active)").GetRoProperty("name")
msgBox myLinkVal
Variable, myLinkVAl will contain the value of link which
can be used furthur.
Hope it helps, if i have misunderstood the question,plz let
me know.
Thanks
Imran
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the Difference between copy to action and call to action?
Explain hybrid framework with advantages and disadvantages?
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
How to check bitmap output value?
how to find that tools work well with ur existing system?
How to use the object spy in quicktest professional 8.0 version?
Can anybody post some real time scenario in qtp? please its very urgent.
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
Difference between copy to action and call to action?
how will you load the test cases in ddt?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
Why script error occur in between recording in qtp?
What are the types of properties that quick test learns while recording?
How do we analyze the checkpoint results?
In qtp is it possible to check broken links of a page?