Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search and click on URL
#5
Not Solved
Hi Kobita,
Thank you for trying to help me. This is how the script look -

Code:
Browser("Officeworks | Office Supplies,").Page("Officeworks | Office Supplies,").Sync
Browser("Officeworks | Office Supplies,").Page("Officeworks | Office Supplies,").WebEdit("query").Set "PPS142380"
Browser("Officeworks | Office Supplies,").Page("Officeworks | Office Supplies,").Image("Search").Click 32,6

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
    objWeblink(0).click
    end if
    
Browser("Officeworks | Office Supplies,").Page("Officeworks | Office Supplies,_2").Link("Pack Post Send Envelopes").Click

But, when i run the script i get an error "The "Officeworks | officesupplies," browser object was not found in the object repository. Check the boject repository to confirm that the object exists or to find the correct name for the object."

Do I have to create object repository? I dont have any.

Cheers
Z
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)