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
61 views

Appium - test scripts are not executing on new activity

I am performing a sign in operation on the Android application using appium test scripts. The test scripts doesn't execute the lines of code related to the new activity. It works on debug mode or ...
1
vote
1answer
405 views

Sometimes Appium clicks on some buttons with a very long delay (on some views)

While testing by appium (using python), it clicks on some buttons with a very long delay on some views in my android app. Method, which I am using: def click_element(self, element, time=wait_time): ...
2
votes
2answers
4k views

How to login with http proxy using selenium

I'm using Selenium and Appium to run my java project in Android mobile. I'm trying to execute on Chrome browser and everytime it runs, it asks for proxy credentials (username and password), this is ...
0
votes
1answer
258 views

Executing appium test on kobiton device

I'm running some of my Appium test cases which are written in c# under .net platform on a real time device which is attached to my workstation. Below is my code and it works fine. public void ...
1
vote
1answer
43 views

Appium Automation Test code development - Assertions for all the intermediate pages

I came across a native mobile application testing framework where if suppose user registration involves navigating to 5 screens, then the validation (assertions) for the field labels and properties (...
1
vote
0answers
149 views

Invalid Version: android-4.2.2 error on appium

An exception of type 'System.InvalidOperationException' occurred in WebDriver.dll but was not handled in user code Additional information: An unknown server-side error occurred while processing the ...
1
vote
2answers
178 views

Starting a new Appium project, need guidance

I'm starting a new Appium project to test a native mobile application on both Android and iOS, and need some guidance. So far I've found it's very confusing - there are so many options out there, and ...
2
votes
1answer
369 views

Appium Desktop won't open for Ionic App

I am currently trying to automate an ionic app using Appium and Python. I have the Appium Desktop version 1.7.2 installed. However, if I try opening any ionic app using Appium Desktop, it hangs at ...
3
votes
1answer
538 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea it to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com ...
0
votes
1answer
2k views

Unable to start Appium server

I'm using Appium for mobile automation,as soon as i click on start, within no time the server gets ended, it displays below error : Launching Appium server with command: C:\Program Files (x86)\...
6
votes
2answers
619 views

Performance for WebDriver vs AndroidDriver vs iOSDriver

I initially wrote a few selenium scripts to test my web application. The scripts use RemoteWebDriver call for initialising web driver. I now wanted to run the same scripts to test the web application ...
0
votes
1answer
1k views

How can i write automation code in appium to test facebook login by mobile app? [closed]

I have an Android mobile app. which provides facility to login in this app using Facebook but while automating this page, I'm not able to tap continue button which comes after entering username and ...
3
votes
2answers
190 views

Verify if selenium tests are running on real devices or emulators

If I use any cloud provider (eg SauceLabs, AWS Device Farm etc) for testing my native android and iOS apps, is there a way to determine if the test was being run on a real device or an emulator. I ...
2
votes
2answers
365 views

Is there any way to capture HTTP request and response in automation?

I am using TestNG framework to automate mobile application. I want to capture endpoint url.
0
votes
4answers
6k views

how to scroll layout in appium?

I have below code : MobileElement mb = (MobileElement)configuration.driver.findElement(By.className("android.widget.ScrollView")); JavascriptExecutor js = (JavascriptExecutor)configuration.driver; ...
0
votes
3answers
5k views

findElement is not working in Appium on Android

I am trying to click on display button in Settings app. But "findElementBy.." statement is not working, Sometimes I get 'nullpointer exception' or 'no such element exist' exception and some times test ...
0
votes
1answer
943 views

How to test mobile browser link directed from app in Appium?

In a test written in Appium, I have a scenario where clicking on android button redirects to the website. I want to check whether the site URL is valid or not. How is it possible to test the link?
0
votes
1answer
456 views

Unable to tap on Search on android keyboard using pressKeyCode(int) method

I am a beginner in Appium automation. The application I am testing, have this scenario where I need to tap on Search button from the native keyboard. I have tried with pressKeyCode method but getting ...
1
vote
2answers
6k views

Showing error - “Returned value cannot be converted to WebElement: {ELEMENT=1} ” in appium using java

I have below configurations : Javaclient : java-client-5.0.2 Selenium : 3.0.1 Java : 144 Appium v1.4.16 This is my code : package com.metatag.poc; import io.appium.java_client....
1
vote
2answers
118 views

Is there any courses or tutorials for Appium Automation?

I was wondering if anyone here know some courses or tutorials to set up and start to use Appium, I want to use it on my Mac to do automation tests on iOS and Android. I have already looked at the ...
3
votes
2answers
474 views

iOS Mobile App Testing on Windows

I am taking my first dive into testing a mobile app. It will be available to iOS and Android. I've been searching for a way to test and automate iOS without having an actual iPhone or any other Mac ...
1
vote
4answers
5k views

What is the difference between selenium vs appium webdriver?

When exploring automation for Android with running appium server, I noticed using selenium webdriver my code works fine. In a previous example, I saw appium driver for ios automation. So what is the ...
2
votes
1answer
365 views

Automating Embedded Webviews in a MAC OSX Native application

I have a MAC OSX native application. Some of the screens in this application is using Webviews. My specific requirement is to automate this view using Selenium. Questions that I have: Is it really ...
1
vote
0answers
353 views

How to handle browser language notification in android using appium?

I was trying to automate a website which is in german. But when I run the test on android device using chrome browser, language translator notification appears. Can anyone let me know how to handle ...
2
votes
0answers
993 views

Drop-down not working with safariDriver on Safari 10

Getting below error while accessing drop-down Using Safari 10 mac sierra with apple `safariDriver` Selenium Version 3.0.1 org.openqa.selenium.WebDriverException: An unknown server-side error ...
3
votes
2answers
2k views

How to create android Emulator using command line

I have done it using Android studio On android professional site commands are not clearly mentioned There is lot of confusion Below is the following command: android create avd -n -t --skin ...
5
votes
2answers
350 views

What are my options in testing iOS devices, for free?

I am very new to ios automation test and I plan to use Appium and selenium grid for parallel tests. according to apple, when testing it in a real device i have to have a developer id which costs 99 ...
1
vote
0answers
94 views

How to extract adb dumpsys response for validation?

I need to validate few status of the android device. Can any one let me know how to extract the information from adb dumpsys and validate the responses using Java. Your help is much appreciated. Ex: '...
3
votes
1answer
332 views

How does appium work on parallel tests?

I am new to mobile app testing. I am trying to understand how appium works. Basically i need to run tests parallel in both android and ios. But the scripts are written in C#. How would this be ...
1
vote
0answers
229 views

How can i get GPS current status in Appium

I do some testing with appium with ad Android Application. I want to know if i can get gps current status, if gps is in use in that instant or not. I don't want know if gps is enable or disable.
2
votes
1answer
533 views

What are “-windows uiautomation” selectors?

In the WinappDriver for Appium, I have the following method on WindowsElement: FindElementsByWindowsUIAutomation() I have searched for documentation on what this selector is and can do, but I hardly ...
0
votes
3answers
2k views

Appium - why does XPath not work (at all / as expected)

Consider my below test code for Appium (WinappDriver). As far as I know, these two locators should be equivalent. Yet the second one fails because the element cannot be found. Is there any reason ...
2
votes
1answer
439 views

Unable to run tests for Appium on Visual Studio 2015 due to Timeout

I am trying to run my script on Appium and I always fail tests because of an error on my unit test: Test Name: Addition Test FullName: AppiumTest2.UnitTest1+BasicScenarios.Addition Test Source: ...
0
votes
2answers
2k views

Macaca App-Inspector + Appium + iOS : How to fix “Error: connect ECONNREFUSED 127.0.0.1:8001”

Question: I am trying to launch an iOS app using app-inspector. It's failing and I can see error Internal Server Error on webpage baseURL. Getting below error: Error: connect ECONNREFUSED 127.0....
4
votes
0answers
284 views

How to resolve “Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65”? [closed]

Environment: iOS version : 10.2.1 Mac iOS Version : 10.12 [macOS Sierra] Appium : 1.1.0-beta.2 Question: Background : I am trying to automate iOS app. I followed process to setup required for iOS ...
0
votes
1answer
288 views

Appium 1.4.13 How to resolve error: Could not detect Mac OS X Version from sw_vers output: '10.12 ']?

