Part 9 | No Cloud Providers Needed 🔥 | Run Android Appium Tests inside Github Runner 🔥

Поделиться
HTML-код
  • Опубликовано: 5 сен 2022
  • Telegram group link : Ask your doubts directly to me
    t.me/+B9gWYBJUb-01ZGQ1
    Api testing resources:
    drive.google.com/drive/folder...
    Docker playlist
    • Selenium Framework - P...
    Selenium Automation Framework Playlist
    • Selenium Framework wit...
    Extent Report 5.0.5 Playlist
    • Extent Reports Latest ...
    SDET Package Playlist
    • Selenium Framework - P...

Комментарии • 20

  • @powertester5596
    @powertester5596 Год назад +1

    Good one Amuthan :-). 👌

  • @AyyAppA_009
    @AyyAppA_009 Год назад +1

    Thanks Amuthan..👍

  • @balakrishnansathiyavelu9869
    @balakrishnansathiyavelu9869 Год назад +1

    Superb!!!!

  • @dianakoval3252
    @dianakoval3252 Год назад +1

    Thank you!!

  • @thalai143
    @thalai143 Год назад +1

    Brother Amuthan, Thanks for the Video. Can you please make a video on how to integrate Appium scripts using Emulator with Gitlab CI/CD

  • @krishanuchakraborty3500
    @krishanuchakraborty3500 Год назад

    Thanks for the efforts you are putting in Amuthan!!! One question, can we view the appium test execution like we do when tests run locally on emulators or simulators? Something like we view using Selenoid?

  • @mahendram7681
    @mahendram7681 9 месяцев назад

    Getting error that Android emulator is old and asking to update the enulator by going to enulator settings and all
    What is the solution ??

  • @ShoeibShargo
    @ShoeibShargo 11 месяцев назад +1

    1. How is your test running in Github Actions without UIAutomator2 installed?
    2. If your apk and ipa file size is more than 100 Mb, how to test it with Github actions without using git LFS?
    3. in which device is it running the test, you have not specified that in capabilities, why?
    Nonetheless, thank you for your effort in making such important videos :)

    • @TestingMiniBytes
      @TestingMiniBytes  11 месяцев назад +2

      I think in the tutorial I used appium 1.21
      So you Dont need uiautomator2.
      Never worked with apps more than 100 mb. You can keep the app in publically accessible location and fetch using the code otherwise.
      By default it launches some emulator but you can pass profile as Nexus /google pixel to define the manufacturer

    • @ShoeibShargo
      @ShoeibShargo 11 месяцев назад +1

      @@TestingMiniBytes Thank you for replying back brother.

    • @satyanarayanpanigrahi3386
      @satyanarayanpanigrahi3386 3 месяца назад

      I have the apk file more than 100 mb. I have added it to github repository using git lfs. Will it work for GitHub actions.

  • @nandkumarbabar7293
    @nandkumarbabar7293 Год назад

    can you please steps for self hosted runner...?

  • @mohitshrivastava3523
    @mohitshrivastava3523 3 месяца назад

    Any solution for iOS without virtual cloud ?

  • @SoujanyaM-ep7yq
    @SoujanyaM-ep7yq 2 месяца назад

    Hi Amuthan, Thanks a lot for this great series. I have a question: I tried setting up the Android runner but am stuck with the following error message. It times out after a while because it cannot see the emulator. Can you please help me with this? Here I am sharing my workflow file.
    Thank you very much for all your efforts.
    ****Android Run - Error message:
    The process '/Users/runner/Library/Android/sdk/platform-tools/adb' failed with exit code 1
    /Users/runner/Library/Android/sdk/platform-tools/adb shell getprop sys.boot_completed
    adb: no devices/emulators found
    Workflow:
    name: Run android tests in github runner
    on:
    push:
    branches: [ main ]

    workflow_dispatch:

    jobs:
    test:
    runs-on: macos-latest
    strategy:
    matrix:
    api-level: [29]
    steps:
    - name: checkout
    uses: actions/checkout@v3

    - name: Set up JDK 17
    uses: actions/setup-java@v3
    with:
    distribution: 'temurin'
    java-version: '17'

    - uses: actions/setup-node@v2
    with:
    node-version: '21'
    - run: |
    npm install -g appium@v2.6.0
    appium -v
    appium &>/dev/null &
    - name: run android tests
    uses: reactivecircus/android-emulator-runner@v2
    with:
    api-level: ${{ matrix.api-level }}
    force-avd-creation: false
    emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
    disable-animations: true
    script: mvn clean test
    And, for iOS I have ended up running with an error message as
    *******iOS Run Error Message: DemoTest.demoIOSTest:16 » SessionNotCreated Could not start a new session. Response code 500. Message: An unknown server-side error occurred while processing the command. Original error: Could not find a driver for automationName 'XCuiTest' and platformName 'IOS'. Have you installed a driver that supports those capabilities? Run 'appium driver list --installed' to see. (Lower-level error: Could not find installed driver to support given caps)
    Here is my workflow:
    name: iOS workflow
    on: workflow_dispatch
    jobs:
    run-mobile-tests:
    runs-on: macos-latest
    steps:
    - name: Checkout
    uses: actions/checkout@v3
    - name: Set up Appium
    run: |
    npm install -g appium@2.6.0
    appium -v
    appium &>/dev/null &
    - name: Install XCUI Test Driver
    run: appium driver install xcuitest
    - name: Run iOS Tests
    run: mvn clean test
    Can you please help here? Thank you very much.

    • @TestingMiniBytes
      @TestingMiniBytes  2 месяца назад

      It says you have not installed xcuiTest driver