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?
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