Forum Discussion

vthomeschoolmom's avatar
vthomeschoolmom
Super Contributor
14 years ago

table checkpoint

I have a grid in my application under test. The grid is a TrueDBGridPro 8 from Component One. It is bound to an XArray object (DataMode = 4. storage). I am trying to do a table compare, which I *thought* from the help file was only comparing grid to grid. In my checkpoint wizard, I selected object compare. The next dialog asks to clarify the verification action. I select Verify contents of a tabular control whose description is "Select this item if you need to check the contents of a control that displays information in a tabular form (tree view, grid, list box and so on).



Well YAH that is exactly what I want.



I select retrieve data from an object. Give stores table a name. Click Next

Use the finder tool to select the grid. Click Next

And receive an error that "The selected object has no data to store."



There does not seem any other type of checkpoint that would work here. Help please.

2 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    Most likely the grid type that you're using is not a supported control for the table check point.  Can't say for sure as I don't use the table checkpoints (yet).



    What you might want to try is, instead of a table checkpoint, use an Object checkpoint where you're storing off the properties of the object and comparing them.  You can selectively choose those properties that you want to compare and, IIRC, most grids have some sort of property that corresponds to the content data.



  • Hi Lane,





    Robert is right, the target grid control is not supported. You can find the list of the controls you can use for table checkpoints creation here.

    Try using the approach Robert recommended. If it does not work for you, please send us a sample application demonstrating the target grid control, we'll try to find a way to verify data the grid contains.