Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHi!
yes.. the following properties are set in the context of the called TestCase;
(excerpt from java code)
properties.put( "#CallingRunTestCaseStep#", this );
properties.put( "#CallingTestCaseRunner#", testRunner );
properties.put( "#CallingTestRunContext#", testRunContext );
so in your target testcase you can do
// running from a run testcase?
if( context.getPropertyValue( "#CallingTestCaseRunner#" ) != null )
{
...
}
hope this helps!
regards,
/Ole
eviware.com
yes.. the following properties are set in the context of the called TestCase;
(excerpt from java code)
properties.put( "#CallingRunTestCaseStep#", this );
properties.put( "#CallingTestCaseRunner#", testRunner );
properties.put( "#CallingTestRunContext#", testRunContext );
so in your target testcase you can do
// running from a run testcase?
if( context.getPropertyValue( "#CallingTestCaseRunner#" ) != null )
{
...
}
hope this helps!
regards,
/Ole
eviware.com