Newest appium Questions

Q&A for professional and enthusiast programmers

how to test toast messages using appium 1.6.3

I want to verify if a toast message is displayed in android app insutumentation , I am using appium 1.6.3 to do this . I have checked in many links but couldn't find solution , can somebody suggest a ...

How to verify the toast message via appium with uiautomator2?

I have write one app which include one button and it will show one toast message. public void onClickShowToast(View view) { Toast.makeText(getBaseContext(), "Change port successfully", Toast....

Switching between word documents interop

I have created a number of unit tests. At the beginning of each test I create an instance of word. For a certain unit test I need to open a second instance of word however it opens behind the first ...

Why Appium is a node.js application? [closed]

1.Why the appium application in built on node.js. 2.what is advantage of using node.js over other langauges?

Running appium with .bat file

I need some to help me with the below. I am having error each time i run this project. It launches the cmd but fail to run the test. package Automation; import java.io.File; import java.io....

Locate and click element that contains specific text

This question has probably been asked before, but I can't seem to track down its location...But, I am trying to find a way to select an element on screen that has the same 'resource-id' as another ...

Select a webelement that contains specific text

I have multiple elements with the same resource-id (they are all not on screen at the same time), so I need to be able to select them based off of the text they contain. However, part of the text will ...

Enueue failure , Error Domain, Appium unable to identify element

Appium is not able to read elements for particular page, it works fine for all the other pages on the Native iOs App. I was able to get the elements as well(that to with certain workaround) and later ...

How to automate android app in which cellular network is required to process?

Is this possible via "appium" automation testing tool with the help of selenium web driver?

module.js error - when setting up grid for appium on android device,windows machine

Was able to Start - Grid console http://localhost:4444/grid/ And now i need to run the appium scripts on two devices parralley, to do that we need to setup the node, which i am trying to do and i ...

Appium API in Nightwatch Test

Is there a way to use appium commands like setContext within nightwatch tests? I am trying to automate e2e tests for ios devices. I am able to run test and switch to Webview so that elements are ...

click() event is not working in appium android

I was trying to get and click() an element from Arraylist.I can able to get an element but it's not clickable.., here is the code List tabList = (List) driver.findElements(By.id("com....

How to perform scroll in appium 1.6.4 and java client 5.0.0 beta7

Plz provide me possible number of alternatives to scroll down android screen up and down without using swipe method and touch action class. I am not able to perform scroll feature in android app ...

click() event is not working with protractor for safari

I have a protractor script running on desktop (chrome,firefox,safari) and iPhone(safari). Its working fine everywhere except iPhone safari. If we run the script, it will click on a link which will ...

How to automate forgot password scenario in ios real device

Scenario goes something like this Navigate to forgot password page in test app enter email address and tap send button open mail application in iOS device open mail app and open particular mail ...

Appium or Calabash for form filling? [duplicate]

just need an opinion. There is an android app that I want to automate on filling the forms or selecting on comboboxes.Which is best to use, appium or calabash? Soon, I also want to do this with ios. ...

Could not find path to Xcode by symlinks located in /var/db/xcode_select_link, or /usr/share/xcode-select/xcode_dir_link

I am trying to setup appium for ios app testing using php, but when I am tring to execute test scripts vendor/phpunit/phpunit/phpunit SimpleTest.php --verbose I am getting this error: ...

Unable to install an App using Appium

I'm trying to setup and run Appium. I've downloaded all that is needed to run it. Here is the output for Appium-doctor just to prove that: info AppiumDoctor Appium Doctor v.1.4.2 info AppiumDoctor ##...

Ruby/Cucumber: Integration to Jenkins : Bitbucket

NOTE: Jenkins linked to the machine, where all the automation set up is done, and cucumber test steps can be run with the command cucumber flawlessly. I have a repository in bitbucket, and I am ...

Appium java functions calling in alphabetical order. so one function is failed

I was a beginner to Appium.i tried a java code for automate a native app. but my test cases calling in albhabetical order so my function named "EnterLotza"is failing. MY java code is given below and ...

Python automation on Android for long press

I made a code in order to long press the button in my test automation on Android app, but it doesn't press the button at all, what is not correct in here? elif status == "SLEEP ARMED": # ...

Getting error as “Unfortunately we are unable to execute this test suite.” in Xamarin Test Cloud

I have written maven project in java in Intellij and updated POM as mentioned in the link. I have used Appium with Junit. I haven't added below plugin as they were giving error while uploading ...

Using Appium in android studio.

I am new to Appium. I am trying to open a calculator using Appium in Android studio.I have included all the jar files and downloaded the necessary files. I am not sure if the appium server is started. ...

How to configure AWS Device Farm for testing Android native apps like Calculator?

I am new to Appium and I am trying to run manual and automated tests on the AWS Device Farm. While I am trying to 'Create a new run', it wants me to upload an apk file. Create a new run But, when ...

getting error on Intelli j for appium android testing

I am getting this error while running test for an activity for android which I am performing on Intelli J tool, can anybody help me to solve this. /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/...

How to open a Word Document using Appium

I'm fairly new with unit testing and Appium. I want to be able to open a certain Word document using Appium. At the moment I can open an instance of Word however I want to open a certain Word Doc. My ...

How to use predicates with appium python webdriver when only XPATH is available

I migrated all my appium tests to support XCUI (For IOS 10 and above). But I am facing problems when the locator strategy type is XPATH. I use this only when there is no other means of element ...

Is it possible for Selenium to open an Excel Workbook pragmatically

I have created a number of unit tests in C# and I run them using Selenium. I need to open a Workbook for a certain unit test. I'm wondering is it possible to pragmatically open a certain file using ...

Unable to start WebDriverAgent : Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8100

I have an simple automation script for iOS. But it gets launching WebDriverAgent on specified simulator after that producing the given below error [debug] [XCUITest] Unable to start WebDriverAgent ...

how to select each image uniquely in android using appium

Hi i am new on automating mobile apps, some help would be appreciated. i want to select some images from gallery through app, however all the images are having same class name and i can select only ...

In Mobile App automation, Eclipse displayed error “Unable to create new remote session.”

In Mobile App automation, Eclipse displayed error "Unable to create new remote session." Here is my code : public class MyFirstAppiumClass { AppiumDriver<WebElement> driver; @...

Get By locator from WebElement proxy

Is there a way to get the By locator used in the failed attempt to find a WebElement in Java? What I'm trying to do is, at the point where I catch the NoSuchElementException, look at By locator and ...

Can someone let me know the exact steps for configuring appium on mac

I want to test a native app on a real ios device. For now i have installed xcode 8.3, appium server 1.6.4. And i am using mac OS 10.12. i have included webdriver, java client jars on eclipse. public ...

A new session could not be created. Appium

I am trying to open chrome browser by using Appium, here is the code: DesiredCapabilities capabilities = DesiredCapabilities.android(); capabilities.setCapability(MobileCapabilityType.BROWSER_NAME, ...

Appium not clicking on button and Test is passed

I am new in appium. So, i did complete setup and my application launch successfully. But after launching app, No click action is performed on element. Code---> package functionlity; import java....

Android app does not launch in Appium

[TestNG] Running: C:\Users\user\AppData\Local\Temp\testng-eclipse--1898663871\testng-customsuite.xml FAILED CONFIGURATION: @BeforeTest setUp org.openqa.selenium.SessionNotCreatedException: Unable to ...

Unable to launch the App using appium on IOS

I'm trying to run automation script on my app using appium on mac, but the below error keeps showing up: Error launching instruments: Instruments crashed on startup However, the same code and ...

Scrolling script for iOS 10 with Appium java client 5.0.0 and Appium version 1.6.4

Actually I know this will work for iOS 9.3 or below: findElementByIosUIAutomation(".scrollToElementWithPredicate(\"name CONTAINS '" + text + "'\")"); But I want to do it for iOS 10 and looking for ...

Auto detect OS of device in appium

I am using appium_libto automate my tests in both iOS and Android Currently, I am maintaining two suites, one for android seperately and another for iOS. Is there a provision in this cucumber with ...

Appium:Ruby: Load error in the gem

I am having errors while loading this require-relative element. Any ideas how to resolve it? I have tried searching the android sdk, for the following mentioned in the require relative, is there any ...

Can Appium communicate with the app code?

I have a React Native app and I'm using Appium for testing. However there are times where I'd like to have access to more than UI elements. For example, I'd like to know the Redux state and React ...

How to feed appium with right parameters?

I'm trying to connect to Android emulator with a following capabilities: public class SimpleAndroidCalcTest { WebDriver driver; @Before public void setUp() throws MalformedURLException { ...

Appium error:Bad parameters: BadParametersError:..wanted {“required”:[“desiredCapabilities”],“optional”: [“requiredCapabilities”,“sessionId”,“id”]}

My configuration: Windows 10 64bit appium 1.6.4 appium java-client-5.0.0-BETA7 android 5.1 Error messages: [debug] [MJSONWP] Bad parameters: BadParametersError: Parameters were incorrect. We ...

Appium - find element by Xpath

I have one issue which I can't resolve... I'm trying to write automated tests with Appium... We don't have unique elements in our application except Text. As example we have some element which i want ...

How to record a test cases for android in Appium Desktop?

I have successfully installed Appium on my macOs Sierra along with all the necessary tools to run it and I wanted to start recording test cases for android. I have followed this tutorial to do so: ...

Between Eclipse IDE and Android Studio, which is more preferable for appium automation?

Between Eclipse IDE and Android Studio, which is more preferable for appium automation ? Which is more easy to configure with Appium? Which is more advantageous for testing android apps?

Appium:Ruby: Print first 5 elements in listview page iOS

I have a page that is sorted out in alphabetic order which I want to check if it is. For this, I would need to see, if the texts that are present in the page are of alphabetic order. Here, the texts ...

https://dl-ssl.google.com/android/repository/repository.xml” blocked in my company

https://dl-ssl.google.com/android/repository/repository.xml is blocked in my company. so "android SDK manager" not retrieving all packages. how to get the packages without unblocking the above LINK

cant start appium from idea

when i try to start code from idea i got this from idea console Exception in thread "main" java.lang.NoClassDefFoundError: org/openqa/selenium/NoSuchSessionException at io.appium.java_client....

Unable to run virtual box and emulator in Genymotion

I am unable to run virtual box and emulator in Genymotion.I am getting error as "Unable to start virtual devie".To solve this error , I have tried to start "Oracle virtual VM box" as administartor.But ...
Translating... 0%