Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UFT - Check a checkbox inside a table cell
#1
Not Solved
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:

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.. Sad

Thanks
Sara
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SAPLIST is not recognised inside SAPTable mann 0 1,246 02-26-2018, 11:24 AM
Last Post: mann
  Handling Object Repositories dynamically inside For Loop danny2012 3 4,043 07-13-2012, 02:00 PM
Last Post: danny2012
  Declaring Extern in QTP to call a DDE function inside a DLL **SOLVED** ramuk 1 3,431 06-07-2012, 07:57 PM
Last Post: ramuk
Exclamation Objects inside Pop up window not recognised. falvi 12 10,648 04-12-2012, 11:26 AM
Last Post: falvi
  get color of string in cell of a java table brijesh_shivnani 2 5,976 04-10-2010, 06:23 PM
Last Post: brijesh_shivnani

Forum Jump:


Users browsing this thread: 2 Guest(s)