Giter Club home page Giter Club logo

.github's People

Contributors

mikael-andersson91 avatar

Watchers

 avatar

.github's Issues

Build a Run Test workflow

Build a workflow for triggering test cases in Test Manager. Use ./uipcli test

`PS C:\uipathcli\lib\net461> .\uipcli.exe test run --help
UiPath Command Line Interface v20.11.0-dev
Copyright (c) 2019-2020 UiPath Inc.

-P, --project-path The path to a test package file.
-s, --testset The name of the test set to execute. The test set should use the latest version of the test cases. If the test set does not belong to the default folder (organization unit) it must be prefixed with the folder name, e.g. AccountingTeam\TestSet
--out Type of result file
-r, --result_path Results file path
-e, --environment The environment to deploy the package to. Must be used together with the project path. Required when not using a modern folder.
-w, --timeout The time in seconds for waiting to finish test set executions. (default 7200)
-i, --input_path The full path to a JSON input file. Only required if the entry-point workflow has input parameters and you want to pass them from command line.
-u, --username Required. The Orchestrator username used for authentication. Must be used together with the password.
-p, --password Required. The Orchestrator password used for authentication. Must be used together with the username.
-t, --token Required. The Orchestrator OAuth2 refresh token used for authentication. Must be used together with the account name and client id.
-a, --accountName Required. The Orchestrator CloudRPA account name. Must be used together with the refresh token and client id.
-A, --accountForApp The Orchestrator CloudRPA account name. Must be used together with id, secret and scope(s) for external application.
-I, --applicationId Required. The external application id. Must be used together with account, secret and scope(s) for external application.
-S, --applicationSecret Required. The external application secret. Must be used together with account, id and scope(s) for external application.
--applicationScope Required. The space-separated list of application scopes. Must be used together with account, id and secret for external application.
-o, --organizationUnit The Orchestrator folder (organization unit).
-l, --language The orchestrator language.
-y, --disableTelemetry Disable telemetry data.
--traceLevel
--help Display this help screen.
--version Display version information.
Orchestrator URL (pos. 0) Required. The URL of the Orchestrator instance.
Orchestrator Tenant (pos. 1) Required. The tenant of the Orchestrator instance.

test run usage: test run <orchestrator_url> <orchestrator_tenant> [-i <input_path>] [-P ] [-s ] [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-e ] [-o <folder_organization_unit>] [-l ]

Examples:
test run "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -s "MyRobotTests"
test run "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -P "C:\UiPath\Project\project.json" -e TestingEnv
test run "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -P "C:\UiPath\Project\project.json" -o MyFolder
test run "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -P "C:\UiPath\Project\project.json" -o MyFolder -e MyEnvironment
test run "https://uipath-orchestrator.myorg.com" default -A myAccountForExternalApp -I myExternalAppId -S myExternalAppSecret --applicationScope "OR.Folders.Read OR.Settings.Read" -s "MyRobotTests"
test run "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount -s "MyRobotTests"
test run "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount -P "C:\UiPath\Project\project.json" -e TestingEnv --out junit
test run "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount -P "C:\UiPath\Project\project.json" -e TestingEnv -r "C:\results.json" --out uipath -l en-US
test run "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount -P "C:\UiPath\Project\project.json" -e TestingEnv -r "C:\results.json" -i "C:\UiPath\Project\input-params.json" --out uipath -l en-US

PS C:\uipathcli\lib\net461>
`

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.