public final void setPropertyValue(String testStep, String property, String value) throws Exception {
if (!(context instanceof TestCaseRunContext)) {
return;
}
TestStep step = ((TestCaseRunContext) context).getTestCase().getTestStepByName(testStep);
if (step != null) {
step.setPropertyValue(property, value);
} else {
throw new Exception("Missing TestStep [" + testStep + "] in TestCase");
}
}