Menu

how to set the delay time while recording?

Help
yibowang
2006-06-01
2013-04-09
  • yibowang

    yibowang - 2006-06-01

    I've used with </record> flag to record. But when I replayed it, the replay ran too quickly.

    How can I set e.g. sleeptime(to set the delay-time between two gui events) in XML file before recording?

     
    • Grenie

      Grenie - 2006-06-06

      I'm not sure but i think sleep(milliseconds) could work.

       
    • yibowang

      yibowang - 2006-06-06

      Perhaps I can also set the Java-VM-parameter to be "-Ddelay=200" like "-Dabbot.robot.auto_delay=200" in Abbot. But how can I set it, "-Ddelay=200" or "-Djfcunit.robot.auto_delay=200", or ...? Has some one idea for this?

       
    • ERuis

      ERuis - 2007-03-07

      I tryed with 'sleep' and was informed that a 'duration' attribute was missing...
      So, you can delay playback using
            <sleep duration="1000"/>
      Duration is in milliseconds.

       

Log in to post a comment.