Forum Discussion

najes's avatar
najes
Occasional Contributor
6 years ago
Solved

Script to change global update option for Table checkpoint?

Refer to this documentation: https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/tables/updating.html

The 2nd method allow us to change the update behavior to update the current table's data instead of verifying the table's data. But seems like I need to change it manually.


Is there a script to change this Table Checkpoint global update option(verification/update data)?

  • If you're asking if there is a script interface to change that option, the answer is "no".  Currently, that option to turn on or off updates for checkpoings is not exposed to script code.

2 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    If by 2nd method, you mean updating at runtime, you only need to set the Update Table Elements option and then then the table will be reset next time you run the test.  

    • tristaanogre's avatar
      tristaanogre
      Esteemed Contributor

      If you're asking if there is a script interface to change that option, the answer is "no".  Currently, that option to turn on or off updates for checkpoings is not exposed to script code.