Forum Discussion

guillaume's avatar
guillaume
Contributor
13 years ago

What does a table checkpoint contain ?

Hi.



I am curious and did not find the answer in smartbear documentation.



The Table Checkpoint file generated by TestComplete is XML.

I am wondering what does the Prp node named "table data" contains explicitly.

It is obvious it's hex. But when I use an Hex to Ascii converter, here is what I get :



aqbinG??????%???x????J?Q???M???e??UAH




Is there a way to be able to get readable source from what might be a binary source ?

What does this binary contains ?



Thanks.



Guillaume.
  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Guillaume,


    Actually, this is not a hexadecimal. That's why, the converter you used didn't give you the correct data. TestComplete uses special encoding for storing internal data.


    What does this binary contains ?


    This binary contains table data used by the checkpoint.


    Is there a way to be able to get readable source from what might be a binary source ?


    Can you please explain me why you need to do this?


    Thanks.

  • Hi Irina.



    Thanks for the answer and the explanation.



    Why do I want to be able to read from this binary sources ?

    Well as I said, I am curious and I like to know everything my program is doing...



    Concerning the table checkpoint, let's say for instance, I want to update a checkpoint.

    I don't have the application running any more and I know that some data have been added in the datagrid content I am testing.



    How can I add a new row in the table checkpoint ?

    Note that I don't want to use the "update" operation. I want to do that outside an execution.



    To solve my problem, I started to look at the Table Checkpoint file generated by TC.

    I found out that the data was stored using some compilation or something resulting in a binary data.



    Thus, I was wondering if there is a way to extract original table data from binary sources.

    In this case, for instance, I could simply add a new line in the XML data node and expect TC to handle additional information.



    In our team, we have already implemented several custom checkpoints or on-screen-action using the scripts extensions mechanism.

    We are also planning to to something similar as TC TableCheckpoint for Web HTML table purpose (similar to grid).

    I was somehow expecting to be able to inherit TableCheckpoint and make it compatible for us.



    Best regards,



    Guillaume.






  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Guillaume,


    I got your point. Thanks for the explanation. I've registered your suggestion in our DB.


    Thank you :)

  • Hi again.



    So I guess there is no solution for my problem so far ?



    Guillaume.
  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Guillaume,


    I'm afraid, no. However, I've created the corresponding feature request in our DB, and our development team will consider its implementation in the future.