New answers tagged

0

Some factors have to be considered before choosing a language. The current language being used by the company for development: If an organization has everyone using C#, then that should be the ideal language to use. Introducing a new language isn’t easy better to use a language that QA testers are already comfortable with. Developer support for the ...


0

Straight forward Answer: As Appium is a cross-language tool for mobile automation & it's independent of product language developed. you can use any language listed below. Ruby Python Java JavaScript PHP C# I am not able to decide which language should I use with Appium to automate this app. But the answer to this question is not straight forward: ...


0

If you are specifically mentioning as you want to click on the first button no matter the text, then I would go List concept @FindBy(xpath = "//XCUIElementTypeButton") private List<MobileElement> button; button.get(0).click();


0

iOS doesn't support NetworkConnection, so to turn off wifi, you can open the Control Center, you can do that with public static void openControlCenter() throws InterruptedException { new TouchAction(DriverConfig.getInstance().getDriver()).press(point(250, 735)).waitAction(waitOptions(Duration.ofSeconds(3))).moveTo(point(250, -460))....


1

Hope you are using Pom.xml to add dependencies.if that is the case check you have added bellow dependencies apart from appium dependencies. <dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-remote-driver</artifactId> <version>2.44.0</version> </dependency> if you still ...


0

You can instantiate driver like as given below: public static AppiumDriver <MobileElement> driver; if (Platform_Name.equalsIgnoreCase("ios")) { driver=new IOSDriver<MobileElement>(new URL("http://127.0.0.1:4723/wd/hub"), capabilities); else { driver=new AndroidDriver<MobileElement>(new URL("http://127.0.0.1:4723/wd/hub"), capabilities); ...


Top 50 recent answers are included