com.github.siwenyan.si.SiCommandExecutorElse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of side Show documentation
Show all versions of side Show documentation
Java runner of Selenium IDE project
package com.github.siwenyan.si;
class SiCommandExecutorElse extends SiCommandExecutor {
@Override
public void execute(SiCommand command, SiContext siContext) throws SiVerifyException {
SiCommandIf cIf = (SiCommandIf) command.getPairInFront();
siContext.getReporter().reportMessage("cIf.getIfTrue(): " + cIf.getIfTrue());
if (cIf.getIfTrue()) {
SiCommandEnd cEnd = (SiCommandEnd) command.getPairInBack();
command.getSiTest().setCursor(cEnd.getIndexInTest());
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy