Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working with Web Table
#1
Not Solved
I have a web table where I am trying to get the value from a cell A (weblist) based on the another cell B (WebEdit).

For Example:
If cell B value = "Working" then i want to get the cell value A.

Problem:

I can't retrieve the data using getcell data (rowno,colno). It's showing blank. I am trying something like given below. Can you please help me get the code corrected?

Code:
Set Table=Browser("browser").Page("page").Frame("frame1").WebTable("Status")
        a = table.RowCount
        For Iterator = 0 To a-1

            Set Table=Browser("browser").Page("page").Frame("frame1").WebTable("Status")
            Set Desc = Description.Create
            Desc("micclass").value="Weblist"
            Set Childobj=Table.ChildObjects(Desc)
            Childobj(Iterator).Highlight
            StrStatus = Childobj(Iterator).GetRoProperty("value")
                If StrStatus = "Working" Then
                     Set Table=Browser("browser").Page("page").Frame("frame1").WebTable("Status")
                     Set Desc = Description.Create
                    Desc("micclass").value="WebEdit"
                    Set Childobj=Table.ChildObjects(Desc)
                    Childobj(Iterator).Highlight
                     C = Table.GetRowWithCellText(StrStatus)
                     D = Table.Getcelldata(C,9)

                 End If
Next
Reply


Messages In This Thread
Working with Web Table - by Ilayaraja - 05-26-2018, 01:28 PM
RE: Working with Web Table - by Ankur - 05-26-2018, 05:12 PM
RE: Working with Web Table - by Ilayaraja - 05-27-2018, 10:45 AM
RE: Working with Web Table - by Ankur - 05-27-2018, 09:34 PM
RE: Working with Web Table - by Ilayaraja - 05-28-2018, 12:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Set method not working for web number object Qtp_bunny 1 2,066 06-14-2018, 05:00 PM
Last Post: Ankur
  Retrieve row number from web table amilar 1 2,977 06-20-2012, 09:15 PM
Last Post: Surya
  SAPLIst within a table is not working lakshjai 1 5,684 02-18-2011, 02:19 AM
Last Post: shailendra.pathak
  Right Click on menu in Web Table brijesh_shivnani 1 3,992 04-12-2010, 10:31 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)