Learn About Keynote's New DeviceAnywhere Enterprise Extension for Selenium
By Josh Galde | May 5, 2014
One of the most tedious parts of mobile web testing is when you are ready to actually start testing on real devices. Many QA teams use Selenium to easily test for multiple screen sizes on desktop browsers. When it comes to running those tests on mobile devices, however, it can be a very tedious process procuring, configuring, and running those Selenium tests directly on mobile. Many QA organizations will resort to manual mobile testing, or will end up maintaining Selenium tests for desktop, and then write a whole new set of scripts in a mobile-centric testing tool.
DeviceAnywhere Streamlines Mobile Testing
Keynote has taken the pain out of procuring and configuring mobile devices with our new Selenium integration for our mobile testing platform—DeviceAnywhere. Utilizing our Java API and the Selenium Web Driver, QA testers and developers can run their already created Selenium scripts against real mobile devices, including Android!
Within Keynote’s DeviceAnywhere platform, users can create a new Java Test Case, which will allow them to access the DeviceAnywhere Java API. From there, the user can either code directly in the platform, or they can use their IDE of choice, by pointing it to the DeviceAnywhere Project Workspace. Once the initial connection to the device has been set using the DeviceAnywhere API, a new Webdriver can be invoked, and the Selenium JAR file can be imported and utilized.
After the above configuration has been completed, users can switch between their devices, and invoke their various Selenium scripts. Selenium scripts can either be called from the Java Test Case as a driver, or they can be copied and pasted directly into the Java Test Case and managed and executed within DeviceAnywhere directly.
Key features include:
- Customers can utilize their existing desktop web scripts for supporting responsive or adaptive design websites—extending testing easily to mobile with no additional work
- Users can run their Selenium scripts on Keynote’s real, local or remote devices
- Run already created Selenium scripts on mobile devices
- No need to configure ADB drivers or configure the Selenium web driver
- No Android SDK required
Keynote is constantly working on improving this integration, and working on support for additional platforms. Currently the integration is limited to scripting in Java, and limited to Android devices only. The integration is still being worked on in order to support the iOS Web Driver.
To learn more about these integrations, watch the on-demand webcast.