| || |
selecting checkbox in swftable cell
env: Application(.net 2.0, c#), QTP 9.5, test advantage 2005 vol 3
how to check or uncheck a checkbox in a swftable cell.
set obj= createobject("Mercury.DeviceReplay")
x = SwfWindow("Console").SwfTable("grdItems").GetROPro perty("abs_x")
y = SwfWindow("Facility Charge Console").SwfTable("grdItems").GetROProperty("abs_ y")
''i got these 18 and 27 by low level recording and mouse pointer moving to checkbox position
''this is where I am getting the error "wrong number of arguments or invalid property assignment: obj.mouseclick"
SwfWindow("Console").SwfTable("grdItems").click x+18,y+27 is also throwing the same error.
am I doing any wrong..? or are there any new ideas to select checkbox in swftable.
note: It's not infragistics grid
I found the below thread when I searched for this
Re: selecting checkbox in swftable cell
when i record it normally,
it is recording as winobject
Window("Console").WinObject("WindowsForms10.Window .8.app.0.").Click 18,27
if i repeat this statement, it actually clicks on the check box is not consistant, don't know when it will click