02-02-2015, 08:07 PM
Hi,
I'm using UFT 12.01 to test a .NET application.
I need to instruct UFT to check a checkbox that is inside a table cell. Can you please help me?
I tried many things..
I tried to record the action, but UFT didn't recognize the check box in the cell. The recorded action was:
I also tried with the description object:
but there aren't child objects.
I tried to "Navigate and Learn", but no check box object was acquired. Same with ObjectSpy.
So, I'm stuck..
Thanks
Sara
I'm using UFT 12.01 to test a .NET application.
I need to instruct UFT to check a checkbox that is inside a table cell. Can you please help me?
I tried many things..
I tried to record the action, but UFT didn't recognize the check box in the cell. The recorded action was:
Code:
swfwindow().swftable().SetCellData(row,column)
I also tried with the description object:
Code:
Set oDesc = Description.Create
oDesc("Class Name").Value = "SwfCheckBox"
Set oObjs = SwfWindow().SwfTable().ChildObjects(oDesc)
For i = 0 to oObjs.Count - 1
x = oObjs(i).GetROProperty("swfname")
print x
Next
but there aren't child objects.
I tried to "Navigate and Learn", but no check box object was acquired. Same with ObjectSpy.
So, I'm stuck..
Thanks
Sara