Legacy | Step start
-
Command: test
-
Subcommand: step
-
Supported Platforms: Native (legacy), UFT (legacy), Selenium
All commands must be executed using the same framework. Sharing the execution ID between different frameworks is not possible. This means that if you work with a Selenium/Appium driver, you need to call the commands using the Selenium/Appium driver (or, in the case of Reporting commands, through the Reporting SDK that works with the driver) and not as part of a UFT test or another framework.
-
Supported OS: Android, iOS
Description
Command used to designate the start of a new logical step in the test script. Each step is reported in the report and provides access to a particular segment of the report video. In addition, steps make it easier to follow the flow of the test execution.
Used together with the Step end command.
Parameters
Name |
Value |
Default |
Description |
---|---|---|---|
name |
Unnamed Step |
The name of the test step to be used in the Reporting dashboard. |
* Mandatory
Request & Response
Request
https://mycloud.perfectomobile.com/services/executions/johnt_controller_17-02-23_10_41_28_9?operation=command&securityToken=<your_token>&command=test&subcommand=step¶m.name="ExecStep_1"
JSON response
"reportPdfUrl": "http://localhost:8082/export/api/v1/test-executions/pdf?externalId[0]=johnt_controller_17-02-23_10_41_28_9",
"executionId": "johnt_controller_17-02-23_10_41_28_9",
"reason": "Success",
"returnValue": "",
"testGridReportUrl": "http://localhost:3000?TENANTID=10000001&externalId[0]=johnt_controller_17-02-23_10_41_28_9",
"singleTestReportUrl": "http://localhost:8080/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/170223/controller_17-02-23_10_41_28_9.xml&ownerId=johnt@perfectomobile.com&sharingCode=c6f3b25c-2c46-4060-a32c-167b397b0506",
"description": "Success",
"reportKey": "PRIVATE:controller/170223/controller_17-02-23_10_41_28_9.xml",
"completed": "true",
"flowEndCode": "SUCCEEDED"