QTP rollback & commit

GGrimm@pcc-structurals.com GGrimm@pcc-structurals.com
Thu, 17 May 2001 14:35:52 -0700


     I'm looking for a way to easily do a commit or a rollback in a 
     dynamically run QTP based on a visual review of the run statistics for 
     "reasonableness". Anybody have an idea how?  I have seen QTP do a 
     rollback when "badness" happens so know there is a way:=) I've tried a 
     COMMIT at RUN and then done a Ctrl Y which sometimes causes an abort 
     but nothing much happened. 
     (PowerHouse  8.13.D3)/Oracle 8.0.5.0.0/HP-UX B.11.00
     See my simple code:
     
     > access *TA_one  link to TIME_ATTEND link to TIME_ATTEND_2
     Access TIME_ATTEND viaindex TIME_ATTEND_EMPLOYEENO_1.
     Access TIME_ATTEND_2 viaindex TIME_ATTEND_2_PK.
     > output TIME_ATTEND delete
     > output TIME_ATTEND_2 delete
     > go
     
     Executing request 1 ...
     
     Records read:
       TA_ONE                    1
       TIME_ATTEND             134
       TIME_ATTEND_2           134
     
     Transactions processed:   134
     
     Records processed:      Added  Updated Unchanged  Deleted
       TIME_ATTEND               0        0         0      134
       TIME_ATTEND_2             0        0         0      134
     
     Finished.