07-23-2008, 05:27 AM
I have the following steps in my application…
a) go to login page ,give user id and pwd ‘successfully able to login
b) 2nd page is search page … enter the search item and click on submit then
based on the search item the display Link in the same page varies
now if I click on this link will take to corresponding page.
If my search word is housing it will display as ..
If my search key is real estate then it will display as
How to parameterize the the link name eg:- Housing and construction/Real Estate in the above statement
I tried using below…
Did gave me an error when I change Str=”Real Estate” saying not able to recognize the object
Please can anyone have some solutions how to handle this problem
need it very urgent
Thanks
Navya
a) go to login page ,give user id and pwd ‘successfully able to login
b) 2nd page is search page … enter the search item and click on submit then
based on the search item the display Link in the same page varies
now if I click on this link will take to corresponding page.
If my search word is housing it will display as ..
Code:
Browser("XYZ: Login").Page("abcPage").Link("Housing and construction").Click
Code:
Browser("XYZ: Login").Page("abcPage").Link("Real Estate").Click
I tried using below…
Code:
Str = “Housing and construction”
Browser("XYZ: Login").Page("abcPage").Link(""&Str).Click
Please can anyone have some solutions how to handle this problem
need it very urgent
Thanks
Navya