GithubHelp home page GithubHelp logo

kobiton / samples Goto Github PK

View Code? Open in Web Editor NEW
24.0 24.0 76.0 10.71 MB

Getting started for running automation testing on Kobiton platform

License: MIT License

Java 6.11% JavaScript 2.42% Python 83.17% RobotFramework 0.10% C# 1.57% PHP 0.89% Ruby 1.61% Groovy 2.02% TypeScript 0.34% Gherkin 0.11% Shell 0.30% HTML 1.33% CSS 0.01%

samples's People

Contributors

bachvu1998 avatar baominh2906 avatar chuanvo avatar chuong777 avatar datnt-16520200 avatar dttan98 avatar duylam avatar hiennguyent avatar hminh21 avatar huytunguyenn avatar hyndole avatar idxn avatar jamesjoshuastreet avatar khaingo2394 avatar khanhdodang avatar ledinhphuong avatar longtt2705 avatar ngantlnguyen avatar oanhpham173 avatar phanthaoit avatar pqnga avatar sehrgut avatar taynguyen avatar thaitrongnghi avatar thietdev avatar truongtheluan avatar tuyetngo avatar vythanh0709 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

samples's Issues

More documentation for Katalon integration for mobile test automation

The section Run automation test on Kobiton devices using Katalon tool is this referencing running automated test for CI? If so, are more complete example of how to use Katalon and kobiton in CI for test automation?

I am able to successfully run katalon test using kobiton devices, however it is very much a manually process. I have to upload the APK then select kobiton devices before running the tests. How are these steps automated?

How do I dynamically upload the APK (Seems to be an API for this) and assign the Start application to the proper URL and select favorite device.

Error Robot framework failed: AttributeError: 'RemoteConnection' object has no attribute 'decode'

Hi, I'm trying to run this automation but I have the following error:

Evaluating expression 'appium.webdriver.Remote(($command_executor).decode, $kwargs)' failed: AttributeError: 'RemoteConnection' object has no attribute 'decode'

My code:

***Settings***
Library                   AppiumLibrary
Library                   OperatingSystem
Library                   String
Library                   BuiltIn

*** Variable ***
${REMOTE_URL}             user:key(I insert my user and my apikey)
${PLATFORM_NAME}          Android
${DEVICE_NAME}            Moto X Play
${DEVICE_GROUP}           KOBITON
${AUTOMATION_NAME}        Appium
${APP_PATH}               https://s3-ap-southeast-1.amazonaws.com/kobiton-devvn/apps-test/ApiDemos-debug.apk

***Keywords***
Open Application With Session Timeout
    [Arguments]    ${remote_url}    ${alias}=${EMPTY}   ${resolve_ip}=False    ${session_timeout}=300    &{kwargs}
    ${command_executor}=    Evaluate    selenium.webdriver.remote.remote_connection.RemoteConnection($remote_url, resolve_ip=${resolve_ip})   selenium
    Log To Console   ${command_executor}
    Evaluate    $command_executor.set_timeout(${session_timeout})
    Log To Console   ${command_executor}
    ${driver}=  Evaluate    appium.webdriver.Remote(($command_executor).decode, $kwargs)    appium
    # ${al}=    Get Library Instance    AppiumLibrary
    # Evaluate    $al._cache.register($driver, $alias)

Open Session
    Open Application With Session Timeout
    ...                                      remote_url=https://${REMOTE_URL}@api.kobiton.com/wd/hub
    ...                                      platformName=${PLATFORM_NAME}
    ...                                      deviceName=${DEVICE_NAME}
    ...                                      deviceGroup=${DEVICE_GROUP}
    ...                                      automationName=${AUTOMATION_NAME}
    ...                                      app=${APP_PATH}

can you help me?

Run a single app test on multiple device using Selenium Grid

Dear Kobiton,

Thank you for provide us sample. I have run successfully my app test using Kobiton and I'm looking for the way to run a test on multiple devices in same time without write duplicate test for different devices.
I found that to execute that scenario can use Selenium Grid just like this - http://bendisa.com/iw/selenium-grid-for-mobile-automated-testing-with-appium-part-i/
Is it possible to do this on Kobiton server?

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.