Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetCellData
#6
Not Solved
Thx inborntester (nice name)

Ok, I have been trying this in different ways, but all I get is an empty cell "" and im not sure why.

The cell has data and i am positive that i found the correct cell as i do ReportName2 = TableObj.GetCellData(r,c) just to find the cell.

I tried the childobjects, but it to returns ""

my code:

Code:
For r = BeginTableCount to EndTableCount
                                    ColCount = TableObj.ColumnCount(r)
                                    For c = 1 to ColCount
                                            'ChildCount = TableObj.ChildItemCount(r, c, "WebElement")
                                             'If ChildCount >  0 Then
                                                    'For k = 0 to ChildCount - 1
                                                                rNumber = rNumber +1
                                                                'Set LinkObj = TableObj.ChildItem(r, c, "innertext:=" & FaxName", k)
                                                                ReportName1 = TableObj.GetROProperty("innerText")  
                                                                ReportName2 = TableObj.GetCellData(r,c)
                                                                If ReportName2 = FaxName Then
                                                                        'absX = LinkObj.GetROProperty("abs_x")
                                                                        'absY = LinkObj.GetROProperty("abs_y")
                                                                                inrtxt=Browser("Fax Request").Page("Page").WebTable("Fax Status").Object.rows(r).cells(1).innertext
                                                                                identifier ="innertext:="&inrtxt
                                                                                a=Browser("Fax Request").Page("Page").WebElement( identifier).GetROProperty("abs_x")
                                                                                msgbox(a)
                                                                        Browser("Fax Request").Page("Page").WebElement("innertext:=" & FaxName ).Highlight
                                                                        Reporter.ReportEvent micPass, "Fax Found: " & FaxName , "The fax: " & FaxName & " - was found in the Fax Status report."
                                                                        Window("hwnd:=" & hWnd).Close
                                                                        Exit Function
                                                                End If
                                                    'Next
                                            'End If
                                  Next
                    Next
End If
Reply


Messages In This Thread
GetCellData - by mv8167 - 02-15-2012, 10:07 PM
RE: GetCellData - by inborntester - 02-18-2012, 08:14 AM
RE: GetCellData - by surya_7mar - 02-19-2012, 09:58 AM
RE: GetCellData - by mv8167 - 02-27-2012, 09:36 PM
RE: GetCellData - by inborntester - 02-27-2012, 09:41 PM
RE: GetCellData - by mv8167 - 02-28-2012, 02:24 AM
RE: GetCellData - by inborntester - 02-28-2012, 08:16 AM
RE: GetCellData - by mv8167 - 02-29-2012, 09:20 PM
RE: GetCellData - by inborntester - 03-01-2012, 10:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  GetCellData not implemented aranucci 4 6,802 01-08-2014, 03:42 PM
Last Post: aranucci
  GetCellData() method ??? sumit_sehgal21 5 29,087 04-22-2013, 07:52 AM
Last Post: basanth27
  error whith getcelldata within actxtable frebuffi 1 2,952 02-27-2013, 03:03 PM
Last Post: Munna.Sarfraz
  Rowcount: getcelldata : compare : click on true result. Please help shamak 1 5,261 02-16-2011, 10:49 AM
Last Post: basanth27
Question RE: Webtable - GetCellData to LocalSheet - another question boludes 3 4,240 01-25-2011, 07:46 PM
Last Post: boludes

Forum Jump:


Users browsing this thread: 5 Guest(s)