Questions tagged [python-appium]

Appium Python Client. An extension library for adding Selenium 3.0 draft and Mobile JSON Wire Protocol Specification draft functionality to the Python language bindings, for use with the mobile testing framework Appium.

Appium Python Client.

An extension library for adding Selenium 3.0 draft and Mobile JSON Wire Protocol Specification draft functionality to the Python language bindings, for use with the mobile testing framework Appium.

https://github.com/appium/python-client

295 questions
0
votes
1 answer

Appium starts application but test gives error “FAIL : No application is open”

The problem: i use appium+robotframework to test my app.when i use key words:Open Application,it always gets failed result:No application is open.but actually the app was already open.i started appium server with code:appium -p 4723…
0
votes
1 answer

Is it possible to dor UI test of a desktop application using appium and python language?

I am going to do UI automation tests for a desktop application using appium. My preference is using appium python client. However there are no python test samples for a desktop application and all the examples are dedicated for android or ios apps.…
Bornak
  • 65
  • 1
  • 6
0
votes
1 answer

When execute the test script in appium it display AttributeError: can't set attribute

import time import ScrollUtil from appium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC desired_caps =…
0
votes
0 answers

Appium Cannot get the element as the element ID will vary from time to time

I am using Appium to scrapy some data from an app, the element xpath is android.view.View[@content-desc="25"] but what i want to get is the value "25". For example, the time its shows is 11:25 in Appium , it shows me that el1 =…
Man Man Yu
  • 161
  • 3
  • 13
0
votes
0 answers

How to start_activity with intent of opening a url with Python?

I am trying to open a Facebook post URL in the FB app. But Android is asking me to choose with which app to open the URL and ask me "Only once?" or "Always?". I clicked always but it still doesn't open the FB app. I am stocked here. EDIT: These…
Gauthier Buttez
  • 1,005
  • 1
  • 16
  • 40
0
votes
1 answer

Appium shows InspectorMoved

I do have latest version of Inspector installed but it still says inspectorMoved, maybe inspector is not synced with Appium. How can I solve it?
0
votes
1 answer

How to Select checkbox in Appium using Python if there is no unique ID/Text/Class name

Elements which i need to click Element loator Hi I am trying to click checkbox. the below is my code from appium import webdriver import time from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.by import…
0
votes
1 answer

Unable to open appium

Whenever i am clicking on appium its not opening Appium is not opening in my system? Can anyone help me with this. ERROR MESSAGE - The Application Appium can't be opened
0
votes
1 answer

Appium automation in Windows

So I've been trying to get my desired capabilities for a while and it's not working with the error of "failed to create session. An unknown server-side error occurred while processing the command. Original error: Could not find a driver for…
0
votes
0 answers

how to use tap method instead of click method in appium?

I'm trying to automate an android test in appium and I have selected the webdriver as in wd/hub for this purpose. However, the tap method there is virtually the click method as all the auto-recorded steps are generated as clicks instead of tap /…
Akash
  • 33
  • 3
0
votes
0 answers

need appium command for 'refresh source & screenshot' in python

Does anyone know how I can include 'refresh source & inspector' as a command for a native android or ios app in an appium python script? I'm trying to automate a test on appium and sometimes screen rendering does not work after an element has been…
Akash
  • 33
  • 3
0
votes
1 answer

How to switch to Frame in appium native web view app

I have a native android app. In which there is a web view and then it contain a payment iframe. I am unable to switch to iframe. I have tried the following but all of them are giving the same error: switch to frame PAYMENT_CARD_IFrame --> not…
Sammar Ahmad
  • 236
  • 5
  • 16
0
votes
2 answers

How to Automate pressing Done button using Appium python

Unable to automate Done button press(Shown in screenshot-click on this link) using Appium Python. Need assistance on this please.
0
votes
2 answers

why does Appium can't launch the app in android

I run the following code in my python But there is nothing happen on my android device. The appium don't launch any app on my android device. I have tried to use admin right to open appium desktop. And I also tried checked the " Allow Session…
jam
  • 1
  • 1
0
votes
1 answer

How to pass argument when extend Robotframework AppiumLibrary to call appium execute_script function

I have create a python file with the following content from robot.libraries.BuiltIn import BuiltIn def scroll_page_to_the_bottom(): BuiltIn().get_library_instance('AppiumLibrary').execute_script("mobile: scroll", {'direction': 'down'}) When I…
J. Doem
  • 619
  • 7
  • 21