robotframework-appiumlibrary | AppiumLibrary is an appium testing library | Testing library
kandi X-RAY | robotframework-appiumlibrary Summary
kandi X-RAY | robotframework-appiumlibrary Summary
AppiumLibrary is an appium testing library for RobotFramework
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Sets the attribute identified by locator
- Find element matching locator
- Find an element based on locator
- Returns the currently open application
- Swipe a range of coordinates
- Returns the current window width
- Returns the height of the current window
- Start recording screen recording
- Get the platform name
- Set the timeout in seconds
- Gets the attribute of an element identified by locator
- Execute an adb shell command
- Find a WebElement in a WebElement
- Delete a file
- Verifies element identified by locator
- Scrolled element in view
- Verifies the element identified by locator
- Get number of matching xpaths
- Waits for an element identified by locator
- Waits until text disappears from the page
- Stop recording
- Capture page screenshot
- Register a keyword to run on failure
- Assert that xpath matches xpath
- Launch the application
- Waits until the element identified by locator disappears
robotframework-appiumlibrary Key Features
robotframework-appiumlibrary Examples and Code Snippets
Community Discussions
Trending Discussions on robotframework-appiumlibrary
QUESTION
I have installed Robot Framework for multiple machines. There are python2 and python3 and packeges for them on both. The process of the installation was the same. On machine A
there are more Execution Profile (jybot
, pybot
, robot
, robot 3.1
) while on the other (B
) there are only jybot
and pybot
if I start RIDE with python2 and jybot
and robot
if python3.
What is the difference, or how can I add more Execution Profiles for RIDE?
- Python 2.7.11
- robotframework==3.0
- robotframework-ride==1.5.2.1
- Python 3.7.4
- robotframework==3.1.2
- robotframework-ride==1.7.3.1
There is no robotframework related difference in PATH
EDIT
Machine A
python2 robotframework related packages
...ANSWER
Answered 2020-Dec-17 at 11:15The detection of robot executable is not dependent on the version of RIDE, but on the installed version in Python. But this may result in different robot being executed when running tests. When the test is executed, it should use the robot as it would if launched from command line.
Like was mentioned by Bence Kaulics, pybot
was renamed to robot
from certain version. And in version 3.1.x, robot was changed to an executable instead of a .bat file (in Windows). That was the reason to have both robot
and robot 3.1
. So, in Windows, when selecting robot
you may be executing a robot.cmd
script. The same is valid for pybot.bat
with profile pybot
.
EDIT:
You can compare the settings.cfg
file from the two machines. See it at ~/.robotframework/ride/settings.cfg
(or %APPDATA%\robotframework\ride\settings.cfg
), on the [Plugins][[Test Runner]] section, the run_profiles
property is defined there.
QUESTION
I have Python 2.7 installed. I am using Robot Framework and the RIDE IDE. I need the AppiumLibrary
.
I have tried to install it at the CLI as follows:
...ANSWER
Answered 2020-Sep-14 at 23:54This looks like a case of broken dependency declaration. robotframework-appiumlibrary
specifies Appium-Python-Client>=0.28
as a dependency and although older versions (>=0.28
and <1.0
) supports Python 2.x, the later ones do not:
https://pypi.org/project/Appium-Python-Client/
Since v1.0.0, only Python 3 is supported
So it should be possible to pre-install the latest version that supported Python 2.x to satisfy the dependency:
pip install Appium-Python-Client==0.52
pip install robotframework-appiumlibrary
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install robotframework-appiumlibrary
You can use robotframework-appiumlibrary like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page