is it possible to automate on creation test cycles and folder under Tests>Execute Tests.
I have a requirement that in our project where we need to create folders Under Tests>Execute test>Test cycles/Folders section.Every time I need to create some set of folders and Add test cases individually.Is there a way this can be automated and reduce manual work.All I need is to create few folders and add more than 50 test cases Via search filter for each folder.247Views0likes1CommentTest Steps Comment in the Test Execution
Hello, I am looking for details on getting comments from the Test Execition's Test Steps via API for Zephyr Squad. Is this even possible? Help would be greatly appreciated as this is for our tool to migrate from Squad to Scale. Kind regards, MB217Views0likes1CommentHow can I address Zephyr fields in Xporter templates?
I want to create a Xporter template for exporting test cases. The template works so far with attributes from the Jira issueType "Test". But when I use ${Zephyr Teststep}in the template, the following is written to the created export file (DOCX), in that case: [com.thed.zephyr.je.vo.TeststepBean@499df587, com.thed.zephyr.je.vo.TeststepBean@32dac2f1, com.thed.zephyr.je.vo.TeststepBean@3964d21] I was not able to figure out how to address the test step content of a Zephyr test case. I want to create a custom table with the test steps in the rows and the "step", "data" and "result" in the columns. How can I achieve this? I found the following XML snippet when a test case is exported to XML: <customfield id="customfield_11820" key="com.thed.zephyr.je:zephyr-je-customfield-teststep"> <customfieldname>Zephyr Teststep</customfieldname> <customfieldvalues> <steps> <step> <orderId>1</orderId> <step>Test step 1</step> <data>Test data 1</data> <result>Result 1</result> </step> <step> <orderId>2</orderId> <step>Test step 2</step> <data>Test data 2</data> <result>Result 2</result> </step> </steps> </customfieldvalues> </customfield> Another issue is: where do I find the documentation for Xporter and Zephyr for these versions? Jira Server: 8.20.11 Zephyr Squad: 6.2.9109Views0likes0CommentsCypress - Zephyr integration | Gitlab CI pipeline
Hi, I have an automation suite which is hosted in Gitlab. I have schedules and they are running periodically. I wanted to have them in our test management system which is Zephyr Squad Cloud. In the documentation, I have seen that Junit format is supported and Cypress has capability to generate Junit report. But I am having problems with uploading some reports if they contain failure and if their name has some special chars like (underscore _, which is not listed under banned chars for JQL restrictions) I am wondering if any of you have such an integration. Here is the video: (124) Using Zephyr for Jira within CI/CD Pipelines - YouTube1.7KViews0likes0CommentsMigration from Server to Cloud
We've been using a local instance of JIRA for over 15 years, and the Zephyr Add-On for at least 8 of those years. We are planning a migration to the Cloud, however we want to take this opportunity of starting a new JIRA environment. Therefore, we plan on selectively migrating a few projects to our new Cloud instance, leaving the obsolete projects behind. From watching the video of the SmartBear migration tool, it appears that it requires that we backup the entire local instance and overwrite our new and pristine Cloud environment with the clutter accumulated over the last 15 years. Is there a way to migrate our two Zephyr projects and Scripts without having to go the garbage out garbage in route? Thank you! Video: https://support.smartbear.com/zephyr-squad-server/docs/get-started/cloud-migration-guide/via-open-source-tool.html271Views0likes0CommentsHow do I export test cases and test step details to different project
We created a new project, And I want to create test cycle with test cases that are part of another project as some functionality is the same. I created a filter to locate the tests I want in the test cycle, but it will not add the tests from different project(s). How do I export and then import tests including test step details into the new project?324Views0likes1CommentIssue with Exporting Cycle into CSV filetype in Zephyr Squad REST API
Followed Official Doc: Zephyr Squad Cloud REST API (formerly Zephyr for Jira) GettingMissing parameter: projectIdas a response from Zephyr Squad. I am not getting why parameter of projectId is missing even though I have been passing this in parameters of CANONICAL_PATH and in Json cycle...? RELATIVE_PATH = '/public/rest/api/1.0/cycle/{}/export'.format(cycle_id) CANONICAL_PATH = 'GET&' +RELATIVE_PATH +'&' + 'projectId=' + str('10000') + '&versionId=' + str('10000') + '&exportType=' + str('CSV') Actual Result: <Response [400]> { "clientMessage": "Missing parameter: projectId", "errorCode": 151, "errorType": "ERROR" } Expected Result: Response status should be 200 and save the file into CSV format Complete Snippet: import json import jwt import time import hashlib import requests def is_json(data): try: json.loads(data) except ValueError: return False return True # USER ACCOUNT_ID = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx' # ACCESS KEY from navigation >> Tests >> API Keys ACCESS_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' # ACCESS KEY from navigation >> Tests >> API Keys SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' # JWT EXPIRE how long token been to be active? 3600 == 1 hour JWT_EXPIRE = 3600 # BASE URL for Zephyr for Jira Cloud BASE_URL = 'https://prod-api.zephyr4jiracloud.com/connect' # RELATIVE PATH for token generation and make request to api cycle_id = 'ca55798e-e9e8-4ebb-8b43-efac9360e615' RELATIVE_PATH = '/public/rest/api/1.0/cycle/{}/export'.format(cycle_id) CANONICAL_PATH = 'GET&/public/rest/api/1.0/cycle/' + cycle_id + '/export?' + 'projectId=' + str('10000') + '&versionId=' + str('10000') + '&exportType=' + str('CSV') # TOKEN HEADER: to generate jwt token payload_token = { 'sub': ACCOUNT_ID, 'qsh': hashlib.sha256(CANONICAL_PATH.encode('utf-8')).hexdigest(), 'iss': ACCESS_KEY, 'exp': int(time.time())+JWT_EXPIRE, 'iat': int(time.time()) } # GENERATE TOKEN token = jwt.encode(payload_token, SECRET_KEY, algorithm='HS256').strip() # REQUEST HEADER: to authenticate and authorize api headers = { 'Authorization': 'JWT '+token, 'Content-Type': 'application/json', 'zapiAccessKey': ACCESS_KEY } # REQUEST PAYLOAD: to create cycle cycle = { 'versionId': 10000, 'projectId': 10000, 'exportType': 'CSV', 'folderId': 'UI' } # MAKE REQUEST: raw_result = requests.get(BASE_URL + RELATIVE_PATH, headers=headers, json=cycle) print(raw_result) # Download the CSV file and save it to disk with open("Export.csv", "w", newline="") as csvfile: csvfile.write(raw_result.text) if is_json(raw_result.text): # JSON RESPONSE: convert response to JSON json_result = json.loads(raw_result.text) # PRINT RESPONSE: pretty print with 4 indent print(json.dumps(json_result, indent=4, sort_keys=True)) else: print(raw_result.text)346Views0likes0Comments