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.

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

Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

2036


What are the benefits of quick test pro(qtp)?

920


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

984


Thanks....But can u tell me how i use the QTP for GIS with one Example...

1831


i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?

1930


What are the automation metrice in your project?

2231


What is contained in the object repository?

1033


How does you test a weblink which is changing dynamically?

953


Explain how you can replace string in qtp?

1012


How to use debug tools?

2652


How will internal and external links be validated and updated? how often?

1062


What is active screen?

937


If I give some thousand tests to execute in two days what do you do?

975


If you are testing a web application then what will you test in that application?

1986


Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?

1999