String Assertion specific to two values from parameterized excel
Hi Team,
I have scenario where i will pass "active" to get active orders,"expired" to get expired orders.
Where as i am passing "expired","active" in an array to get both status orders.
In this situation how do i validate only both status orders have been retrieved?
Note: validation is passed as a argument from excel.
[1.active, 2.expired 3. active, expired]
Regards
Udaya
Comments
-
What does your response payload look like?
0 -
Array of response which carries status as element.
0 -
Please post a sample - that's still not enough information to know how to help.
0 -
[{
"OrderNo":"2121"
"status"::active"
"orderType":"SB"
},
{
"OrderNo":"2121"
"status"::active"
"orderType":"SB"
},
{
"OrderNo":"2121"
"status"::active"
"orderType":"SB"
},
{
"OrderNo":"2121"
"status"::active"
"orderType":"SB"
}]0 -
[{
"OrderNo":"2121"
"status"::active"
"orderType":"SB"
},
{
"OrderNo":"2121"
"status"::active"
"orderType":"SB"
},
{
"OrderNo":"2121"
"status"::active"
"orderType":"SB"
},
{
"OrderNo":"2121"
"status"::active"
"orderType":"SB"
}]0