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
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What contains Data Driven Framework document in qtp?
Suppose I want fail that check point? How can you do that?
Describe how Smart Identification is used
Explain the concept of object repository and how QTP recognizes objects?
In qtp, explain what is qrs file?
How many types of run modes are there in qtp?
What is the basic concept of quicktest professional (qtp)?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
how can i call function (which has link with excell sheet at a remote location) within another function
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.