Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Required Error
#5
Solved: 10 Years, 9 Months, 4 Weeks ago
Hi Sankalp,
I am sending the Screenshot of my web table, in that last column i circled it. For that link i am trying to put the Index property. But it is not working.

I am doing following code for row and column count and also the cell data.
Code:
If Browser("Browser").Page("ShipmentLink - Sailing_2").WebTable("Seq_2").Exist(5) Then
a_rows = Browser("Browser").Page("ShipmentLink - Sailing_2").WebTable("Seq_2").GetROProperty("rows")
a_cols = Browser("Browser").Page("ShipmentLink - Sailing_2").WebTable("Seq_2").GetROProperty("cols")
l = 0
  For i = 1 to a_rows
     For j = 1 to a_cols
     If Browser( "Browser").Page("ShipmentLink - Sailing_2").WebTable("Seq_2").Exist(20)Then
     a_celldata = Browser("Browser").Page("ShipmentLink - Sailing_2").WebTable("Seq_2").GetCellData(i,j)
                            End If
         If a_celldata = "Details" Then
Do while Browser("Browser").Page("ShipmentLink - Sailing_2").WebTable("Seq_2").ChildItem(a_rows, a_cols, "WebElement", l).Exist(5)
Set objChildItem = Browser("Browser").Page("ShipmentLink - Sailing_2").WebTable("Seq_2").ChildItem(a_rows, a_cols, "WebElement",l)
objChildItem.Click
l = l+1
Loop
Next
Next
End If


Attached Files Image(s)
   
Reply


Messages In This Thread
Object Required Error - by branjitk - 06-06-2012, 06:13 PM
RE: Object Required Error - by anil2u - 06-06-2012, 07:14 PM
RE: Object Required Error - by branjitk - 06-07-2012, 10:08 AM
RE: Object Required Error - by sshukla12 - 06-07-2012, 10:22 AM
RE: Object Required Error - by branjitk - 06-07-2012, 10:41 AM
RE: Object Required Error - by ssvali - 06-07-2012, 12:14 PM
RE: Object Required Error - by branjitk - 06-07-2012, 12:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  General Object Error(Find Object Error) akhandesh 1 3,432 02-24-2016, 01:05 PM
Last Post: sindhus
  Script required to run any app as administrator kalyan_srirangam 0 2,533 09-02-2013, 08:18 PM
Last Post: kalyan_srirangam
  Error while creating object using description.create object in VB script SarodeGirish 5 5,841 06-19-2012, 05:30 PM
Last Post: ssvali
  Object Required Error rohit330 0 2,654 05-07-2012, 10:16 PM
Last Post: rohit330
  Error: The systemcannot locate the object specified happened alin 3 4,865 12-16-2011, 02:52 PM
Last Post: alin

Forum Jump:


Users browsing this thread: 1 Guest(s)