DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Because the DevOps movement has redefined engineering responsibilities, SREs now have to become stewards of observability strategy.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Related

  • How To Integrate Chatbot With an Android App
  • Guide for Voice Search Integration to Your Flutter Streaming App
  • Integration of Cross-Platform Features in Native Mobile Apps
  • How To Integrate a Web Component Into a Mobile App While Preserving Native UX

Trending

  • Analyzing Techniques to Provision Access via IDAM Models During Emergency and Disaster Response
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 2: Understanding Neo4j
  • How to Merge HTML Documents in Java
  • Monoliths, REST, and Spring Boot Sidecars: A Real Modernization Playbook
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. DevOps and CI/CD
  4. How to Integrate Katalon Studio With Kobiton

How to Integrate Katalon Studio With Kobiton

Learn how to integrate Katalon Studio with Kobiton to utilize their cloud-based devices to test your mobile app. Get all the steps here.

By 
Oliver Howard user avatar
Oliver Howard
·
Oct. 31, 17 · Tutorial
Likes (6)
Comment
Save
Tweet
Share
7.3K Views

Join the DZone community and get the full member experience.

Join For Free

Cloud-based devices can be a good option for mobile app testing teams who have limited access to real devices. Kobiton is a powerful mobile device platform offers real mobile devices for both testers and developers. Using Katalon Studio, you can easily execute automated tests on Kobiton’s devices, thanks to the built-in integration feature supported by Katalon Studio.

This tutorial will walk you through basic steps to set up the integration between Katalon Studio and Kobiton.

Enable Kobiton Integration

1. Open Kobiton integration settings from the main menu at Windows > Katalon Studio Preferences > Katalon > Kobiton. Check Enable Kobiton Integration.
Enable Kobiton Integration

2. Enter your Kobiton account for authentication and click on Connect. After establishing a successful connection with Kobition, the message “Retrieving Kobiton API Keys successfully” will be displayed. Katalon Studio automatically retrieves the information for Kobiton integration.

information for Kobiton integration

Other fields in the Kobiton configuration dialog include:

Field Description
Kobiton Server The Kobiton server to be connected and integrated with Katalon Studio.
API Key

The token to be used by Katalon Studio for exchanging API messages with Kobiton. You can generate more keys from the Kobiton API Settings.

3. Click Apply when you are done with the settings.

Mobile Testing With Kobiton Devices

1. Navigate to Kobiton Portal: https://portal.kobiton.com and log in with your username and password.

2. In Kobiton, upload your app to Kobiton App Repository.Kobiton App Repository

3. From the Repository view, select ‘more actions’ and select Automation snippet. Copy the app ID (the one in bold, for example, Kobiton-store:184 as shown below) and save it.
Automation snippet

4. Click on Devices menu and select your devices by “Mark as favorite.”Kobiton Devices menu

5. In Katalon Studio, open your mobile test case and switch to Scripts view. Locate this line of code:Mobile.startApplication(appPath,false).

Next, replace the "appPath” with the Kobiton app id saved in Step 3 as shown below:

replace the "appPath” with the Kobiton app id

import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCaseMobile.comment('Story: Verify correct alarm message')Mobile.comment('Given that user has started an application')'Get full directory\'s path of android application'

//def appPath = PathUtil.relativeToAbsolutePath(GlobalVariable.G_AndroidApp, RunConfiguration.getProjectDir())

Mobile.startApplication('kobiton-store:184', false)

Mobile.comment('And he navigates the application to Activity form')

Mobile.tap(findTestObject('Application/android.widget.TextView - App'), 10)

Mobile.tap(findTestObject('Application/App/android.widget.TextView-Activity'), 10)

Mobile.comment('When he taps on the Custom Dialog button')

Mobile.tap(findTestObject('Application/App/Activity/android.widget.TextView-Custom Dialog'), 10)

'Get displayed message on the dialog'

def message = Mobile.getText(findTestObject('Application/App/Activity/Custom Dialog/android.widget.TextViewCustomDialog'),10)

Mobile.comment('Then the correct dialog message should be displayed')

Mobile.verifyEqual(message, 'Example of how you can use a custom Theme.Dialog theme to make an activity that looks like a customized dialog, here with an ugly frame.')

Mobile.closeApplication()

6. From the main toolbar, click on the drop-down menu of Run, and select the option to run with Kobiton Device.

run with Kobiton Device

7. On Kobiton Favorite Devices screen, a list of Favorite Devices from Step 4 will be displayed in Device Name.

Select preferred device and click Ok.

You can also modify this list by updating your Favorite Devices from https://portal.kobiton.com/devices.
Kobiton Favorite Devices

8. Once Katalon Studio is finished, automation test execution will be uploaded to Kobiton. Navigate to Sessions menu to view
automation test execution uploaded to Kobiton

Congrats! You have just run your Kobiton mobile automation test with Katalon Studio. Kobiton is an innovative mobile device testing platform, through Kobiton developers can save cost and time by directly remote access to the mobile devices to run tests before releasing to the market. This will empower mobile developers to build high-quality applications by identifying potential issues faster.

For more tutorials about automation testing tools, please visit Katalon Tutorials.

Katalon Studio Integration mobile app

Opinions expressed by DZone contributors are their own.

Related

  • How To Integrate Chatbot With an Android App
  • Guide for Voice Search Integration to Your Flutter Streaming App
  • Integration of Cross-Platform Features in Native Mobile Apps
  • How To Integrate a Web Component Into a Mobile App While Preserving Native UX

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!