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.
Answers were Sorted based on User's Feedback
Answer / 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 |
I am a beginner plz tell me,how do we write scripts in QTP? In my opinion we can write scipts in expert view or there is another option where we can write scripts. plz tell me.
Hi All, What is an XML Checkpoint in QTP? How can i use it while testing a web application? Kindly explain in detail. Thanks in advance
What is the extention of Virtualobject
1.In VB Script 100 lines Script. How can check the Syntax errors? 2. Write a VB Script for X = India/Srilanka/Australia/England/South Africa.I need the Output Country wise? [ 1st Msgbox India , 2nd Msgbox Srilanka] ---- 3. How can Choose these test cases to be automated?
What is the extension of 'Log file' in QTP
scalability testing comes under in which tool?
waht is puirpose of accesbility Check point? waht is the use of Page and XML check points?
What are the most frequent errors you faced while executing your scripts?
What is Distributed testing? How does UFT support it?
I have java based application on my computer. Can I install QTP on it? What are system requirements for installing QTP?
Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2
How many test scripts are prapare in ur project(HeathCare Insurance).