![]() |
|
tests pre or post actions - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: tests pre or post actions (/Thread-tests-pre-or-post-actions) |
tests pre or post actions - gerfred - 07-23-2010 Hi, is there any way to add before test or after test actions (reloading test environment such as cookies cleaning for browser, database content reloading, ...) in order to have persistant conditions. or does it mean to add QTP action at test begin and/or test end in each QTP test regards, RE: tests pre or post actions - Ankur - 07-24-2010 For a given script initial and final condition should be the same if you want to iterate over it. The tasks that you mentioned can always be done with the help of a ini file (or may be as a first action) using commands like WebUtil.DeleteCookies and ADODB for database. |