org.sitoolkit.tester.domain.appium.SpinOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sit-wt Show documentation
Show all versions of sit-wt Show documentation
SIToolkit for Web Testing
The newest version!
package org.sitoolkit.tester.domain.appium;
import org.openqa.selenium.WebElement;
import org.sitoolkit.tester.domain.selenium.SeleniumOperation;
import org.sitoolkit.tester.domain.test.Locator;
import org.sitoolkit.tester.domain.test.TestStep;
public class SpinOperation extends SeleniumOperation {
@Override
public void execute(TestStep testStep) {
WebElement element = findElement(testStep.getLocator());
element.click();
switch (testStep.getDataType()) {
default:
findElement(Locator.build(testStep.getDataType(), testStep.getValue())).click();
break;
}
info(testStep.getValue() + "の選択肢", "選択", element);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy