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

How to add multiple values in rows, under a single column of a run time datatable?

3 Answers   NIIT,


What are the different types of action?

0 Answers  


Give answer with example what is orthogonal array testing technique?

1 Answers   CTS, Wipro,


WHAT IS THE FRAMEWORK & ARCHITECTURE OF YOUR PROJECT

3 Answers   Wipro,


How many ways we can parameterize data in QTP?

6 Answers   Liquid Crystal,


We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)

2 Answers   IBM, Infosys,


for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b

3 Answers  


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  


How can we display the names of the buttons in the toolbar of a webpage

1 Answers  


WHAT IS OBJECT REPROSITORY?

4 Answers   BirlaSoft,


What does ".mst" stands for? (abc.mst)

3 Answers   Infosys,


CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME

2 Answers   TCS,


Categories