Forum Discussion
5 Replies
- nmraoChampion Level 3
Abit of confusing.
1. Why asserton step without even calling the request?
2. Can't be using predefined assertion which is part of requestion step (without the existing step)?
If you have expected values varies for each row, then use custom propeties to have the row data saved and assert each test against custom property. This way, predefined assertion can be used instead of adding and removing each time.
- sonya_mSmartBear Alumni (Retired)
- HimanshuTayalCommunity Hero
lively629 : I think i got you correct, you are doing this to make generic according to your framework, ince i did this i place certain condition in my excel sheet and according to data i add or delete the assertions
If i am right then what you can do is place blue code in Controller/Main Groovy script of your framework.
but if i am wrong then please elaborate more.
- Nastya_KhovrinaSmartBear Alumni (Retired)
Related Content
- 2 years ago
- 6 years ago
- 3 years ago