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
Is it possible to merge two object repository files in qtp?
Get the count of files of similar types from a folder.
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
How to attach a file to TD?
what is the difference between data driver & data driven and driver script?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
Differentiate the type of test cases which can be automated and which cannot be automated?
Define object spy ?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
How do I get the QTP scripts result in xml format by using vb script function?
How to release all resources file from the QTP?
Is qtp supports uni-code?
What are the different properties of an web object
can i compare two databases using QTP ?