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

page object file has become too large

My page object file has grown to over 5000 lines. I have arranged the file into classes such as login_screen, landing_screen, profile_screen, settings_screen, and so on. I am considering splitting the file to into multiple files by moving each class…
Dondada
  • 11
  • 1
1
vote
2 answers

Getting error while running Appium on Mac

Getting below error while running Appium Encountered internal error running command: Error: Cannot verify the signature of '/Applications/Appium Server…
1
vote
0 answers

How to perform 'sendKeys' or any keyboard interaction mechanism in a smartwatch(WearOS) through Appium?

I was trying to automate a scenario using Appium, where User will enter something in 'Google Keeps' app installed in a smartwatch (WearOS), which will be synced and validated in 'Google keeps' app installed in a smartphone. While I was trying to…
BongCule
  • 115
  • 1
  • 2
  • 9
1
vote
0 answers

Appium Inspector Not Working Unable to inspect the element in ios 15.3.1

Iam using xcode v-13.2 appium version 1.21.0 and iPhone XR v-15.3.1 not able to open appium inspector pls help!!!! terminal code- Last login: Fri Feb 25 01:09:02 on ttys000 taniya@Anus-MacBook ~ % cd…
anu nema
  • 11
  • 2
1
vote
1 answer

Appium Test Connection Refused

I'm trying to run this simple test on Appium on an android phone that's supposed to open a calculator application but I keep getting errors. This is the code I've written : package appiumTests; import java.net.MalformedURLException; import…
1
vote
0 answers

Send data from @Parameters and @dataProvider annotations to the same test method simultaneously

I am trying to send some parameters from TestNG XML to the test method and at the same time, that test method receives the data from dataProvider to implement various combinations of email and passwords The problem that I am facing is that when both…
1
vote
1 answer

How to scroll left/right using karate appium?

I'm not able to scroll with Karate appium. My native app only shows half of the grid, i need to scroll all the way to the right, and click the button. I have tried all the friendly locators, mouse operations, special keys. Not moving at…
1
vote
0 answers

Special Characters are getting displayed when trying to identify webelements using pageobject class or test case class

I have tried identifying web elements by writing a page object class and defining all the web elements locators in that class and using them in my test java class but was not able to use them. I am mentioning the code along with the error message…
1
vote
0 answers

Snapshot max depth doesn’t work after upgrading to react native 0.6.3

Snapshot max depth doesn’t work after upgrading to react native 5. Using latest react native libraries (Before react native 5), was possible for us to locate elements using snapshotMax depth as capability. Can you please help me to solve this…
1
vote
3 answers

How to use actions or do scroll in app in Java?

TouchAction is deprecated. Any pointers for new usage to do vertical Scroll? Below code used. But not working as TouchAction is deprecated. Dimension dimension =driver.manage().window().getSize(); int start_x=(int) (dimension.width*0.5); int…
mittalri
  • 21
  • 3
  • 7
1
vote
1 answer

QAF | Not able to connect to ExperiTest or pCloudy with appiumDriver but I can connect only with appiumRemoteDriver

I'm using switchDriver('appiumRemoteDriver') & switchDriver('chromeRemoteDriver') to connect between Web and mobile within the same scenario. I'm not able to use switchDriver("appiumDriver") / switchDriver("iosDriver") /…
Renish
  • 165
  • 6
1
vote
1 answer

Appium gets too slow while testing React Native app

I am testing a React Native app using Appium in Python. This is the first time seeing that the app responds too slow with Appium but works completely fine while testing manually. Any idea on how to improve speed of tests?
Umer Saeed
  • 63
  • 4
1
vote
1 answer

how to get the apk path of an app on an android emulator?

i've tried to get the apk with apk info of youtube, i found: APK directory - /data/app/com.google.android.youtube-1/base.apk but this doesn't work with robot framework appium. it says that: An unknown server-side **error** occurred while processing…
1
vote
1 answer

How to connect to a proxy to get different IP Address on Android Virtual Device using Appium?

I am trying to make my mobile application go through a proxy so that I can have a different ip address. Below are my attempt and it's not working. It's still giving me my own Ip address. How can I make my Android application go through appium server…
Meng Kry
  • 11
  • 2
1
vote
1 answer

Android mobile: scroll performed properly, but scroll not stopping on corresponding lookup value defined against selector arguments

In Appium (android) I am using mobile command mobile:scroll to scroll, based on this reference. Scrolling is working perfectly, but not not stopping on corresponding lookup value defined against selector arguments. Code @AndroidFindBy(uiAutomator =…
DeepakVerma
  • 179
  • 1
  • 3
  • 14
1 2 3
99
100