Forum Discussion

ilovechiku's avatar
ilovechiku
Contributor
10 years ago

Property Transfer and Assertions

Can you use property transfer for assertions as well? I want to assert on a delete testcase. the delete reponse is empty. However,on successful deletion the row is deleted from the table. I have captured the primary key of the deleted row in a scripted Groovy step (star step )above the testcase. How can i transfer this property (primary key of row that was deleted) to reponse?

 

  • nmrao's avatar
    nmrao
    Icon for Champion Level 2 rankChampion Level 2
    When you delete, which type of test step are you using?
    • ilovechiku's avatar
      ilovechiku
      Contributor

      only a groovy step at the moment which is before the test step. Attached is the file and screenshot.

      I havent used property transfer so would be nice to get some pointers.

       

      what will be interesting is if I can use it for Assertions.