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


Please Help Members By Posting Answers For Below Questions

what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

1640


am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)

1278


Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay

2659


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1444


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1627






How will you test a stapler?

592


Can any suggest me what is exposure testing?

1376


How you will rate urself in QTP in the range of 0 to 5

1743


can any one say that where we can download the QTP trail version ??????????

1358


What are the advantages of parameterization ?

592


What is the registration process and examination fees?

549


How can get count of list box?

631


can any body give the banking domain concepts/links

3633


How do we analyze the checkpoint results?

578


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

649