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 / 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 |
Post New Answer View All Answers
Tell some commonly used Excel VBA functions?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
What is Test Fusion Report in QTP?
What is clean sweep?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
What are the types of object repository in qtp?
Write a QTP script to enter a keyword in to Google search engine?
Discuss quicktest professional (qtp) environment?
Hi Samrat, Thank u very much, what u said it is right.
Why qtp always start action1 and does not start action?
Hello friends..... On which areas of an application we can not test with QTP
What are the differences between table and db checkpoints?
How to define array in qtp?