Environment : macOS Sierra, Appium version 1.4.13 (Draco) I am not able run appium. Please help, How to fixed this issue? appium doctor has not worked. Error : info AppiumDoctor ### Diagnostic ...
1
vote
1answer
1k views

Unable to press and move slider to desired position in a React Native android app using appium

I am using TouchActions class in Appium to press and move the slider to a specified position.The problem that I am facing is that on some pages the slider works fine and I'm able to initiate touch ...
0
votes
1answer
2k views

How to scroll in an Android app with Appium 1.6.4 in C# with windows?

I am trying to scroll in an Android App but I'm getting an error. Code : Dictionary<string, string> scrollObject = new Dictionary<string, string>(); scrollObject.Add("direction", "down"...
2
votes
3answers
583 views

Android application not launching with Appium

I have downloaded the latest Appium Desktop to inspect the different elements for automating an app. I was able to launch the calculator app on my Android phone but was unable to launch an app that I ...
0
votes
2answers
576 views

XPath of an element keeps changing when testing in different OS or device

Me and my team sometimes experienced this issue when testing one Cucumber feature in: different version of Android and iOS different device with same OS version. This really slowing us down ...
1
vote
4answers
652 views

Why does element.displayed? throws exception instead of boolean false?

Here's snippet of my code while (!$driver.find_element(:xpath,element2).displayed?) $driver.find_element(:xpath,element1).click() end for some reason element.displayed? throws this exception: ...
0
votes
1answer
294 views

