Skip to content

znsio/teswiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,614 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub stars PRs Welcome GitHub forks

Latest release status:

0.0.86 CI CodeQL

Latest successful build id:

Latest Commit

🚨 Breaking Changes

From Version 1.0.13 onward

As part of package restructuring, context-related classes have moved to a new package.

❗ Required Update in Imports

Replace:

import com.context.SessionContext;
import com.context.TestExecutionContext;

With:

import com.znsio.teswiz.context.SessionContext;
import com.znsio.teswiz.context.TestExecutionContext;

NOTE

Use JDK v17 or higher

To Build

./gradlew clean build

What is this repository about?

This repository implements automated tests for Android & iOS apps, specified using cucumber-jvm and intelligently run them against

  • Android
  • iOS
  • Windows Apps
  • Web
  • Electron

Applitools (https://applitools.com/) Visual AI, and Applitools Ultrafast Grid (https://applitools.com/product-ultrafast-test-cloud/) is integrated with this framework, to provide Visual AI testing as part of functional automation.

Reports will be uploaded to reportportal.io, that you would need to setup separately, and provide the server details in src/test/resources/reportportal.properties file or provide the path to the file using this environment variable: REPORT_PORTAL_FILE

Test can run on local browsers / devices, or against any cloud provider, such as TestMu AI (formerly LambdaTest), HeadSpin, BrowserStack, SauceLabs, pCloudy.

CI Batch Name Suffix for Applitools

To append a CI-specific suffix to the Applitools batch name, set APPLITOOLS_BATCH_NAME_SUFFIX.

Example for GitHub Actions:

additional-env: "APPLITOOLS_BATCH_NAME_SUFFIX=' - #${{ github.run_number }}'"

Cloud provider notes

TestMu AI (formerly LambdaTest)

  • Supported config/capability samples in this repo:
    • configs/theapp/theapp_lambdatest_web_config.properties
    • configs/theapp/theapp_lambdatest_android_config.properties
    • configs/theapp/theapp_lambdatest_ios_config.properties
    • caps/theapp/theapp_lambdatest_web_capabilities.json
    • caps/theapp/theapp_lambdatest_android_capabilities.json
    • caps/theapp/theapp_lambdatest_ios_capabilities.json
  • Web runs use W3C-safe capabilities, with LambdaTest-specific keys inside LT:Options.
  • Mobile runs use LambdaTest-specific keys inside lt:options.
  • network and appProfiling are read from capability files (not hardcoded by framework).

BrowserStack

  • Web runs use bstack:options / browserstackOptions mapping for BrowserStack-specific options.
  • Native app uploads:
    • For iOS uploads (.ipa and .zip), upload command includes ios_keychain_support=true.
    • For non-iOS uploads (for example .apk), that flag is not added.

Tech stack used

Additional configurations

Contact Anand Bagmar for help or if you face issues using teswiz

About

End-2-End framework for Native & Web Automation using Cucumber-jvm, Appium, Selenium WebDriver, Applitools & ReportPortal

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors