How to attach a file to a test case/step (creating tests)
Hi All, While setting up test cases, i am wondering how i could attach a file to a test case/step so that when a tester executes the test case, a file is available to check. For example, the test case is "download file and check to see if same as attachment" - this test case downloads a file and if it matches the file which is attached to the test step or case, then the test passes. How and where to attach the file to be compared with? I can see in the test data section of the test step there are options for insert link, picture but thing for a file. I hope im explaining this correctly.Solved2.4KViews0likes4CommentsYour Journey to Atlassian Jira Cloud with Zephyr Scale
Greetings community, Surely by now, most of you are aware of Atlassian’s shift in strategy to become a cloud-first company. This has some important implications to anyone who uses their Server based products, including apps. TL;DR: Follow these steps to migrate your Zephyr Scale app data using JCMA: Follow Atlassian's guide to setup theJCMA Followour Cloud migration guide to complete the migration Key dates per Atlassian’s FAQ page: February 2, 2021 – Atlassian customers can no longer purchase or request a quote for new Server licenses. February 2, 2022 – you will no longer be able to upgrade or downgrade user tiers for your Server products or apps (with some exceptions) February 2, 2023 – Existing customers can no longer purchase Server apps on the Marketplace February 2, 2024 – Atlassian stops support for Server products and apps What does this mean for Zephyr Scale customers? From my calls with some of you, and what I keep hearing from our support team, is that many of you are already actively exploring your options. While some are choosing to stick with on-prem by moving to Data Center, many of you are making plans to migrate everything to Cloud, including apps. Here at SmartBear, we are committed to facilitating a smooth transition to Cloud for all our customers. This includes brining feature parity between Server and Cloud products, supporting automated migration tools like JCMA, and be compliant with a number of Atlassian Cloud security and reliability programs on the Marketplace (e.g. Cloud Fortified). What is the recommended migration path to Cloud? Atlassian’s Jira Cloud Migration Assistant (JCMA) is your primary path to Cloud. It is an application that helps you move projects, users, and groups from Jira Core or Jira Software on Server to Cloud.The automated app migration functionality in JCMA is now in an open beta, which means that all users can migrate their app data over to Cloud. Are there any feature differences between Jira Server and Cloud versions of Zephyr Scale? If you want to move to the Cloud version of Zephyr Scale, it’s worth considering feature differences from Server. We’ve created a handy Server/DC vs Cloud comparison matrix where you can review these differences in detail. Are there any limitations regarding what data I can migrate using JCMA tool? Yes. Because of feature differences between the Server and Cloud versions of the Zephyr Scale, some data will not be migrated. Please refer to the ‘Limitations’ section of the Cloud Migration Guide. What if I need any help with the migration? If you require technical assistance, please check out the Cloud Migration FAQ or raise a ticket with our support team. Tell us a bit about your Cloud migration journey I’ll conclude this post with a question to you, our awesome community. What is your plan of action around migrations? Please spend a moment to fill our this short survey to let us know!2KViews3likes1Commenthow to Integrate Zephyr Squad or Zephyr Scale with Azure DevOps.
I want to Integrate Zephyr Squad/Scale with Azure DevOps Pipeline , Because After running CI-CD pipeline on Azure Devops, it will generate results in the form of Excel file(.xlsx) & Screenshots(.png). so Now Want toSend Test Results from Azure DevOps to Zephyr Squad/Scale. To transfer your test-execution results from Azure DevOps back to Zephyr Scale/Squad, what should I do can anybody suggest. Now I m following Zephyr Squad documention:- Continuous Integration. url:https://support.smartbear.com/zephyr-squad-cloud/docs/continuous-integration/integration-script.htmlSolved2KViews0likes2CommentsI want to Integrate Zephyr Scale with Azure DevOps.
I want to Integrate Zephyr Scale with Azure DevOps, here I have python selenium code, I m running this code using Ci-CD pipelines, so I is generating result in the form of .xlsx file & screenshots(.png file) & It will store in folder on local drive C, now I want to send this result from local drive to Zephyr Scale. so I m following 1 blog, I have attached url below: https://support.smartbear.com/zephyr-scale-cloud/docs/continuous-integration/bamboo-integration.html so can you suggest some solution for me.1.7KViews0likes0CommentsUnable to migrate Zephyr Squad test cases to Zephyr Scale
Hi, I am trying to migrate Zephyr squad test cases to Zephyr Scale. regarding this migration i have followed this link https://support.smartbear.com/zephyr-scale-server/docs/test-cases/import/from-zephyr.html after the migration of test cases to Zephyr Scale some of the issues i have observed 1. Space between the data is missing. regarding this i have attaching image please see. 2. In the original zephyr squad test cases we have Epic Link field but after the migration the field data is not migrated, and field is also not migrated. Could you please help me on this. Thanks in advance.1.7KViews0likes1CommentYour Journey to Atlassian Jira Cloud with Zephyr Squad
Greetings community, Surely by now, most of you are aware of Atlassian’s shift in strategy to become a cloud-first company. This has some important implications to anyone who uses their Server based products, including apps. TL;DR: Follow these steps to migrate your Zephyr Squad app data using JCMA: Follow Atlassian's guide to setup theJCMA Followour Cloud migration guide to complete the migration Key dates per Atlassian’s FAQ page: February 2, 2021 – Atlassian customers can no longer purchase or request a quote for new Server licenses. February 2, 2022 – you will no longer be able to upgrade or downgrade user tiers for your Server products or apps (with some exceptions) February 2, 2023 – Existing customers can no longer purchase Server apps on the Marketplace February 2, 2024 – Atlassian stops support for Server products and apps What does this mean for Zephyr Squad customers? From my calls with some of you, and what I keep hearing from our support team, is that many of you are already actively exploring your options. While some are choosing to stick with on-prem by moving to Data Center, many of you are making plans to migrate everything to Cloud, including apps. Here at SmartBear, we are committed to facilitating a smooth transition to Cloud for all our customers. This includes brining feature parity between Server and Cloud products, supporting automated migration tools like JCMA, and be compliant with a number of Atlassian Cloud security and reliability programs on the Marketplace. What is the recommended migration path to Cloud? Atlassian’s Jira Cloud Migration Assistant (JCMA) is your primary path to Cloud. It is an application that helps you move projects, users, and groups from Jira Core or Jira Software on Server to Cloud.The automated app migration functionality in JCMA is now in an open beta, which means that all users can migrate their app data over to Cloud. Are there any feature differences between Jira Server and Cloud versions of Zephyr Squad? If you want to move to the Cloud version of Zephyr Squad, it’s worth considering feature differences from Server. We’ve created a handy Server/DC vs Cloud comparison matrix where you can review these differences in detail. Are there any limitations regarding what data I can migrate using JCMA tool? Yes. Because of feature differences between the Server and Cloud versions of the Zephyr Squad, some data will not be migrated. Please refer to the ‘Known issues and limitations’ section of the Cloud Migration Guide. Are there any alternatives to using JCMA? Yes.Zephyr Migration Tool by SmartBear is another solution for migrating Zephyr Squad data from Jira Server to Jira Cloud. This approach is recommended if JCMA isn't working for you, and your Jira instance is middle-sized with a few projects, as this migration utility can migrate Zephyr Squad data only for one project at a time. What if I need any help with the migration? If you require technical assistance, please check out the Cloud Migration FAQ or raise a ticket with our support team. Tell us a bit about your Cloud migration journey I’ll conclude this post with a question to you, our awesome community. What is your plan of action around migrations? Please spend a moment to fill our this short survey to let us know!1.6KViews3likes0CommentsQuestion for AQA. How to push TestNG automation test results into needed TestSycle?
Hi All, I am test automation engineer. I try to integrate Zephyr Scale into my automation project. I use this API call to do this: https://api.zephyrscale.smartbear.com/v2/automations/executions/junit?projectKey=RLPR&autoCreateTestCases=false(orTrue - it gives the same results actually). PLPR is my project and this param works good.autoCreateTestCasesparam seem not working to me. As the results of this API call it creates a new TestCycle with my executed test cases and results witch is good already! But! it creates this TestCycle somewhere even not visible in the UI. So no one could not even find it easily. I managed to find it guessing the IDs over the URL. The reason I see - the folder is not selected for this automatically createdTestCycle. What I want to do but can not find how: add my results to the already createdTestCycle? My best case scenario and proposed workflow is: 1. We start regression testing -> CreateTestCycle with name 'Regression' with all available test cases inZephyr Scale. 2. I run my automation test cases. Let's say there are 100 test cases automated. 3. I run API call to mark my results in'Regression' TestCycle. Please, help cuz I do not see good options right now. Thanks a lot!Solved1.6KViews0likes7Commentshow to upload junit test result file to existing test cycle
As of now every time when we upload the junitresult.xml file into the zephyr scale, it creates a new test cycle. but I want to upload it to the existing test cycle and to a specific folder in the same post-call. which is not happening now. to customize the test cycle name I am sending the test cycle JSON object along with the junitresultfile.xml but, post-call is ignoring the test cycle JSON object. below is my request: import json import requests def upload_result_to_zyphyr(): headers = { 'Authorization': 'Bearer Token' } params = ( ('projectKey', 'xxx'), ('autoCreateTestCases', 'true'), ) payload = { "name": "Sanity", "description": "Any additional description can be added here.", "jiraProjectVersion": 'null', "folderId": 1111111, } files = { 'file': open('junitresult.xml', 'rb'), } data = {'data': json.dumps(payload)} response = requests.post('https://api.zephyrscale.smartbear.com/v2/automations/executions/junit', headers=headers,params=params, data=data, files=files) print(response.content) upload_result_to_zyphyr() Response: I am getting a successful response with 200 OK and the result file is getting uploaded into the test cycle but, test cycle customization is not working. Any suggestion on the above-mentioned points will be really appreciable.1.3KViews0likes1Commenterror with migrating Zephyr Squad data via Migration Tool
I'm getting this error when trying to migrate a project to the cloud, using the migration tool: 2021-10-07 14:54:32,244 - ERROR - c.z.m.s.i.IssueServiceImpl - Error occurred while fetching the test (issue) details from jira org.codehaus.jackson.map.JsonMappingException: No suitable constructor found for type [simple type, class com.atlassian.jira.rest.client.api.domain.Version]: can not instantiate from JSON object (need to add/enable type information?) at [Source: java.io.StringReader@177f5881; line: 1, column: 173305] (through reference chain: com.zephyr.migration.model.TestCaseBean["issues"]->com.zephyr.migration.model.Issue["fields"]->com.zephyr.migration.model.Field["fixVersions"]) at com.zephyr.migration.service.impl.IssueServiceImpl.getIssueDetailsFromJira(IssueServiceImpl.java:76) at com.zephyr.migration.service.impl.MigrationServiceImpl.beginTestStepsMigration(MigrationServiceImpl.java:1200) at com.zephyr.migration.service.impl.MigrationServiceImpl.beginExecutionMigration(MigrationServiceImpl.java:708) at com.zephyr.migration.service.impl.MigrationServiceImpl.migrateSingleProject(MigrationServiceImpl.java:111) at com.zephyr.migration.controllers.MigrationViewController.processForm(MigrationViewController.java:33) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:878) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:792) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) at javax.servlet.http.HttpServlet.service(HttpServlet.java:652) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) I've highlighted the offending line. Can someone point me in the right direction as to what's going wrong here, please? at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1589) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:829)Solved1.3KViews0likes3Comments