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 Samrat, Thank u very much, what u said it is right.
What are the different attribute used with regular expression?
How to get Traceability matrix from TD?
How to create scenario selector
Which functionalities of QTP used in banking project?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
How to use actions in qtp ?
Where you are storing your script?
Is any limitation to xml checkpoints?
what is the hierarchy to use properties in descriptive programming
Does QTP record on Objects created on XWindows Environment?
Do you know how to connect database? Can you tell me the procedures?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
Why qtp always start action1 and does not start action?