Unable to Import testcases in X-ray

Muhammad Ghufran Haque October 12, 2020

I am trying to import a testcase but getting error, the JSON file says xray""Invalid test type \"manual\"" where as i have enabled the test types from X-ray configuration. This is how my csv looks like 

Test ID;Summary;Test Type;Priority;Component;Acion,Data;Result;
1;Create customer (customer modal);Manual;High;Customer;;,User successfully creates a customer

 

{    "errors": [        {            "elementNumber": 0,            "errors": [                {                    "xray": "Invalid test type \"manual\""                }            ]        }    ],    "issues": []}

 

2 answers

1 vote
Tomy Varghese May 7, 2021

I resolved the same by trimming the spaces in the .csv ie. "manual "---> "manual"

Amit Chorgi October 6, 2021

Agree,

My problem also resolved by the same.

I did below

Control H (Find and replace) = "Manual " by

                                                   "Manual"

0 votes
Sergio Freire - Xblend
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2020

Hi @Muhammad Ghufran Haque 

Concerning the concrete error you're having, you'll need to provide more information so I recommend you to reach out Xray support and the team will be glad to help you out.

Best Regards, 

Sérgio

_____________

Solution Architect and Testing Advocate @Xray

Personal blog on testing, Agile, and software development: https://sergiofreire.com

Follow me on Twitter: https://twitter.com/darktelecom

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events