Package jp.vmi.selenium.rollup

Examples of jp.vmi.selenium.rollup.IRollupRule


    @Override
    protected Result executeImpl(Context context, String... curArgs) {
        String rollupName = curArgs[ARG_ROLLUP_NAME];
        String kwArgs = curArgs[ARG_KWARGS].trim();
        Map<String, String> kwArgsMap = parseKwArgs(kwArgs);
        IRollupRule rollupRule = context.getRollupRules().get(rollupName);
        if (rollupRule == null)
            return new Error("No such rollup rule: " + rollupName);
        CommandList commandList = rollupRule.getExpandedCommands(context, kwArgsMap);
        commandList.setLogIndentLevel(context.getCommandListIterator().getLogIndentLevel() + 1);
        Result result = commandList.execute(context);
        return result == SUCCESS ? new Success("Success: " + rollupRule.getName()) : result;
    }
View Full Code Here

TOP

Related Classes of jp.vmi.selenium.rollup.IRollupRule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.