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
Does QTP run in any environment?
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
Explain the types of object repository?
How would you directly trigger javascript in a test?
how to explain a claims and insurance project?
Why bpt?
What is synchronization point in QTP?
what is the latest version of QTP? Main difference between 9.2 and 10 version
How many ways we can parameterize data in quicktest professional?
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?
How can you send user defined messages to test report?
How QTP identify the system time that's changes every seconds?
Can you list some technologies that support qtp?
Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.