Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.

Answers were Sorted based on User's Feedback



I have the script like this: Browser("Login").Page ("Application").Frame("..

Answer / raj

Please try this in Descriptive way.

Try this code to select the link....
Browser("Login").Page("Application").Frame
("ScopeFrame").Link("text:="&x).Click

Is This Answer Correct ?    7 Yes 0 No

I have the script like this: Browser("Login").Page ("Application").Frame("..

Answer / harish

Try this...

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

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More QTP Interview Questions

What types of testing comes under functional testing or in other word what will you test in functional testing?

3 Answers   Infosys,


What is the disadvantage of smart identification?

3 Answers   Infosys, Sony,


How to import a test case present in ".xls" file to TD under a Test set?

0 Answers  


What is difference between QTP 8.2 Obect Repository and QTP 9.2 object Repository?

2 Answers   Nokia,


what is run-time object property in Object spy in QTP9?

3 Answers  


Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"

5 Answers   Cap Gemini,


How many add-ins comes by default with qtp?

0 Answers  


How can we change the .mtr file to .tsr file and vice-versa

3 Answers   Wipro,


how to check URL using QTP? write vb script with descriptive programm only?

1 Answers   Syntel,


How the QTP recognize, handle n reports that a error has been handled by it(QTP) when we perform a recovery scenario in our application n in what manner it will display it in resulting window? Plz help me out.

1 Answers  


What's QuickTest Window?

1 Answers  


How To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar

1 Answers  


Categories