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
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
what is defenetion of kiran can u tell me plz CVS, SVN
How does qtp recognize objects in aut?
what is ODC and GDC?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
How can I find out the cursor position through QTP suppose I am keep tabbing(Pressing the tab key continuously) and stoped at a position Now I want to find out where the cursor position is
Where you are storing your script?
what the difference between shared repository and per action repository?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
what is run-time data?
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
How to write business scripts using object repository with different scenarios
Shall we add Local Repository to shared object repository,if yes,how we add
What is difference between run time object and test object?
give me an example where u used good judgement and logic in solving a problem