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
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 |
Answer / harish
Try this...
Browser("Login").Page("Application").Frame
("ScopeFrame").Link(x & "(Active)").Click
| Is This Answer Correct ? | 2 Yes | 2 No |
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
What are the types of Object Repositories in QTP?
How to find the OS name by using QTP script?
In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP identify the 3rd OK button while running script? Is qtp identify 3rd ok button?
OR is full with objects but i want to add 5 more objects,but i tried merging files,shared mode and descriptive ,iwont work.is there any alternative for that
How can i get QTP 9.2 software or any webside where i can download ? can anyone help me out , i want to be expert in QTP ,but i don't have the software
Does QTP supports Linux or Unix OS?.If so which scripting is preferable? Shell we do record and playback
Hi All, I need 5 yrs exp manual and automation testing using QTP sample resume. is there any body having please send me my mail id is bjr@aol.in Tahnks in Advance
What is the difference between a Function and Procedure in QTP?
Can we call a parameter from an action to other action?
what is run-time object property in Object spy in QTP9?
Can I do Game testing with QTP tool