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

Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

0 Answers  


what is option explicit? what is the use of it?

9 Answers   Syntel,


what area in a web application cannot be automated.

1 Answers  


what is KEYWORD DRIVEN TESTING ? I M NOT ASKIN WHAT IS KEY WORD VIEW PLZ ANS FOR ONLY WHAT IS KEYWORD DRIVEN TESTING EXACTLY THANX

3 Answers  


How do u write regular expression for a window name which is changing for each build ? i.e. in first build the window name is : "computer graphics are very ...." . in second build the window name is : "computer graphics can be created" . - Appreciate proper replies

4 Answers   Semantic Space,






How QTP recognizes Objects in AUT?

1 Answers   Crea,


is the institute MindQ laid by Mr.Nageswar rao.. heard alot about Nageswar rao...can you briefly let me know about the Nageswar rao inst. and MinQ...THANX IN ADVANCE

44 Answers   InterGraph,


what are the design objects in qtp

3 Answers   Wipro,


Give one example of Standard checkpoint in qtp 10?

1 Answers  


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

0 Answers  


Please have a look at this: a = Browser("Travel Boutique Online").Page("Travel Boutique Online_2").webelement("innerhtml:=2622").getroproperty("y") a=a+9 msgbox a Browser("Travel Boutique Online").Page("Travel Boutique Online_2").image("alt:=check","y:=a").click Now please let me explain. As clear from code I am trying to enter value of variable 'a' as Property y. But each time QTP AND MY SYSTEM stops responding when this line is execcuted. But When i enter some number in place of 'a' in the last line. it works fine. Please let me know what I am doing wrong at time of entering the variable in last line. Thanks a lot

3 Answers  


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

0 Answers  


Categories