I am extracting the value "BC_PolEffectiveDate" from a web application and comparing it to a value "EffectiveDate" in the database.
I can see from the log when these two values do not match but when i run the script on a schedule, Test Studio returns just a pass or fail info and the test passes either by going into the IF or ELSE condition. I need to fail the test when the script goes into the ELSE condition. How can i handle that? Is there a custom code that i can use to change the status of the test when i encounter certain conditions?