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



I have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Ap..

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 have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Ap..

Answer / kishore

n = bBrowser("Philips Web Login").Page("Philips CL DMS2
Application").Frame("ScopeFrame").Link("DC3701737
(Active)").getroproperty("name")

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

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

0 Answers  


Can we create a qtp test from qc?

0 Answers  


If I change the property value at runtime is it effect is object repository?

0 Answers  


In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail

0 Answers   Yahoo,


What is an optional step in qtp ?

0 Answers  






What is the use of Debug Viewer?

0 Answers  


what is reusable action and how the same can be implemented (process)?

2 Answers  


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

3 Answers  


How many types of Test Plans are there...??

5 Answers  


what are pretesting activities

0 Answers  


Explain different recording modes?

0 Answers  


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.

5 Answers   Wipro,


Categories