I have the script like this: Browser("Login").Page
("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.
I got the value "DC3701737" in to a variable(Say x). Now if
i want to pass the variable in to link object .. how?

Browser("Login").Page("Application").Frame
("ScopeFrame").Link(x).Click

Is it possible to pass any variable into a link object ..
so, that the application will select that link
automatically?

If ur not able to understand, pls let me know.

Answer Posted / harish

Try this...

Browser("Login").Page("Application").Frame
("ScopeFrame").Link(x & "(Active)").Click

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2260


How you can make an action as re-usable action?

649


How you are developing the script? Using record and play back or manual?

629


How do you send email with attachment from outlook using qtp ?

559


How will you test a keyboard?

599






who QTP recognizes the object stored in object repository?

1657


How you know that a test case is a regression test case

3055


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1397


What is the meaning Work bench?

1758


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1353


What is the basic concept of quicktest professional (qtp)?

577


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1433


I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?

1763


What are the different kinds of test steps?

563


Is it possible to change the values of analog recording?

570