Comment #2 on issue 618 by laurent.carbonnaux: Java long and Long parameters are passed as BigInteger
http://code.google.com/p/robotframework/issues/detail?id=618

My method expect for one argument as String and two arguments as a long, but receive a BigInteger.

Here is a copy of the keyword code

    @RobotKeyword("Wait until shell with given text is active\n"
                + "or the optional timeout is reached (millisecond).\n"
+ "The optional interval is the delay between evaluating the condition after it has failed (millisecond)\n\n"
            + "Example:\n"
+ "| Wait Until Shell Closes | This is the shell text | 500 | 0 \n")
    @ArgumentNames({"text", "timeout", "interval"})
public void waitUntilShellIsActive(String text, long timeout, long interval) throws Exception {
        SWTWorkbenchBot bot = SWTWorkbenchBot.getSWTWorkbenchBot();
                ICondition condition = Conditions.shellIsActive(bot, text);
                waitUntil(condition, timeout, interval);
    }

Reply via email to