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 |
What types of testing comes under functional testing or in other word what will you test in functional testing?
What is the disadvantage of smart identification?
How to import a test case present in ".xls" file to TD under a Test set?
What is difference between QTP 8.2 Obect Repository and QTP 9.2 object Repository?
what is run-time object property in Object spy in QTP9?
Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"
How many add-ins comes by default with qtp?
How can we change the .mtr file to .tsr file and vice-versa
how to check URL using QTP? write vb script with descriptive programm only?
How the QTP recognize, handle n reports that a error has been handled by it(QTP) when we perform a recovery scenario in our application n in what manner it will display it in resulting window? Plz help me out.
What's QuickTest Window?
How To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar