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
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.
What are the benefits of quick test pro(qtp)?
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?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
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?
What are the automation metrice in your project?
What is contained in the object repository?
How does you test a weblink which is changing dynamically?
Explain how you can replace string in qtp?
How to use debug tools?
How will internal and external links be validated and updated? how often?
What is active screen?
If I give some thousand tests to execute in two days what do you do?
If you are testing a web application then what will you test in that application?
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?