appium / appium

Cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol
http://appium.io/
Apache License 2.0
18.91k stars 6.08k forks source link

"requires 1 parameters but 0 were supplied in the @Test annotation" exception gets while running the app suite in AWS device farm #9457

Closed DarshanLoga closed 7 years ago

DarshanLoga commented 7 years ago

The problem

The error gets "requires 1 parameters but 0 were supplied in the @Test annotation" while running the app suites in AWS device farm. How to resolve this error?

Environment

Link to Appium logs

https://gist.github.com/Logakarti/6c88ca8849be9df577e888790a081092

Code To Reproduce Issue [ Good To Have ]

@SeleniumTest(assertion= SeleniumTest.AssertionType.HARD, driver= SeleniumTest.DriverType.APPIUMDRIVER) @Test(groups = {"LaunchApp", "PracticeApp", "PracticeAppSmoke"}, priority = 0) public void verifyAppInstalled(Map<String, String> map) { assertThat(appium.isAppInstalled("org.ck12.app.practice")).as("verify app is installed").isTrue(); }

@SeleniumTest(assertion= SeleniumTest.AssertionType.HARD, driver= SeleniumTest.DriverType.APPIUMDRIVER) @Test(groups = {"LaunchApp", "PracticeApp", "PracticeAppSmoke"}, priority = 3) public void verifyJoinWithGoogleID(Map<String, String> map) { assertThat(landingPage.openPage().selectJoin().openPage().signUpWithEmail("Practice Test", "create_new", "true").openPage()). as("verify join with google id").isInstanceOf(HomePage.class); homePage.getHeader().selectRightMenu().openPage().performSignOut(); }

mykola-mokhnach commented 7 years ago

Closed as server unrelated. If you think this is an issue in java lib then please report it to https://github.com/appium/java-client/issues

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.