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
1
vote
1answer
840 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
139 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
259 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
870 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 ...
1
vote
1answer
1k views

Running Appium test on a MAC with c#

Im little bit good at c# and not at JAVA , So is there any way to write Appium scripts on a MAC using c# ? My target is to make some automation scripts to test an android and iOS build which ...
1
vote
1answer
662 views

Appium TestNG error : Attempting bi-dialect session, assuming Postel's Law holds true on the remote end

I'm trying to launch a simple web application test using Appium, using AVD. I'm using eclipse, and the android studio emulator. I included all the packages. I would like to make sure about the ...
2
votes
2answers
2k views

Select an element in Appium

In this activity, I have 5 Text Views with same resource-id. How can I select the first one with Java client Appium automation? Is there any way to use resource-id and index combination. I expect a ...
0
votes
1answer
2k views

Left or Right swipe not working in appium for android application

I'm trying to swipe right to left from the first content(there is no content at left hand side) or Left to Right So far I'm using below, but it's not working. public void swipeRightToLeft() { ...
1
vote
1answer
482 views

How to long press on android record button(during chat) for a particular time duration in appium test, by java

How to long press on android record button(during chat) for a particular time duration in appium test, by java. I have tried 3 ways but all are not working, those are: Way 1: By pressRecBtn = By.id(...
0
votes
1answer
521 views

Different context name for webview in Hybrid Android App test through Appium

While testing Hybrid android app in Appium, a change of context from NATIVE to WEBVIEW is expected. But, the name of the WEBVIEW context does not remain same at all instance of testing. However, it is ...
2
votes
1answer
1k views

Appium stuck after context change from native to webview

I am testing a Hybrid Android app - Tubemate in Appium. I'm using the following configuration: selenium-java = version 3.0.1 appium java-client = version 4.1.2 chromedriver = version 2.19 Android = ...
1
vote
2answers
2k views

Difference between calabash and appium [closed]

Currently I'm working with mobile testing. I want to automate our mobile app. So I found some tools are appium and calabash. I want to know the difference between both and which tools is most people ...
1
vote
1answer
75 views

I have got an error when installing appium

I am working with appium and installed idea intellij, android sdk, appium. when I run uiautomatorviewer naveen@naveen-Inspiron-3542:~/Music/android-sdk-linux/tools$ uiautomatorviewer ...
4
votes
2answers
481 views

Setting appium to run test on iOS device

Please help me for my setting in appium, I cant launch and display appium inspector on ios, but my setting for android already working and fine use macOS- Sierra appium 1.5.3 iphone iOS 10.2 ...
2
votes
1answer
2k views

How to save Appium logs to a local text file?

I am using Appium to automate all my test cases related to IOS device using Java, Logs are currently displayed on Appium app itself. I want to save them in a text file so that i can check error after ...
0
votes
1answer
118 views

Access Android application via Appium in the middle of Ranorex test suit

Im using Ranorex for automating a Android application. In the middle of a test case flow application loads a google map and plot some data, Ranorex is failing to access the google map. So im thinking ...
2
votes
1answer
442 views

Getting Errors When Running Appium Script In Python [closed]

So I'm running into this error when I try and run my script. Appium is running and tried with both the simulator running on and off. Is there something missing I'm not seeing? Script: import ...
1
vote
0answers
736 views

Not able to open url during script run in real device on ios 10.2 with Appium 1.6.3, Webview timeout issue [closed]

Environment Appium Verion => 1.6.3 JDK => 8.0 ios => 10.2 Xcode => 8.0 Appium Console Error Last login: Wed Dec 28 12:05:16 on ttys002 test1:~ vbsmac$ appium -p 4727 [Appium] Welcome to Appium ...
4
votes
2answers
4k views

Unable to scroll and click, as element is not visible in selenium with native android mobile application

I am working with selenium 2.53 , Java 1.8 , Appium 1.5.3 for automation of Native mobile applications. Now i have a condition where length of page is too large and i have to click at the bottom of ...
1
vote
1answer
349 views

Appium: Cannot use Inspector to record GUI steps of Android app on Windows 7

I'm trying to use Appium inspector for recording manual GUI steps. But, I'm not even getting the option like record or anything else when I start inspector. Note: I'm capable of inspecting the ...
1
vote
0answers
262 views

Passing IWeb element to Implicit wait function

I'm following Page Object Model on my test suite. I have below method to wait for an element. public void WaitTillCssSelector(string elemantName, int TimefromSeconds) { ...
2
votes
5answers
1k views

Appium: Same code is working Sometimes and failing Sometimes

I'm using the following code to run a simple test. The same code is working sometimes and returning error sometimes. The error it will return is "Not able to find UI Element". This is my code: ...
0
votes
2answers
500 views

Device emulator-5554 is not online - while executing my appium code on android emulator

[Error: An unknown server-side error occurred while processing the command. (Original error: unknown error: Device emulator-5554 is not online Im getting above error when at the middle of the test ...
1
vote
0answers
43 views

Which test method is running/executing at the moment?

I'm on Appium with C#, I have 60 test methods written on different classes. I'm running the tests via Visual Studio test explorer. When I click run all test button at the "Test explorer" it will ...
0
votes
1answer
60 views

Never ending loop on element availability / visibility

I have written below code to make test script wait till some of my elements get loaded. But what if, that element will never get loaded? That means if TopWorkOrderCard.Displayed will never get ...
0
votes
3answers
6k views

How To Locate Element using selenium web driver when Unique property is 'index'?

How To Locate Elements using selenium web driver when only Unique value is 'index'? Resource-id,Class and Package are not unique. Below Layout taken from Android UI Automator Resource-id = android:...
0
votes
1answer
591 views

Android ADB error for Appium

The Android Debug Bridge (ADB) error below is given when running application on Eclipse. How can I fix this? Checking if an update is available Launching Appium server with command: C:\Program ...
1
vote
4answers
7k views

How can I switch ON/OFF AIRPLANE mode and wifi using Appium?

How can I switch ON/OFF AIRPLANE mode and wifi using Appium ? Selenium has below option: NetworkConnection mobileDriver = (NetworkConnection) driver; if (mobileDriver.getNetworkConnection() != ...
0
votes
1answer
1k views

I got error when running appium script in eclipse

Showing below error while running appium script: Nov 10, 2016 6:27:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Attempting bi-dialect session, assuming Postel's Law holds ...
2
votes
0answers
303 views

Java + Appium + iOS [mobile] : How to fix error “Error: spawn ios_webkit_debug_proxy ENOENT”?

I am trying to automate web app on iPhone using Mac. Executing webkit debug proxy for automation on iOS platform. I am facing below issue: RUNNING: ios_webkit_debug_proxy events.js:141 throw ...
1
vote
3answers
2k views

Not able to install appium with npm. Failed at the appium-chromedriver@2.9.2 install script 'node install-npm.js'

I installed Appium 1.6.0 on Mac OS 10.12 via 'sudo npm install -g appium' but it gave me an error when I launched the inspector. So I decided to reinstall it without sudo, since I read it might be the ...
2
votes
2answers
370 views

Close a one windowHandler at the Webview

I am writing scripts to automate a hybrid application. On my app I have two windowHandles. For example, after performing some actions when I execute below code I get "2" windows as the windowHandles ...
0
votes
1answer
447 views

How can i install ipa on iPhone device having version 10?

When i install ipa on real device having version 10 appium gives the error. nfo: [debug] [INSTSERVER] Instruments exited with code 253 info: [debug] Killall instruments info: [debug] Instruments ...
2
votes
1answer
7k views

Appium: How to tap or click at a X/Y co-ordinates

My screen size is (800, 1280) I have determained the screen size using: Dimension size = driver.manage().window().getSize(); Now I want to tab at a given coordinates of the screen so can anyone ...
1
vote
0answers
166 views

Appium Upgrade to 1.5.3 : How to resolve “Permission denied” error?

Small issue: I am opening one file on mac programatically. But I am getting error of Permission denied How can I resolve this error & grant permission?
1
vote
0answers
350 views

Appium + Java + Android + Mobile browser [Chrome driver] : How to switch from android app to mobile browser?

I am automating android app. My env is - Mac, Appium, Java + TestNG Scenario: Click on button Its will redirect user on mobile browser Login in browser How to automate above scenario? The core ...
2
votes
3answers
221 views

iOS QA automation tool - clicking on system settings

Is any iOS automation framework able to go to system settings and check some settings ex click on wireless networks ? I really need some automated interacting . Is appium able to do that ?
0
votes
1answer
350 views

Switching to webview fail in Android on Mac OS

I have a problem while switching from native view to webview in Android while testing on MAC OS. But the same scripts works fine in windows. In Mac it gives chrome not reachable as a webdriver ...
1
vote
1answer
164 views

How can we separate logs in Appium for each test script?

I have written a script where I'm calling all the necessary test cases. Appium is generating its own logs, which I can store in a text file. But the problem is that the logs for all the scripts are ...
1
vote
2answers
109 views

To write the reason for exception in excel

I'm using Apache POI for excel operation. I'm able to print what exception it is in excel by writing a print statement in that particular catch() block. But I also want the reason for that exception.....
1
vote
1answer
835 views

Selenium/Appium + Java : What is the real difference between methods .isDisplayed() and .isEnabled()?

While writing a code many time any of them get failed. How actually those methods work? Please great if you can help to stop confusing between those two. Q - What is the real difference between ...
0
votes
1answer
47 views

Will android 5.0.1 sdk package work for android 5.0.4? [closed]

I have Android 5.0.4, so which Android SDK package do I need to Install? There are two Options available in Android SDK Manager ANDROID 5.1.1 ANDROID 5.0.1 My Device : 5.0.4
0
votes
0answers
2k views

Android + Appium : How to select date/value from datePicker or NumberPicker?

How to handle NumberPicker or DatePicker using Appium? I am not able to select value. If you use Xpath its also not working :( How to select date/value from datePicker or NumberPicker?
5
votes
2answers
11k views

Can appium be run on windows to test iOS app?

Can I use Appium to test iOS app on Windows 7? Actually I have planned to test an iOS app, but i do not have the mac machine, will I need xcode to use appium for iOS app?
1
vote
1answer
716 views

Switching to Webview context fails

I was trying to automate tests for a hybrid app, while switching, it only shows name native context. WebView Context is shown as webview_undefined. Set<String> contextNames = driver....
1
vote
2answers
5k views

Appium + Android Camera : How to automate android camera scenarios using Appium? Any work around?

I'm trying to automate an Android test on a real device using Appium in which I have an App that in order to complete a registration will ask the user to take a Selfie, so when the user clicks this ...
1
vote
2answers
364 views

Is Android SDK required to test Android APK using Appium?

My question is simple , I am using Eclipse IDE Is it required to install Android SDK to test/run Android app on real device using Appium?
1
vote
1answer
710 views

Java + TestNG - How to resolve ”has a @Test annotation but also a return value: ignoring it. Use <suite allow-return-values=”true”> to fix this”

I execute tests, while I observed ”has a @Test annotation but also a return value: ignoring it. Use to fix this” and execution terminated. [My Env - Java + Maven + TestNG ] Any idea how to resolve ...
1
vote
2answers
4k views

How do I scroll in a native Android app using Appium Java?

How do I automate scrolling in a native Android application? For example, on a 'terms and conditions' page. I am using Appium with selenium webdriver.