appium-boneyard /
appium-android-bootstrap
Npm module for androidBootstrap, the java project which appium uses to interact with UiAutomator
36/100 healthLoading repository data…
ThomasHansson / repository
An Appium (java) example project for cross platform testing of an Android and an iOS application
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
An Appium (java) example project for cross platform testing of an Android and an iOS application (for more background see blogpost https://blog.jayway.com/2016/06/30/cross-platform-testing-example-android-ios-using-appium/)
Instructions:
Download and setup Appium (see http://appium.io/docs/en/about-appium/getting-started/)
Import this project as a maven project in e.g. IntelliJ or Eclipse.
Set the executionOS variable in the AppiumController class (src/test/java/AppiumSupport/AppiumController.java) to Android or iOS depending on what platform you want to execute the example test on. (For Android it should work to run on both emulator and device but for iOS it will only work on the simulator.)
Start the appium server and run the example test “searchContact” in src/test/java/Test/Test_ContactSearch.java.
Browserstack:
It's also possible to run the tests against Browserstack (www.browserstack.com). To do this you need to do the following.
Enter your Browserstack credentials in the AppiumController class (BS_USERNAME and BS_ACCESSKEY).
Upload the applications to Browserstack and set the hashed application id you get back also in AppiumController class (IOS_HASHED_APP_ID and ANDROID_HASHED_APP_ID). More info how to do this can be found here: https://www.browserstack.com/app-automate.
Set the executionOS variable in the AppiumController class to ANDROID_BROWSERSTACK or IOS_BROWSERSTACK
Run the example test “searchContact” in src/test/java/Test/Test_ContactSearch.jav
Selected from shared topics, language and repository description—not editorial ratings.
appium-boneyard /
Npm module for androidBootstrap, the java project which appium uses to interact with UiAutomator
36/100 healthsunilpatro1985 /
Appium_Java_Android_iOS
51/100 healthhimanshuseth004 /
Close or open an app during a session in Real Devices with Appium Java on LambdaTest cloud.
aaroncarry /
A tool that can mock out an existing Appium session, supports both Java and Kotlin.
50/100 healthnabilalakhani /
This is a generic Page Object Model which solves all your automation needs with single codebase. We often tend to create different test frameworks for different platforms and it's very difficult for anyone to serve all platform needs in one test automation framework. OneFramework solves all your needs. You just give the locator and leave the rest to OneFramework. Contents: Features Libraries Used Prerequisites Installations Appium Setup How This Framework Works How To Run Tests How To See Allure Result Report Image Comparison Output Pending Tasks How To Contribute? Features: Easy to automate any type of application Cross platform(mobile & web) support with single codebase Page Object Model TestNG integration Image Comparison Allure Reporting Robust in nature Many configurations Libraries Used: Appium Selenium WebDriver Java TestNG Gradle WebDriverManager AShot Allure Report Prerequisites Installations: JAVA 1.8 - Install Java and set the JAVA_HOME path on your machine. Node & NPM - Download & install node from https://nodejs.org/en/download/. Gradle - Install Gradle. Android - Install Android Studio & set ANDROID_HOME path. Downloading the Android SDK Download the Android SDK tools such as Build tools Platform tools Android Emulator Intel HAXM installer etc..... Create an emulator device from AVD manager iOS - Install XCode on your machine & download required iPhone/iPad simulators. Allure Report - Install Allure Report library on your machine. Please follow below link to install it on MAC. Similarly install allure-report installer on your respective machine. https://docs.qameta.io/allure/#_installing_a_commandline Note: If you want to run only on WEB, you don't need anything except JAVA. Mentioned installations Node, Android & iOS are for mobile app automation & Rest like Gradle & Allure are for framework level Appium Setup: Install Appium $ sudo npm install -g appium@1.9.1 --unsafe-perm=true --allow-root Appium Doctor - which is used to see if the appium setup is correctly done or not. Run it and fix the issues as per that. $ sudo npm install -g appium-doctor --unsafe-perm=true --allow-root $ appium-doctor How This Framework Works: This framework is built in Page Object Model style using TestNG framework. We have "testng.xml" file which has tests for each and every platform in cross browser/device testing fashion. Here are the minimal things you have to do: Create your tests Create your Page Object class w.r.t test that you have written, if not created already (Take the reference from org.oneframework.pageObjects). For e.g, SignIn button locators for web, ios & android set as shown below. - If mobile app, Set the android, ios device details in corresponding files in resources directory as shown below. - If web app, Set web app URL in BaseTest How To Run Tests: Clone the repo. https://github.com/srinu-kodi/OneFramework.git Build the JAR and run it. $ gradle clean build $ java -jar build/libs/Automation-1.0-SNAPSHOT.jar capture $ java -jar build/libs/Automation-1.0-SNAPSHOT.jar compare Note:capture & compare are the image capture and compare modes. How To See Allure Result Report: Once test execution is complete, allure-results directory gets generated. I assume you have already installed allure on your machine. If not, install it. If yes, run below command to see the report. $ allure serve <allure-results path> Image Comparison Output: Once image comparison is complete, all the images w.r.t platforms are published into local baselineImages directory at root level. Now go to specific directory and get the image comparison resulted images. difference image is created only when there is a difference in actual vs expected images. Below is the sample output. expectedImage actualImage differenceImage
31/100 healthabhaybharti /
An awesome Selenium + Java + Maven + TestNG template to jumpstart your QA projects!
54/100 health