SourceForge has been redesigned. Learn more.

problem in using 2.0.3

  • Aanchal Gupta

    Aanchal Gupta - 2010-04-14

    My scripts are not working in 2.0.3.
    There is an error when i execute the other press method!!

    The exception comes up at this line:
    press("HOME", "3500");

    Pls tell how to correct this error!!!

    Here are some of the error-logs:

    java.lang.IllegalArgumentException: Syntax error in parameter 'wait': Can't evaluate expression ''.
    Execution finished, exit code is PASS (0) Exit timeout set to 2 seconds, starting to count down…
    at com.tplan.robot.scripting.AbstractJavaTestScript.runScriptCommand(
    at com.mypackage.TestClassWhichIsNotWorking.test(
    Caused by: com.tplan.robot.scripting.SyntaxErrorException: Syntax error in parameter 'wait': Can't evaluate expression ''.
    at com.tplan.robot.scripting.TokenParserImpl.parseNumber(
    at com.tplan.robot.scripting.TokenParserImpl.parseTime(
    at com.tplan.robot.scripting.commands.impl.PressCommand.validate(
    at com.tplan.robot.scripting.commands.impl.PressCommand.execute(
    at com.tplan.robot.scripting.AbstractJavaTestScript.runScriptCommand(
    … 5 more

  • Robert Pes

    Robert Pes - 2010-04-15

    The press() method is indeed broken. The bug is caused by a typo in the parameter population code.

    I filed the issue as 2987624. Since I consider this a high priority issue, I'll release a new build (2.0.4) within a day.

    Thanks for reporting the issue!

  • Aanchal Gupta

    Aanchal Gupta - 2010-04-15

    Thanks for the new release.
    Will be waiting for it…   :)

  • Robert Pes

    Robert Pes - 2010-04-15

    Just released.

  • Aanchal Gupta

    Aanchal Gupta - 2010-04-19

    My scripts work with the new version…
    Thanks :)


Log in to post a comment.