Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

driver start stop at method level and parallel execution for web #13

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

meprad
Copy link

@meprad meprad commented Oct 18, 2023

  1. Driver Start and Stop should happen in Before/After methods instead of Before/After suites - DONE
  2. Parallel Execution Web - WIP

PENDING

  • needs to be refined (basePage and webExample)
  • works for IS_VISUAL= false
  • need fix for IS_VISUAL=true
  1. Parallel execution App- WIP
  • DriverManager file contains methods for getting and setting appiumServices

PENDING

  • changes in appExampleTest and appExample to ensure the correct driver is called.
  • update getAppDriver & killDriver methods in driverFactory to get correct appdriver instances.
  1. App (Android) execution on real devices-WIP
  • works with IS_VISUAL=false
  • random numbers get clicked on the real device during visual check (only on real device)
  • applitools team informed on the same

changes of files that are not to be pushed into main

src/test/resources/reportportal.properties
src/test/resources/config/webConfig.properties
src/test/resources/config/androidConfig.properties
src/test/resources/applitools.properties

@@ -1,11 +1,13 @@
SERVER_URL=https://eyes.applitools.com/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not change anything in applitools.properties

@@ -9,7 +9,7 @@ IS_LOCAL_DEVICE=true
AUTOMATION_DRIVER=uiautomator2
APP_PACKAGE_NAME=com.android2.calculator3
APP_ACTIVITY=com.android2.calculator3.Calculator
APP_PACKAGE_LOCATION=https://github.com/anandbagmar/sampleAppsForNativeMobileAutomation/raw/main/AndroidCalculator.apk
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not change APP_PACKAGE_LOCATION

@@ -1,7 +1,7 @@
rp.endpoint=<Your ReportPortal Endpoint>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert these changes - as these are Jio specific changes

@@ -25,7 +25,7 @@
<dependency>
<groupId>com.github.znsio</groupId>
<artifactId>ApplitoolsIntegration</artifactId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once the applitools latest PR is merged - update this version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants