Forum Discussion

Ascendum_Soluti's avatar
Ascendum_Soluti
Occasional Contributor
13 years ago

Deleting Data in a TearDown Script

I am know usinf vers. 4.5.0.

I need to use the test case TearDown script to remove data added to a database during the test case. I know this should be doable, but I am having trouble finding the information. Please let me know where if this can be done, and if so, where can I find the documentation for it? If it is not documented, please explain it to me.

Bill Bachelder
  • Hi,

    The easiest way to delete the data would be by using a JDBC TestStep. If it really needs to be done as a teardown script, you will have to manually send the SQL using Groovy SQL or similar.

    Regards,
    Dain
    SmartBear Software