User Tools

Site Tools


steps_to_migrate_test_case_steps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
steps_to_migrate_test_case_steps [2018/11/01 13:28]
root
steps_to_migrate_test_case_steps [2018/11/01 15:39] (current)
root
Line 2: Line 2:
  
 Migrating test cases is not an easy task, if you follow the steps below, you should be successful. Reference from:  Migrating test cases is not an easy task, if you follow the steps below, you should be successful. Reference from: 
 +
 [[https://zephyrdocs.atlassian.net/wiki/spaces/ZFJ0400/pages/422576142/Import|Import]] [[https://zephyrdocs.atlassian.net/wiki/spaces/ZFJ0400/pages/422576142/Import|Import]]
 +
 [[https://zephyrdocs.atlassian.net/wiki/spaces/ZFJ0400/pages/422805574/Search+Test+Executions|Search Executions]] [[https://zephyrdocs.atlassian.net/wiki/spaces/ZFJ0400/pages/422805574/Search+Test+Executions|Search Executions]]
 +
  
 Step 1: Create filter on source for the project that you're exporting test cases for, name it as "migration ABC tests" Step 1: Create filter on source for the project that you're exporting test cases for, name it as "migration ABC tests"
 +
 Step 2: Open project and create single test cycle with all the test cases: Step 2: Open project and create single test cycle with all the test cases:
 +
 a) Tests -> Plan Test Cycle a) Tests -> Plan Test Cycle
 +
 b) Create Cycle (+ button) -> give it a name such as "Migrated API Tests" (used in step 3b) b) Create Cycle (+ button) -> give it a name such as "Migrated API Tests" (used in step 3b)
 +
 c) Click the 3 dots button -> Add Tests c) Click the 3 dots button -> Add Tests
 +
 d) Select "Via Search Filter" enter the name of the filter you created in Step 1 and click the "Add" button d) Select "Via Search Filter" enter the name of the filter you created in Step 1 and click the "Add" button
 +
 e) Verify that you  have the right amount of test cases in your test cycle. e) Verify that you  have the right amount of test cases in your test cycle.
  
 Step 3: Export test executions to CSV Step 3: Export test executions to CSV
 +
 a) In the project, go to Tests -> Search Test Executions a) In the project, go to Tests -> Search Test Executions
 +
 b) Perform a ZQL search as follows: cycleName = "Migrated ABC Tests"  (---name comes from Step 2b) b) Perform a ZQL search as follows: cycleName = "Migrated ABC Tests"  (---name comes from Step 2b)
 +
 c) Click Export (button) -> CSV c) Click Export (button) -> CSV
 +
 d) Give short meaningful name (there is a character limit on sheet length, I recommend names no longer than 12 characters) ex. ABCExport.csv d) Give short meaningful name (there is a character limit on sheet length, I recommend names no longer than 12 characters) ex. ABCExport.csv
  
 Step 4: Since Description does not come through, it has to be copied in manually, follow the steps below: Step 4: Since Description does not come through, it has to be copied in manually, follow the steps below:
 +
 a) go to Issues -> Search for Issues a) go to Issues -> Search for Issues
 +
 b) load up the filter from Step 1 b) load up the filter from Step 1
 +
 c) Open the CSV file from Step 3 in Excel c) Open the CSV file from Step 3 in Excel
 +
 d) Create empty column in column E  d) Create empty column in column E 
 +
 e) Add the field name Description in first row of column E e) Add the field name Description in first row of column E
-f) For each row of Issue Key (column C) type description from filter into the spreadsheet+ 
 +f) For each FIRST row of Issue Key (column C) type description from filter into the spreadsheet 
 g) For any fields that don't have anything, you need to put something, I recommend N-A g) For any fields that don't have anything, you need to put something, I recommend N-A
  
Line 35: Line 55:
  
 Step 8: Select the following for options: Step 8: Select the following for options:
 +
 a) Project - Project name where you're importing to (ABC) a) Project - Project name where you're importing to (ABC)
 +
 b) Issue Type - Test b) Issue Type - Test
 +
 c) File Type for Upload - Excel c) File Type for Upload - Excel
 +
 d) Link type & Link - leave blank d) Link type & Link - leave blank
 +
 e) Discriminator - By Test Name Change e) Discriminator - By Test Name Change
 +
 f) Select file to Import - browse for the file you're importing (xls file) f) Select file to Import - browse for the file you're importing (xls file)
  
Line 45: Line 71:
  
 Step 10: Map mandatory fields in order to get the test cases: Step 10: Map mandatory fields in order to get the test cases:
 +
 a) Name - Test Summary a) Name - Test Summary
 +
 b) Step - Step b) Step - Step
 +
 c) Result - Expected Result c) Result - Expected Result
 +
 d) Testdata - Test Data d) Testdata - Test Data
  
 Step 11: Optionally map additional fields as needed. Note for example "Component/s" must exist in project to match. They will not be created. We are mapping the following: Step 11: Optionally map additional fields as needed. Note for example "Component/s" must exist in project to match. They will not be created. We are mapping the following:
 +
 a) Priority - Priority a) Priority - Priority
 +
 b) Component/s - Component/s b) Component/s - Component/s
 +
 c) Comments - Comment c) Comments - Comment
 +
 d) Description - Description (from Step 4) d) Description - Description (from Step 4)
 +
 e) Fix Version/s - Version e) Fix Version/s - Version
  
steps_to_migrate_test_case_steps.1541093294.txt.gz · Last modified: 2018/11/01 13:28 by root