Questions tagged [appium]

An open-source test automation tool for use with native and hybrid mobile apps

From appium.io:

Appium is an open source test automation tool used for automating native,web and hybrid mobile applications. It drives iOS and Android apps using the WebDriver JSON wire protocol.

As per Appium 1.6.0 release, Windows desktop application testing joins the functionality list.

It provided a very helpful functionality for locating the elements. This is provided by Appium Inspector.

The basic goal for Appium is that you should be able to reuse code between platforms, and test on different programming language (Java, Javascript, Ruby, Python etc.), as mentioned before it leans on WebDriver implementation to achieve this.

Appium is basically an REST api server written in node.js which main purpose is to listen/receive command(s) from client (iOS, Android, hybrid, web), and execute them depending on platform.

After executing commands server receives respond back and return it to client.

Please read the documentation and tutorials.

For additional help, please use the following resources:

7754 questions
1
vote
1 answer

How do I automate pressing enter after sending keys into an element?

I am trying to: Input a string into a search bar and press enter to search for it. I have already successfully sent the string into the search bar using context.app.home_page.el_search_bar().send_keys("My String"). I'm still searching for a way to…
krisc
  • 95
  • 1
  • 10
1
vote
0 answers

aqualityServices.Browser.GoTo("http://Localhost:4723/wd/hub/sessions") is not working when BrowseName is using 'edge'

Does anyone familiar to the 'Aquality Selenium for .NET'? to automate an a web-based site/Windows application (in conjunction with WinAppDriver)? So far, from what I have been left with, (meaning someone created this framework and has left the…
1
vote
0 answers

Appium Inpector showing XCUIElementTypeAny instead of XCUIElementTypeCell

In a table view, there is a list of Cells we have applied accessibility IDs for that list but when I inspect it through Appium inspector it is showing XCUIElementTypeAny instead of XCUIElementTypeCell and inside the Cell, all child element is also…
1
vote
2 answers

Catch ElementClickInterceptedException in Selenium with C#

I'm trying to catch a ElementClickInterceptedException in C#, but it apppears I'm doing something wrong since it doesn't go to the catch code line when I get that exception while debugging. Strange thing is that if the test runs normally, it doesn't…
Leo1989
  • 23
  • 3
1
vote
1 answer

Unable to create Appuim driver session despite having latest chrome driver and slf4j dependencies

I have the latest chrome driver installed, which fixed the issue for others that have encountered the same error. I am new to using Appium. here is the error: Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Could not start…
1
vote
2 answers

Error: "ts-node/esm/transpile-only 'resolve'" did not call the next hook in its chain and did

Getting this error when run the test using npx wdio command. How to resolve this issue. Error: "ts-node/esm/transpile-only 'resolve'" did not call the next hook in its chain and did not explicitly signal a short circuit. If this is intentional,…
Masud Rana
  • 23
  • 1
  • 3
1
vote
1 answer

How to reach appium server from android emulator

Within a ReactNative android application, I want to detect a running appium service (an end to end server) so my app knows that it is currently running e2e. From within my android emulator, to reach my localhost, considering Android emulator use…
Dimitri Kopriwa
  • 13,139
  • 27
  • 98
  • 204
1
vote
1 answer

It doesn't always scroll to the same place, Appium Android

I am using the following method while scrolling android. but It doesn't always scroll to the same place, even though it's on the same page. what would be the reason. public void ScrollToCampaignNotice(){ try { …
1
vote
1 answer

Xcode 65 error while running Appium Inspector

I'm facing this error while running Appium Inspector: Failed to create session. An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed…
Opal Lavi
  • 11
  • 2
1
vote
2 answers

Specifying localhost when connecting to Appium server through TestComplete

I am trying to connect my computer running TestComplete to a different computer running an Appium server. Currently, I am finding the IP address of the Appium computer via Settings -> WiFi -> Details -> IP Address. Then, I throw this address into…
1
vote
0 answers

How to stop pytest test execution for all the scripts when certain condition occurs?

I am running my python selenium test script in parallel using pytest. I want to stop entire test suit execution if certain condition becomes true in any of the test case? Do we have any functions or methods to do so? I tried with sys.exit(),…
1
vote
1 answer

ERROR @wdio/runner: Error: Failed to create session. [0-0] Unable to connect to "http://localhost:4723/"

ERROR @wdio/runner: Error: Failed to create session. [0-0] Unable to connect to "http://localhost:4723/", make sure browser driver is running on that address. jule@Ahmeds-MBP implement_typescript % npm run android.app > automation@1.0.0…
1
vote
0 answers

Getting 'Empty' screenshot while running 'Android Emulator' in 'headless' mode

I'm trying to run my Appium code in 'Android Emulator' in 'Headless' (-no-window) mode. And I'm facing the issue that screenshots stop working properly and return empty images. Although they work fine when running Emulator with UI (without the…
Dofamin
  • 31
  • 4
1
vote
0 answers

How to perform CPU throttling on mobile app performance testing

I'm using android Google Pixel 4 device and I want to check mobile app performance on different CPU level. Example: Use Case 1: I want to calculate the my app launch time When the CPU usage on device is about to 30%. Use Case 2: I want to calculate…
ArrchanaMohan
  • 2,314
  • 4
  • 36
  • 84
1
vote
2 answers

Failed to create session. An unknown server-side error occurred while processing the command. Original error: 'app' option is required for reinstall

I need your help. I want to connect the device locally (not an emulator). enter image description here But I stopped at this problem that I can't solve.enter image description here
Kosta
  • 11
  • 1
  • 3