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 |
Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)
Explain different type of event trigger option.
how can i impliment error handling in QTP?
What are the methods used in UFT to handle exceptions or run-time errors?
what is the use of Text output value in Qtp?
Is there any MS Access addin in QTP?
How to test login module with different username and password by using data driven testing in QTP?
How do you perform testing on web based application using qtp 9.2?
1.how can we report the QTP test result in a different excel sheet 2.
I want to learn QTP Online, where can I get quality training?
what is frame work?
what is a file system object in QTP