Can someone please list the correct EventNames for the FireEvent method for AcxTable. QTP 9.2 Help does not list EventNames for the AcxTable object.
When executing the code below, I receive an error of "Unknown Name" during runtime:
Set fpSpread = Browser("Set Criteria: Select Subsets Intersections").Page("Set Criteria: Select Subsets Intersections").AcxTable("FarPoint Spread")
fpSpread.FireEvent "onClick" 'Error on this line
NOTE: the SelectCell method clicks on a cell in the FarPoint grid. The cell is a CheckBox celltype.
EDIT: should I have used 'onclick' with a lower case 'c' ? Trying this now ...
onclick is a event for HTML not sure it would apply for this as well. I would suggest you to try
and see what methods are there and what will allow you to check the checkbox.
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **
This FarPoint method allows users to 'set' a checkbox cell to a checked state:
Investigating their events now ...
Change or ButtonClicked are 2 events.
Waiting on FarPoint for examples on how to use them.
ButtonClicked is the proper event to use.
Unfortunately, it is not solution I need.
Can u try using this code to check the checkbox in a farpoint spreadsheet...
fpSpread.Type micShiftDwn & micTab & micShiftUp
fpSpread.Type " "
Thanks & Regards
"Quality is not an act, it is a habit."
How to select the radio button in FarPoint Spread - Cell Type is Multioption Cell type.
Please do not change the subject of a post. This is against forum guidelines. Start a new post if the issue is different from this post.
Onward thru the fog...