<holmos-configuration> <testdata-folder>/testdata</testdata-folder> <report-folder>/reports</report-folder> <driver-type>Selenium</driver-type> <driver-path>/path/to/driver</driver-path> </holmos-configuration> public class LoginFlow extends Flow { @Test public void testLogin() { Action loginAction = new Action("Login") .input("username", "testuser") .input("password", "password") .submit(); Assertion loginAssertion = new Assertion("Login Result") .expect("success"); addActions(loginAction); addAssertions(loginAssertion); } } java -jar holmos-automation.jar -c holmos-config.xml -f testcases.xml


上一篇:
下一篇:
切换中文