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 |
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
Can we create a qtp test from qc?
If I change the property value at runtime is it effect is object repository?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
What is an optional step in qtp ?
What is the use of Debug Viewer?
what is reusable action and how the same can be implemented (process)?
Hi all, i have installed QTP8.2 in my system. but script is not generating while recording. What is the problem? is any file missing? pls let me know anybody...Thnaks
How many types of Test Plans are there...??
what are pretesting activities
Explain different recording modes?
IF application is a Java-based application means 2 0r 3 tier application. How the script will be in QTP. pls kindly give some sample script.