Questions tagged [appium]

Appium is an open source test automation framework for use with native, hybrid and mobile web apps. It drives iOS and Android apps using the WebDriver protocol.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 views

Page object implementation for Winapp Driver

I am using Winapp Driver to control a windows desktop application using java. The automation runs fine but I am looking for a way to implement the Page object model. This is what I am using at the ...
0
votes
0answers
20 views

Appium Desktop cannot start an App installed via Microsoft InTune

I'm using Appium Desktop 1.12.1. I want to start a new session and use Inspector. I have a business app that is usually installed via MS InTune. Essentially InTune means I have two categories of app ...
0
votes
1answer
20 views

Appium :Click on capture image button of inbuilt camera in mobile app. is it possible?

Appium(Android) :Click on capture image button of inbuilt camera in mobile app. is it possible?
0
votes
0answers
14 views

Does Xamarin.UITest require a server to be running like Appium?

I am researching the pros and cons of Appium vs Xamarin.UITest for my company's new app automation effort. I know Appium requires a server to be running before the test is executed; does Xamarin....
1
vote
1answer
25 views

Appium(Android Mobile) : Click button using X Y coordinate(if can't find ID or Xpath)?

Appium(Android Mobile) : Click button using X Y coordinate(if can't find ID or Xpath)?
3
votes
4answers
40 views

Can't find the element of a toast message because it disappears immediately

I am trying to add an assertion on the shown toast message in my scenario, Is there a way to stop the screen to find the element of a toast message?
2
votes
1answer
33 views

Appium : Best way to automate e-Signature scenario using Appium?

How to Automate e-Signature? I am trying to automate e-Signature scenario for iOS and android application. Anyone implemented same using Appium? Workaround : I tried to automate e-Signature using ...
0
votes
1answer
28 views

How to switch the driver session between mobile and webbrowser sessions

Here i have a scenario to test the following iam posting some content from the web channel and want to cross verify the same in the mobile app version vice versa
-1
votes
1answer
72 views

Remote Session does not start from Selenium script to emulator but same Desired Capabilities works fine from Appium to emulator

For some reason when trying to start a Remote Session with Selenium scripts with Desired Capabilities for an Android emulator I get and error saying org.openqa.selenium.SessionNotCreatedException: ...
0
votes
1answer
26 views

Unexpected error while executing my appium code on android emulator

Error "An unknown server-side error occurred while processing the command. Original error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and ...
0
votes
1answer
93 views

How to fix No internet/Internet not working for android emulator on windows 10?

Issue I am facing : I have created new AVD from Android Studio (AVD Manager) but the emulator does not have internet. I tried opening www.google.com still "No Internet Connection" displayed. If ...
0
votes
1answer
19 views

Need selector to get all elements in IOS Appium?

I have this code that works where driver is of type IOSDriver<IOSElement> string selector = "type == 'XCUIElementTypeButton'"; foreach (var elt in driver.FindElements(MobileBy.IosNSPredicate(...
0
votes
1answer
18 views

React-native & Appium: is there a way to run tests without rebuilding the app?

I have set up e2e tests for my React-native app with Appium. I'm able to launch them, but for every change I make I need to rebuild the app. Isn't it possible to run the tests on the application ...
0
votes
1answer
34 views

Appium-based framework for testing desktop app (not web)

Anyone had experience in automating desktop applications (not web)? I need an Appium-like solution to integrate it with my mobile automation (written on Appium, Java). Our company has a messenger ...
2
votes
0answers
272 views

I have been struggling for more that a day to fix the Duplicate class given when running my android project for automation

Error: Duplicate class org.openqa.selenium.SearchContext found in modules jetified-java-client-7.3.0.jar (java-client-7.3.0.jar) and jetified-selenium-server-standalone-3.141.59.jar (selenium-server-...
0
votes
1answer
60 views

Launching Twitter through Appium on a real device results in an error

I've just started using Appium with Python and I'm running into trouble when trying to launch the Twitter app. I have tried to launch the play store by typing: adb shell "dumpsys window windows | ...
1
vote
0answers
39 views

There is a way to identify font type in an Android app? (Python, Appium)

Here is the deal: i'm testing an android app and the client wants us to test font types, sizes and colors. Using Appium's explorer i'm able to see the objects properties (such us: text, enabled, etc) ...
0
votes
0answers
18 views

Interacting with OAuth 2.0 elements using Appium in C#

I'm trying to write tests that interact with an Android application. We recently moved to OAuth 2.0, in which the application moves to a separate custom tab with a web view. I tried to use Appium ...
0
votes
2answers
46 views

Run appium scripts without using Eclipse or any IDE

I developed appium scripts for my Android app in Eclipse and using this IDE to execute. But I wonder there's any way to run appium scripts on other PC without installing Eclipse or any IDE. I also ...
0
votes
0answers
17 views

read otp from seetest mobile application and paste to continue with login process in web application

I am using cucumber and configure appium and seetest to run web application on mobile browser, i want to check otp that is sent via my application to mobile number (on seetest device number which is i ...
2
votes
2answers
389 views

Appium finding an element that need to be scrolled into view

I am testing a mobile application using Appium + Selenium + Java. I have a page who contains several elements with the following ids: field_1 field_2 field_3 bouton_1 When I open the page. The ...
0
votes
1answer
39 views

NullPointerException error in POM code

Setup Class public class Setup { private static AndroidDriver driver = initializeAppiumServer(); public static AndroidDriver initializeAppiumServer() { if (driver == null || ...
1
vote
2answers
61 views

What is the approach to create a framework that should handle both Web and mobile app automation cases

I have an application which has web and mobile app (hybrid). Test cases are same for both but locators and actions are different. I would like to create a single automation framework that can handle ...
0
votes
1answer
352 views

Appium Inspector find element with the path but appium for java doesn't

I'm testing a mobile app using appium + selenium + java I have an element that I'm trying to find (in order to click on later) by using an xpath. Here is the xpath: //android.widget.TextView[@text='...
0
votes
0answers
18 views

Can python Appium detect truncation of an application's UI element text?

If there a way with Python and Appium to detect that the text displayed for an element in an application has been truncated? I found a reference to using ui_element.value_of_css_property("text-...
0
votes
1answer
51 views

Trying to use xpath in order to select a text on desktop web browser [duplicate]

This is the error I am getting below: selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="select-input-...
3
votes
2answers
266 views

Nested explicit wait does not work in Appium

For example, I'm sending a message. While it's being sent to the recipient it has the resource-id "pending_indicator". When it is delivered, it has the resource-id "delivered_indicator". So, I'm ...
1
vote
1answer
308 views

How to select a dropdown value in Selenium WebDriver using Java appium?

I am new to Selenium, currently am working on selenium webdriver. I want to select a value from the drop-down. But I am not able to do it because of some error. Also, I want to inform you that in my ...
0
votes
1answer
54 views

Find element within another element using explicit wait

I have the following code: List<MobileElement> messages = driver.findElements (By.id ("body_bubble")); //find all messages MobileElement lastMessage = messages.get (messages.size () - 1); //get ...
0
votes
2answers
60 views

Count all elements with the specific resource ID on the scrollable view

Here is the question. How can I count all the elements with the resource ID body_bubble on a scrollable view ? When I use the driver.findElements (By.id ("body_bubble")).size() method, it gets only ...
0
votes
1answer
148 views

Not able to run application through emulator in mac

Code: public class AppDAta { public static URL url; public static DesiredCapabilities capabilities; public static AndroidDriver<AndroidElement> driver; //1 @Test ...
0
votes
0answers
80 views

Appium loses app on iOS when adjusting date

I'm looking for information on why Appium "loses" the application under test when changing the date in the iOS date picker. Using Appium with Python 3, I start an app with these capabilities: { "...
0
votes
1answer
419 views

Cannot find an element with Xpath in Appium

I'm new to Appium. Sorry if the question is duplicated, but I did not find the solution. I have a problem - I cannot locate an element using Xpath, but I have no problems locating it using the ID ...
0
votes
1answer
46 views

I'm getting so many errors when updating the Appium dotnet driver, is there any way to fix them?

I just updated my Appium dotnet driver from 3.0.0.2 to 4.0 and I got so many errors and warnings on the code. My major concerns are that it says Driver.tap, Driver.swap are not available and it's ...
1
vote
0answers
73 views

Android app get forcely closed just after the splash scree - Appium C#

I have create a small test script to open a app and fill some data at the screen. This test works fine with android 5 on Appium server 1.4.16.1 But no I need to run the same test script on a android ...
0
votes
1answer
1k views

Running an Android emulator on a Azure VM - I'm getting some errors while starting the emulator

Below is the error I'm getting. So how am I supposed to access BIOS on a AZURE VM? Or is there any other alternative ways for emulators? My ultimate goal is to run Appium test on a android emulator....
1
vote
1answer
42 views

Having trouble automating Android testing with Appium

I'm trying to automate Android testing using Appium. What I want to do is like: My Test Suite: Test case 1: Starting from Activity A Do something Test case 2: Starting from Activity A Do something ...
0
votes
1answer
261 views

Selenium TestNG - java.lang.NullPointerException in automation testing

I am trying to test the login function to my android app. But it displays an exception error java.lang.NullPointerException. Code as follows: package tests; import java.io.IOException; import java....
0
votes
1answer
66 views

How to generate Excel test report from Appium with mocha chai?

I would like to generate a simple test report in Excel. My automation is using Appium with chai mocha, and successfully reports the results of my 2 test cases to the command line. How can I send ...
2
votes
2answers
236 views

Is paid Apple Developer Account needed to run Selenium Appium Automation tests on real apple devices like iPhone or iPads?

So I am working on a project which comprises of the software web application, built on Python 3.7. Currently, it supports pc and mac platforms only with various browsers, and we have automated it ...
0
votes
0answers
79 views

How to call driver in Javascript Webdriverio Appium test

In the Webdriver.io and Appium docs they mention using the driver object to perform tasks (like launching an app) but I don't know where or how to use this object. I tried writing it in the test (as I ...
0
votes
1answer
44 views

Running test suite setup once in every node of Selenium Grid

I am testing an application which would require to configure it into dev mode before test execution. (set the application to point into dev backend instead of live) The configuration itself is ...
1
vote
1answer
81 views

Is there any way to get around the multi factor auth in mobile test automation?

I have an app that would ask me to enter a verification code from a received SMS. How do we get around that or if there is any mechanism to enter the code at all? This is an automated UI test using ...
0
votes
2answers
1k views

Permissions error trying to run Appium test on Android

I am not able to run my automation testing with Appium server using Eclipse with Selenium. The error I get is: Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to ...
0
votes
0answers
47 views

How to resolve inconsistent Appium Desktop versions and update messages?

If I go to appium.io I find a download link at github.com/appium/appium-desktop for stable 1.13.0 at https://github.com/appium/appium-desktop/releases/ There also exists a github.com/appium/appium ...
0
votes
0answers
76 views

Injecting test data into testcases from async functions through NUnit TestCaseSource attribute

I am creating a test automation framework in C# with NUnit, and I want all my testcases to run with a clean user. Fortunately, developers have already implemented a REST API which accepts POST ...
0
votes
0answers
150 views

Getting Appium integrated with BrowserStack behind a proxy

I'm trying to get Appium WebDriver integrated with BrowserStack, using C# behind a corporate proxy server and am having trouble. I'm using CNTLM due to the proxy server, so am trying to point Appium ...
0
votes
1answer
50 views

With appium which language will be compatible when application is built on dot net?

My application is built on dot net and I want to automate the application using Appium tool. I am not able to decide which language should I use with Appium to automate this app. Considering this is a ...
0
votes
0answers
206 views

Cannot instantiate class tests.LoginPageTest

package tests; import java.net.MalformedURLException; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.testng.annotations.AfterTest; import org.testng....
1
vote
2answers
67 views

Can not choose button with the same name (Windows)

The problem I have two buttons with the same name in Windows program. So I do: "self.driver.find_element_by_name("button name").click()" - it selects the first one, but I need the second one. I ...

1
2 3 4 5 6