Converting test cases written in google sheets to an uploadable format supported by QATouch with help of a script.
The current test case has the below limitations and needs to be formatted in a way that is compatible with QATouch migration.
Please download APP Script Code
Existing Test Case Template (Limitations):
QATouch Supported Format (Expected):
The script will identify the row type of each row using the following conditions.
Rowtype | Conditions | Action |
Empty | All columns are empty | No Action |
Header or Comment | If ID(col-1) OR TestName (col-2) OR Test description(col-3) OR Test tags (col-4) has any value (not empty) | Delete that row |
Test Steps | Test Name & Description is empty & (Either Steps/Result is not empty) | Add row id to the array |
Test Case Start | Test Name & Description is NOT empty & (Either Steps/Result is not empty) |
|
Please download APP Script Code
Excel sheet - APP Script
Here you can download the script Copy and Paste APP Script Code in the editor.
Need to provide permission
If you getting above error message, need to add a Service,
Success message