-
Notifications
You must be signed in to change notification settings - Fork 3
Add UiPath doc to Integrations section. #395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tiffany-kobiton
wants to merge
7
commits into
main
Choose a base branch
from
add-uipath
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f022e6d
Add UiPath doc to Integrations section.
tiffany-kobiton ca7f087
Made requested changes and incorporated edits made in Confluence.
tiffany-kobiton c3bfc4b
Fixed broken image links and changed expositories to note type for co…
tiffany-kobiton 3303b05
Fixed broken image links. Admonitions still look like body text.
tiffany-kobiton 5a829eb
KOB-51615 add some edits in uipath docs
tungmhoang f741d09
KOB-51615 address coderabbit comments
tungmhoang 3da9591
KOB-51615 address coderabbit comments
tungmhoang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+67.1 KB
docs/modules/integrations/images/uipath-mobile-automation-activities-v24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+47.5 KB
docs/modules/integrations/images/uipath-mobile-automation-activities.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+20.9 KB
docs/modules/integrations/images/uipath-mobile-device-connection-window.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+64.5 KB
...odules/integrations/images/uipath-mobile-device-manager-applications-window.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+62.5 KB
docs/modules/integrations/images/uipath-mobile-device-manager-welcome-again.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+57.5 KB
docs/modules/integrations/images/uipath-mobile-device-manager-welcome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.6 KB
docs/modules/integrations/images/uipath-mobile-device-recorded-sessions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+46.7 KB
docs/modules/integrations/images/uipath-mobile-test-mobile-automation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
195 changes: 195 additions & 0 deletions
195
docs/modules/integrations/pages/uipath/mobile-test-uipath.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,195 @@ | ||
| = Mobile Automation with UiPath and Kobiton | ||
|
|
||
| :navtitle: UiPath | ||
|
|
||
| This guide walks you through creating and executing a mobile test using Kobiton devices within UiPath Studio, from preparing your environment to running a recorded test on a device. | ||
|
|
||
| By the end of this walkthrough, you will have connected to a device, recorded automation steps, and executed a full test flow. | ||
|
|
||
| [NOTE] | ||
| ==== | ||
| Kobiton currently supports mobile automation in UiPath Studio for: | ||
| * iOS devices (Kobiton 4.19.6 and above). | ||
| * Android devices (Kobiton 4.21.1 and newer). | ||
| ==== | ||
|
|
||
| == Prerequisites | ||
|
|
||
| * An active Kobiton account. You will need the following information from your account in the Kobiton Portal: | ||
| ** xref:profile:manage-your-profile.adoc#_open_your_profile[Username] | ||
| ** xref:profile:manage-your-api-credentials.adoc#_get_an_api_key[API key] | ||
| ** xref:profile:manage-your-api-credentials.adoc#_get_server_url[Appium Server URL] | ||
| * Ensure UiPath Studio is installed and activated. | ||
| * If you are working with Android devices, verify that your Kobiton version is 4.21.1 or newer. | ||
|
|
||
| == Open and configure a project | ||
|
|
||
| Launch UiPath Studio | ||
|
|
||
| Open an existing project or create a new blank project. For help creating a new project, follow UiPath’s official instructions in https://docs.uipath.com/studio/standalone/latest/user-guide/creating-basic-process[this | ||
| guide,window=read-later]. | ||
|
|
||
| Select *Manage Packages* from the ribbon. | ||
|
|
||
| image:uipath-manage-packages.png[width=600, alt="UiPath open tab showing Manage Packages ribbon item."] | ||
|
|
||
| In the search bar, enter *UiPath.MobileAutomation.Activities*. Select the package and choose *Install*. Ensure the selected version to install is 24.10.0 or later. | ||
|
|
||
| image:uipath-mobile-automation-activities-v24.png[width=600, alt="UiPath manage packages menu open to official tab which shows version number and gives option to install."] | ||
|
|
||
| Select *Save* to start the installation. | ||
|
|
||
| After the installation finishes, the *Mobile Automation* option appears in the ribbon. | ||
|
|
||
| == Add a mobile device in UiPath | ||
|
|
||
| Select *Mobile Automation → Mobile Device Manager* in the ribbon. This launches a new Mobile Device Manager window. | ||
|
|
||
| image:uipath-mobile-automation-menu.png[width=600, alt="UiPath mobile automation ribbon tab open with options menu."] | ||
|
|
||
| In the Mobile Device Manager window, select *Open Devices*, then the *Plus (+) icon* to create a new device connection. | ||
|
|
||
| image:uipath-mobile-device-manager-welcome.png[width=600, alt="UiPath mobile device manager window open to devices screen."] | ||
|
|
||
| In the *Add a device* window, fill in the following information: | ||
|
|
||
| * *Name* (required): enter a display name for the device. | ||
| * *Appium URL* (required): enter the Appium Server URL obtained from the Kobiton Portal. | ||
| * *Platform:* choose either *Android* or *iOS*. | ||
| * *Device Name:* input the device name displayed in the Kobiton Portal. | ||
| * *Platform Version:* input the operating system version of the device. | ||
| * Under *Additional Desired Capabilities*, add the following: | ||
| ** `udid`: input the UDID of the device. If omitted, the Device Name, Platform, and Platform Version will be used to find the device. | ||
| ** `kobiton:username` (required, case-sensitive): input the Kobiton username. | ||
| ** `kobiton:accessKey` (required, case-sensitive): input the Kobiton API key. | ||
| ** `kobiton:runtime` (required): input appium. | ||
|
|
||
| See the screenshot below for an example of adding a device: | ||
|
|
||
| image:uipath-add-a-device.png[width=600, alt="UiPath add device window open showing configuration options."] | ||
|
|
||
| To create logs of your sessions, switch to the *Logging* tab, select *Logging Enabled*, and specify a path to save the log. This can help with troubleshooting. | ||
|
|
||
| image:uipath-logging-enabled.png[width=600, alt="Logging tab open showing logging enables and folder path."] | ||
|
|
||
| Select *Save & Close* to save the changes. | ||
|
|
||
| == Add a mobile application in UiPath | ||
|
|
||
| In Mobile Device Manager, select *Open Application* and the *Plus (+) icon* to create a new application. | ||
|
|
||
| image:uipath-mobile-device-manager-applications-window.png[width=600, alt="UiPath mobile device manager window open to applications tab."] | ||
|
|
||
| In the *Add an application* window, fill in the following required information: | ||
|
|
||
| * *Name*: enter a name for the application. | ||
| * Choose either *App* or *Web*. | ||
| * Select the application platform (*Android* or *iOS*). | ||
|
|
||
| If *App* is chosen: | ||
|
|
||
| * *App:* input the app path. This can be either of the following: | ||
| ** App Repo ID for apps xref:apps:upload-an-app/using-the-kobiton-portal.adoc[uploaded,window=read-later] to the Kobiton App Repo. Examples: | ||
| *** `kobiton-store:123` for the latest version of the app with ID 123. | ||
| *** `kobiton-store:v124` (with a `v` before the ID) for the specific version 124 of the app. | ||
|
|
||
| ** Direct download URL (must not be a local app path, redirect to another link, or require login) | ||
| * For an Android app, input the *App package* and *App activity*. For an iOS app, input the *Bundle Id*. | ||
| * See below for an example: | ||
|
|
||
| image:uipath-add-application-app.png[width=600, alt="UiPath app application window open showing configurable settings for the user uploaded app."] | ||
|
|
||
| If *Web* is chosen: | ||
|
|
||
| * Select *Browser name*. | ||
| * Enter *Start Page* URL. | ||
| * See below for an example: | ||
|
|
||
| image:uipath-add-application-web.png[width=600, alt="UiPath app application window open showing configurable settings if user chose to test through browser."] | ||
|
|
||
| Select *Save & Close*. | ||
|
|
||
| == Connect to the device and record test steps | ||
|
|
||
| In Mobile Device Manager, select *Start an application*. | ||
|
|
||
| image:uipath-mobile-device-manager-welcome.png[width=600, alt="UiPath mobile device manager welcome window open."] | ||
|
|
||
| In the *Create connection* screen, select the device and app you created earlier. | ||
|
|
||
| image:uipath-create-connection.png[width=600, alt="Create connection tab open showing the chosen device, app, and logging enabled option selected."] | ||
|
|
||
| Select *Connect*. | ||
|
|
||
| After the connection is established, a live view of the device appears. Here you can interact with the device; UiPath automatically captures your actions. | ||
|
|
||
| image:uipath-mobile-device-manager-live.png[width=600, alt="UiPath mobile device manager window open to device tab displaying an image of device with uikitcatalog open."] | ||
|
|
||
| View your recorded steps in the *Recorded Actions* tab: | ||
|
|
||
| image:uipath-mobile-device-recorded-sessions.png[width=600, alt="UIKitCatalog tab open with alert views highlighted in green on the device screen."] | ||
|
|
||
| To import these steps into your project: | ||
|
|
||
| * Keep the device connection open in the Mobile Device Manager window. | ||
|
|
||
| * Switch back to the Studio project window, then open a sequence file (`Main.xaml` in the screenshot below). | ||
|
|
||
| image:uipath-mobile-test-properties.png[width=600, alt="Studio project window open."] | ||
|
|
||
| * Select *Mobile Automation → Import Recorded Actions*. | ||
|
|
||
| image:uipath-mobile-test-mobile-automation.png[width=600, alt="UiPath menu ribbon with mobile automation menu item open displaying options."] | ||
|
|
||
| * A *sequence* is created with the recorded steps: | ||
|
|
||
| image:uipath-main-activity-indicators.png[width=600, alt="Project tab open displaying main sequence recorded actions."] | ||
|
|
||
| When done, switch to the Mobile Device Manager window and close the connection by selecting *X*. | ||
|
|
||
| NOTE: This ensures the connection is closed properly. Otherwise, the device will remain in use in the Kobiton Portal and be inaccessible to other users. | ||
|
|
||
| image:uipath-live-device-with-x.png[width=600, alt="Mobile device manager showing device selection with highlighted x to close window."] | ||
|
|
||
| == Create and execute test with recorded steps | ||
|
|
||
| In the project view, open the previously edited sequence file. | ||
|
|
||
| Select the *Plus (+) icon* before the sequence with the recorded actions to add a new activity. | ||
|
|
||
| image:uipath-add-new-activity.png[width=600, alt="Shows where to click to add a new activity."] | ||
coderabbitai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| Search for the Mobile Device Connection activity and select it. | ||
|
|
||
| image:uipath-mobile-device-search.png[width=600, alt="Displays search bar where mobile device connection is entered for search."] | ||
|
|
||
| Under the newly added activity, choose *Select Connection Details*. | ||
|
|
||
| image:uipath-mobile-device-connection-window.png[width=600, alt="Menu showing where to select connection details."] | ||
|
|
||
| Select the device and app you created and *Save*. | ||
|
|
||
| image:uipath-connection-details.png[width=600, alt="Connection details displaying names of sample device and sample app."] | ||
|
|
||
| Drag the sequence with the recorded steps into the *Do* sequence of the Mobile Device Connection activity. | ||
|
|
||
| image:uipath-main-activity-indicators.png[width=600, alt="Select connection details window of sample device and app with activity indicators."] | ||
|
|
||
| Now you have a complete sequence to run the test. | ||
|
|
||
| To run the test, select *Debug File* or other UiPath https://docs.uipath.com/studio/standalone/latest/user-guide/about-debugging#start-debugging[debugging | ||
| options,window=read-later]. | ||
|
|
||
| image:uipath-design-debug-ribbon-item.png[width=600, alt="UiPath menu ribbon items with debug file option highlighted."] | ||
|
|
||
| If *Debug File* is selected, the Debug window appears. At the same time, Mobile Device Manager opens a new connection to the device and executes the test. | ||
|
|
||
| image:uipath-debug-activity-indicator.png[width=600, alt="UiPath debug window."] | ||
|
|
||
| Follow UiPaths https://docs.uipath.com/studio/standalone/latest/user-guide/about-debugging[debugging | ||
| guide,window=read-later] and https://docs.uipath.com/activities/other/latest/ui-automation/ui-automation-about[mobile automation guides,window=read-later] for more information. | ||
|
|
||
| When the test is done, close the connection in Mobile Device Manager. | ||
|
|
||
| NOTE: This ensures the connection is closed properly. Otherwise, the device will remain in use in the Kobiton Portal and be inaccessible to other users. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.