loop on three test does not stop

Solution Available
Anthony B.
Baltimore, MD

Sep 15, 2011
6 Posts

1  |  0  

loop on three test does not stop

I place this code under Procedure and called it looptotest1. The code loop does not work when

! else
  ! test 1  is  uncommented.  How can I loop on test 1 to test 3 for  .5 min or any given time. I appears

Tick()-Time is always zero while running the code.



Time=Tick()

repeat


print "Tick()"
print Tick()

print "Time"
print Time

print "time1"
print Tick()-Time

print "time1"

print  time1
Delay(1000)
if Tick()-Time > 30000 then

  exittest


! else
  ! test 1   !repeat test 1 to test 3 for .5 minute

    endif


until Tick()-Time > 40000



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]