Legacy | End step
-
Command: step
-
Subcommand: end
-
Supported Platforms: Native (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 optionally indicate the end of the current logical step. 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 in conjunction with the Start step command.
Parameters
Name | Value | Default | Description |
---|---|---|---|
message | The name of the test step to be used in the Reporting dashboard. |
* Mandatory parameter
Request & Response
Request
https://mycloud.perfectomobile.com/services/executions/johnt_controller_17-04-23_11_50_45_3?operation=command&securityToken=<your_token>&command=step&subcommand=end¶m.message="Deposited in account"
JSON response
"reportPdfUrl": "http://localhost:8082/export/api/v1/test-executions/pdf?externalId[0]=johnt_controller_17-04-23_11_50_45_3",
"executionId": "johnt_controller_17-04-23_11_50_45_3",
"reason": "Success",
"returnValue": "",
"testGridReportUrl": "http://localhost:3000?TENANTID=10000001&externalId[0]=johnt_controller_17-04-23_11_50_45_3",
"singleTestReportUrl": "http://localhost:8080/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/170223/controller_17-04-23_11_50_45_3.xml&ownerId=johnt@perfectomobile.com&sharingCode=c6f3b25c-2c46-4060-a32c-167b397b0506",
"description": "Success",
"reportKey": "PRIVATE:controller/17022/controller_17-04-23_11_50_45_3.xml",
"completed": "true",
"flowEndCode": "SUCCEEDED"