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"
}
]
}
In My CSV file i do not have empty fields but have charaters like - , ( ,£ will this affect ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.