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


Please Help Members By Posting Answers For Below Questions

What is the Difference between copy to action and call to action?

591


Explain hybrid framework with advantages and disadvantages?

546


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.

1539


How to check bitmap output value?

629


how to find that tools work well with ur existing system?

1356






How to use the object spy in quicktest professional 8.0 version?

548


Can anybody post some real time scenario in qtp? please its very urgent.

1805


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

1910


Difference between copy to action and call to action?

594


how will you load the test cases in ddt?

1598


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

1524


Why script error occur in between recording in qtp?

1770


What are the types of properties that quick test learns while recording?

540


How do we analyze the checkpoint results?

588


In qtp is it possible to check broken links of a page?

589