When I run my test though Ranorex the application is throwing an
"Object reference not set to in instance of an object" error.
If I run the application outside of Ranorex and perform the same steps the application does not error.
I have tried re-recording the steps.
Anyone got any ideas what might be going on?
thanks
June
Application fails if run using Ranorex
Re: Application fails if run using Ranorex
A few questions for you:
Is it your application that is throwing the error or is it Ranorex?
What version of Ranorex are you using?
Are you writing your own code (user-code modules or pure C# with Ranorex library reference)?
What technology is your application under test written in (Java, .NET, Web, etc.)?
My guess without these answers (is a guess, so take it for what it's worth...
) is that the error is actually in Ranorex and that you probably have some code or action that is trying to reference a repository object or an attribute of an object when that object or attribute doesn't exist, so you are getting a null reference exception (which is basically what that error is).
Is it your application that is throwing the error or is it Ranorex?
What version of Ranorex are you using?
Are you writing your own code (user-code modules or pure C# with Ranorex library reference)?
What technology is your application under test written in (Java, .NET, Web, etc.)?
My guess without these answers (is a guess, so take it for what it's worth...

Shortcuts usually aren't...