Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Selenium4, Appium2.0 and Applitools v5 SDK (#178)
* updated to latest ATD (from main branch) * fix io.netty compile error (#149) * merge from main, and updated based on new ATD * fixed attaching device logs to reportportal * use the latest ATD (from fixesForTeswiz branch) * updated the CI workflow branches * updated dependencies * updated multiuser-multi-app scenario * downgraded com.epam.reportportal:agent-java-cucumber6 to 5.1.2 * removed unnecessary dependencies and use them from atd. (atd uses the latest reportportal's agent-java-cucumber6 - 5.1.3 * updated ATD which uses agent-java-cucumber6 v5.1.0 * Updated ATD: reverted to agent-java-cucumber6 v5.1.3. Added debug trace to see what launchId is returned by rq.getLaunchUuid(); * updated teswiz version * updated ATD and teswiz to create the correct reportportal URL is launchID is not available as a system property * use ATD which has all dependencies updated. No need to retrieve launchID from ScenarioReporter - was behaving same as getting it from system property - rp.launch.id * Created files for VodQA application testing and implemented scroll() method (#179) * Created config and capabilities file for VodQA App testing * Created feature, steps, BL, abstract screen and android screen files for VodQA scroll testing * VodQA config file path set in CONFIG variable * Implementation of scroll(fromPoint, toPoint) method according to appium 2.0 changes * removed config path * added command to execute feature, changed scenario name * changed function and arguement names * merged "When" "And" in feature and its related code in other files * replaced 700 millisec with 1 second wait * Removed string passed from feature, no longer needed * modified steps according to feature * changed method names and removed arguments * changed method names, removed arguments, added visual validations and moved locators to top * changed "Given" * changed steps according to feature --------- Co-authored-by: Mukund1 Gupta <Mukund1.Gupta@ril.com> * Tap in the middle of the screen (#180) * Tap in the middle of the screen * Changed return type in business layer and android screen * removing unused locators * Resolved comments * Tap in the middle of the screen * removing unused locators * removing existing files * Revert "removing existing files" This reverts commit 44259e6. * Updated according to the comments * Changing function names and variable names * Update vodqa.feature * Appium2.0 (#183) * updated driver method scrollDownByScreenSize for appium 2.0 implementation * added test steps for scrollDownByScreenSize method * added test step implementation for scenario to test scrollDownByScreenSize * added visually for scrolled screen * added a wait for an element to remove flakiness due to screen load * removed unused imports * Updated scroll down by screen size scenario name * removed duplicate step * resolved issue due to conflict * AppiumDriver.closeApp() replaced by AndroidDriver.terminateApp() (#187) * Created config and capabilities file for VodQA App testing * Created feature, steps, BL, abstract screen and android screen files for VodQA scroll testing * VodQA config file path set in CONFIG variable * Implementation of scroll(fromPoint, toPoint) method according to appium 2.0 changes * removed config path * added command to execute feature, changed scenario name * changed function and arguement names * merged "When" "And" in feature and its related code in other files * replaced 700 millisec with 1 second wait * Removed string passed from feature, no longer needed * modified steps according to feature * changed method names and removed arguments * changed method names, removed arguments, added visual validations and moved locators to top * changed "Given" * changed steps according to feature * replaced closeApp() with terminateApp(appPackageName) and called it using AndroidDriver instead of AppiumDriver * optimized imports --------- Co-authored-by: Mukund1 Gupta <Mukund1.Gupta@ril.com> * replace closeApp() with terminateApp(), updated todo to test this change (#188) * Created config and capabilities file for VodQA App testing * Created feature, steps, BL, abstract screen and android screen files for VodQA scroll testing * VodQA config file path set in CONFIG variable * Implementation of scroll(fromPoint, toPoint) method according to appium 2.0 changes * removed config path * added command to execute feature, changed scenario name * changed function and arguement names * merged "When" "And" in feature and its related code in other files * replaced 700 millisec with 1 second wait * Removed string passed from feature, no longer needed * modified steps according to feature * changed method names and removed arguments * changed method names, removed arguments, added visual validations and moved locators to top * changed "Given" * changed steps according to feature * replaced closeApp() with terminateApp(appPackageName) and called it using AndroidDriver instead of AppiumDriver * optimized imports * replaced closeApp() with terminateApp() using AndroidDriver for closeWindowsAppOnMachine method, updated TODO to test on windows app in windows OS --------- Co-authored-by: Mukund1 Gupta <Mukund1.Gupta@ril.com> * select Notification From Notification Drawer (#182) * Added implementation for selectNotificationFromNotificationDrawer() and scenario to test test the feature in JioMeet * Removed commented Code * Code formating * Renamed sequenced object * Updated the scenario name * updated the apk name for jio meet --------- Co-authored-by: Darshan <darshan3.s@ril.com> * Appium2.0: Swipe Gesture implementation and addition of 3 test scenarios (#186) * implemented swipe for android and added a new method swipeByPassingPercentageAttributes in Driver.java * updated swipe left and swipe right methods in Driver.java * Added 3 Test scenarios for validating swipe gestures * using duration as seconds instead of milli seconds in the swipe gesture method * updated steps and screen names * added visual validation for swipe gesture test * resolved review comments * taken pull from origin branch * throwing exception in checkPercentagesAreValid() method in Driver.java * minor changes * minor changes * Hybrid App Compatibility of Context Switching utility for Appium 2.0 (#184) * added feature for context switching * Latest pull * Implementation of test scenario * took latest pull * Added visual checks to the screens * Updated step file * Modified feature file and removed commented code * Updated step file * updated feature file and added visual checks * Backmerging from appium:2.0 (#191) * cleaned up build.gradle * updated fasterxmlJackson and applitools dependency version * set next teswiz version to v0.0.80 * revert to Applitools library 5.54.0 * Appium2.0 : Added test scenario for ScrollVertically by percentage (#193) * removed unused imports * Added scroll vertically by percentage scenario * Added step implementation for scroll vertically by percentage scenario * Appium2.0: Scroll in dynamic layer implementation and addition of a test scenario (#194) * implemented swipe for android and added a new method swipeByPassingPercentageAttributes in Driver.java * updated swipe left and swipe right methods in Driver.java * Added 3 Test scenarios for validating swipe gestures * using duration as seconds instead of milli seconds in the swipe gesture method * updated steps and screen names * added visual validation for swipe gesture test * resolved review comments * taken pull from origin branch * throwing exception in checkPercentagesAreValid() method in Driver.java * minor changes * minor changes * implemented scroll in dynamic layer in Driver.java * updated scroll function points in Driver.java * added test scenario to validate scrollInDynamicLayer() functionality * replaced from and to screen height in scrollDownByScreenSize() * replaced from and to elements in test scenario * added a direction enum * passing direction enum to scrollInDynamicLayer() * passing direction from feature file * added tags for few scenarios in vodqa.feature * changed Direction into enum * removed direction validation in scrollInDynamicLayer() * passing direction onj instead of string * minor changes * Changed appiumDriver.queryAppState() to androidDriver.queryAppState() (#195) * queryAppState * Throw exception for other platform * Update AppiumDriverManager.java * Added gradle command to execute the scenario * Throw exception for other platform * Update AppiumDriverManager.java * reverting feature file changes * removing extra else condition * Removed redundant methods from vodQa scenarios (#197) * updated Applitools version to v5.55.0 * updated to ATD 13.1.0 * removed appium2.0 branch from CI workflow * updated app path for calculator and jiomeet caps (#198) * fix apk path in capabilities file * added missing serverConfig to capabilities file * use remote path for VodQA.apk --------- Co-authored-by: Sai Krishna <saikrishna321@yahoo.com> Co-authored-by: Mukund Gupta <mukundgpt2025@gmail.com> Co-authored-by: Mukund1 Gupta <Mukund1.Gupta@ril.com> Co-authored-by: MedhaGupta-Ril <122343539+MedhaGupta-Ril@users.noreply.github.com> Co-authored-by: aamisharora1 <107185850+aamisharora1@users.noreply.github.com> Co-authored-by: Darshan S <57480993+DarshanS4444@users.noreply.github.com> Co-authored-by: Darshan <darshan3.s@ril.com> Co-authored-by: Tammewar snehit <31981138+snehith07@users.noreply.github.com> Co-authored-by: ngourkar <117643274+ngourkar@users.noreply.github.com> Co-authored-by: Raghav Garg <117148030+raghavgarg1996@users.noreply.github.com>
- Loading branch information