Skip to content

1.30.0

Compare
Choose a tag to compare
@perforce-prasant perforce-prasant released this 08 Dec 14:48
· 16 commits to master since this release
43b2df3

Upgrades

  • Upgraded the Selenium version from 3.141.59 to 4.2.2 (Selenium 4).

  • Upgraded the Appium version from 7.6.0 to 8.1.1 (Appium 2.0).

  • Implemented vendor-specific desired capabilities introduced in Appium 2.0.

  • Upgraded the perfectomobile.version from 18.3.0.3 to 18.6.0.0.

  • Upgraded the QAF and QAF support versions from 3.0.0 to 3.1.0.

New features

  • Added support for Appium 2.0 and Selenium 4.0

  • Attached Quantum Source to the Quantum support jar for ease of debugging

  • Added support for parallel download of multiple Perfecto reports for the same test case

  • Introduced a new interface VendorPrefixPatch that lets you implement the vendor-specific desired capabilities required by Appium 2.0 and Selenium 4

  • Added a NettyClientFactory client

Breaking changes

Note:
All breaking changes introduced by Selenium 4 and Appium 2.0 are applicable. Make sure to implement appropriate fixes or changes at the project level.

  • Platform-specific methods (such as hideKeyboard) has moved from the Appium Driver to a Platform Specific Driver.

  • The MobileElement class is deprecated and removed. Use WebElement class instead.

  • The MobileElement class had a setValue method. Because the MobileElement class is now deprecated, use the sendKey method of the WebElement class instead.

  • The findElementByXXX methods are deprecated and removed. Use the findElement(By.xxx(“”)) methods instead.

  • The MobileBy class is deprecated and removed. Use the AppiumBy class instead.

  • Timeouts used to be specified using long values. Now, the Wait methods with parameter long are deprecated and removed. Use Duration.ofXXX(value) instead.

  • Applicable only to mobile execution (of web, hybrid, or native apps): All Perfecto-specific desired capabilities in the config file (testng.xml) need to be prefixed with: perfecto: . For example: perfecto:securityToken

  • Applicable only to mobile execution (of web, hybrid, or native apps): All Perfecto-specific desired capabilities in the application.properties file need to have a key starting with: perfecto.capabilities.xxx. For example: perfecto.capabilites.securityToken

  • Log4j dependencies are removed from the framework. Provide log4j-related dependencies in your pom.xml file.

Deprecation warnings

  • The Driver.getCapabilities().getPlatform() method is deprecated. Use Driver.getCapabilities().getPlatformName() instead.

  • The io.appium.java_client.TouchAction class is deprecated. Use the Sequence class instead.

  • Opera browser support is deprecated. This is not relevant for Perfecto.