Cadet 3rd Class
Cadet 3rd Class
831 views

Manual and Gherkin Test Steps

Hello.

I am trying to migrate tests from one octane instance to another using the API interface.

I am not able to export the test steps.

How can I view and import the steps of a manual or a gherkin test?

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

Hi,

You can retrieve / set the test steps / scripts via this resource:

api/shared_spaces/{shared_space_uid}/workspaces/{workspace_id}/{types}/{entity_uuid}/script/

If you create scripts: Actually there was an error in Octane that you had to set a comment or else get an error. Not sure if that's fixed.

You can have a look at the GDPR Content Pack - download at https://marketplace.microfocus.com/appdelivery/content/gdpr-content-pack - in function fktImportTests to see an example how you can set test scripts / steps.

Regards,

Dirk

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.