Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Whats the below issue ?

albertmartin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2025
elementNumber": 46,
            "errors": [
                {
                    "xray": "Step 2 is missing following required fields: action."

1 answer

1 vote
Piyush Annadate _ACE Pune_
Community Champion
May 21, 2025

Hi @albertmartin ,
Welcome to the Community !
Seems the input doesn't have ACTION step which is manadatory in your xray test cases.

In Xray (especially while importing tests in JSON or CSV format), each test step must include certain required fields such as:

  • action (what to do)

  • data (optional - test data used)

  • result (expected outcome)

Since the action is mandatory, if it's not present, you get this error. Kindly check your input json/csv as below:



{
"testSteps": [
{
"step": 1,
"action": "Open the login page",
"data": "",
"result": "Login page is displayed"
},
{
"step": 2,
"action": "Enter valid username and password",
"data": "username: testuser, password: 12345",
"result": "User is logged in successfully"
}
]
}

 

albertmartin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2025

In My CSV file i do not have empty fields but have charaters like - , ( ,£ will this affect ?

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events