Anastasia
8 years agoNew Contributor
Sometimes tests fail in a random way
Hello!
I have problems with running my tests. Some tests fail in a random way. Tests, have been failed once, can be passed next time.
Error examples:
System.InvalidCastException : Unable to cast object of type 'System.DBNull' to type 'System.String'. at AutomatedQA.script.var.op_Implicit(var arg) System.MissingMethodException : Method 'System.DBNull.Click' not found. at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at AutomatedQA.script.var.VarDelegate.CallNoPop(var[] args) at AutomatedQA.script.var.VarDelegate.CallStatic(var[] args) System.InvalidCastException : Specified cast is not valid.
Can you help me? How can I solve this problem?
OS: Windows 7
TestComplete/Test Execute version: 10.0.531.7
Thank you!
Anastasia