Hi
I have multiple Children tests that are executed as 'test-as-step' by parent test. Since all children override the same method OnAfterTestCompleted from BaseWebAiiTest I decided to remove redundancy by introducing new class:
public
class
TestStep : BaseWebAiiTest
{
public
override
void
OnAfterTestCompleted(TestResult result)
{
// My custom code goes here
base
.OnAfterTestCompleted(result);
}
}
Error attempting to execute a Test As Step. Details:
System.ArgumentException: String cannot have zero length.
at System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throwOnError, Boolean ignoreCase, ObjectHandleOnStack type)
at System.Reflection.RuntimeAssembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at System.Reflection.Assembly.GetType(String name)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureTypeExists(Assembly assm, String typeName)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(Test test)