Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tests pre or post actions
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
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,
Reply
#2
Solved: 10 Years, 9 Months, 2 Weeks ago
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.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [UFT] Fixed web tests with dynamic parts jdd 3 2,446 04-05-2016, 02:56 PM
Last Post: vinod123
  How to call Actions from other Actions Naresh 1 7,707 09-25-2014, 10:26 AM
Last Post: vinod123
  Why do we need dot net framework as a pre-requisite for installing qtp? esatysh 1 4,404 08-29-2013, 02:24 PM
Last Post: Ankur
  Run Button is not available in QTP 11 - while running tests from QC 11 Kannan R 0 1,769 08-13-2013, 08:15 PM
Last Post: Kannan R
  cannot open QTP tests learnasugo 8 8,764 10-18-2012, 11:28 AM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 1 Guest(s)