AnsweredAssumed Answered

Scripted Assertion not working Devtest 8.4

Question asked by prat130193 on Nov 24, 2017
Latest reply on Nov 29, 2017 by Ulrich_Vogt

i have written below scripted assertion but result is always false.

 


String c=testExec.getStateValue("state").toString();
if(c.equalsIgnoreCase("true"))
{
return false;
}
else
{
return true;
}

 

here state is a property which will have value true or false from previous step. but eventhough the value of state is either true or false assertion is always false.

Outcomes