Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search and click on URL
#4
Not Solved
Sorry, DP >> Descriptive Programming
Add these lines after your second line i.e, after search action
Code:
set Ldesc=Description.create()
Ldesc("micclass").value="Link"
Ldesc("name").value="Officeworks.*"
set objWebLink=Browser("Officeworks | Officesupplies,").Page("Officeworks | Officesupplies,_2").ChildObjects(Ldesc)
If objWebLink.Count>0 Then
' As i am seeing the link with that name is only one on the page, i am using 1st link to click  as:objWebLink(0)
objWebLink(0).Click
End If
Reply


Messages In This Thread
Search and click on URL - by Z_Melb - 10-21-2010, 08:31 AM
RE: Search and click on URL - by KavitaPriyaCR - 10-21-2010, 09:52 AM
RE: Search and click on URL - by Z_Melb - 10-21-2010, 10:46 AM
RE: Search and click on URL - by KavitaPriyaCR - 10-21-2010, 11:10 AM
RE: Search and click on URL - by Z_Melb - 10-22-2010, 03:23 AM
RE: Search and click on URL - by KavitaPriyaCR - 10-22-2010, 09:58 AM
RE: Search and click on URL - by Z_Melb - 10-22-2010, 10:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CyberArk CorePAS REST API to search for accounts pramod 0 843 06-29-2023, 03:11 PM
Last Post: pramod
  Search All Test scripts For a Function? AndyBSG 1 2,735 02-19-2015, 04:15 AM
Last Post: supputuri
  Right Click On a Image and Click on a Link in WebElement RameshKrishnan 4 5,415 07-10-2013, 04:13 PM
Last Post: RameshKrishnan
  Search for a string in all the files under all subdirectory Mahesh27 1 2,206 07-03-2013, 03:24 PM
Last Post: Sathiya
  Testing Search box kriday 1 2,531 06-26-2013, 08:51 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 8 Guest(s)