Perfecto Selenium Integration PDF
Perfecto Selenium Integration PDF
• The Selenium RemoteWebDriver is the leading market automation tool for desktop web allowing test automation
scripts to be executed on virtual desktop browsers
• The Perfecto Mobile Selenium server is an extension of the existing Selenium server, enabling a single test to
support cross- browser execution on various versions of windows OS. This is possible through Selenium Perfecto
Plugin, provided the user needs to have valid perfecto licenses
• The RemoteWebDriver significantly increases the ability to deploy updates to web apps fast
• The ability to get reports across multiple browsers in one test provides visibility and allows time to market to improve
without compromising on quality
1 | © Cognizant 2015
Perfecto Selenium Integration
Automation Testing using Selenium
Selenium RemoteWebDriver
• After integrating with mobile cloud 2 different views will be visible in eclipse – Perfecto Studio, Device Dashboard
• Parallel execution (automation) is possible in Perfecto through Selenium.
• Given below are steps which he needs to follow:
• 1) Make sure all the pre-requisites for the installation are met
• 2) Install the mobilecloud plugin for selenium
• 3) Enter the record mode and start recording the script
• 4) Create a mobile cloud project
• Creating the code with conditions appropriately to create a single script - is the Best Approach to create a unified
script across devices and browsers, using Selenium mobile cloud plugin
• it is possible to concatenate strings in the script, when using object spy, it is possible to create custom xpaths based
on the available properties of the element
• In Perfecto, it is possible to export the device objects and view the object tree/xml file
• While using Perfecto selenium, we need to add separate code snippet for generation of reports
2
Perfecto Selenium Integration
• For Web Android, Selenium Perfecto can execute the test in Perfecto mobile, default browsers, and
Chrome. Execution of a Desktop web application is recommended to be performed on Perfecto
Browser
• Perfecto-selenium scripts with minimum level of code change can be used to automate RWD
websites
• The mobilecloud plugin can be installed through eclipse by adding a new software by mentioning
our Mobilecloud URL in preferences
3 | © Cognizant 2015