How to auto scroll Appium Server Console log at bottom

Problem : I used to view/analyze Appium server Console logs during any test cases execution. But the problem is Appium server console always Auto scroll to top which result hiding latest logs. I have ...
0
votes
2answers
3k views

Appium automate a select an item from list

I am working in appium and My app is a hybrid app it is coded with angular js. I have scenario to automate. A page opens liks select date -> today, tomorrow and pick a date <div class="item item-...
1
vote
2answers
154 views

Appium couldn't identify the locators

Now I'm in stuck, because identify the locators I want to click on the google map info window . I tried to do linktext but the linktext not working as expected. it shows an error like org.openqa....
1
vote
1answer
366 views

Appium cannot get to automate a particular field why?

I'm working in appium. It couldn't get automate a enter password field. Only issue is enter password field login button click is working fine .I tried by using with xpath, cssselector and also ...
1
vote
1answer
818 views

Appium hybrid app could not identify the locators

I am trying to enter a mobile number for our app. Still got error my android version is 4.4.4 This is the screenshot .This is a hybrid mobile app. I took Mycode: AndroidSetup public class ...
2
votes
0answers
138 views

How to Identify accessibility in Android Hybrid App?

I'm working in appium with page object pattern. public class LoginPageObjects { @CacheLookup @AndroidFindBy(accessibility = "") public MobileElement mobno; @CacheLookup ...
1
vote
2answers
9k views

Appium is get an error “unable to create new remote session”

I'm Working in appium. previously, my code doesn't work in above 5.o WheN I changed its working fine. android version. driver = new AndroidDriver(new URL("http://192.168.1.2:4723/wd/hub"), ...
2
votes
0answers
256 views

Duplicate annotation Error in appium

I'm working in appium in ubuntu pc .There is a duplicate annotation error in my code public class ChainViewPageObjects { @AndroidFindBy(className = "android.widget.ScrollView") @...
2
votes
2answers
860 views

Scrolling in Appium

I am automating a Tablet application using Appium + Java. In a screen, I have 100+ fields (Textbox + Dropdown) to automate which has scroll view. To automate those 100+ fields, I have listed down ...