Page 1 of 1

How to Visual Studio for Ranorex Scripting ??

Posted: Thu Apr 14, 2011 7:36 am
by Ravindra.D
Hi,

I tried to use Visual Studio for Ranorex Scripting using C#.NET, I added .cs file of Repository generated by ranorex studio, I added Ranorex.Core in reference but when i tried to build that project in VS2008, i got error.

"The type or namespace name 'WebDocument' does not exist in the namespace 'Ranorex' (are you missing an assembly reference?)"

Image

Please guide me.

Thanks & Regards,
Ravindra Dave
Email : [email protected]

Re: How to Visual Studio for Ranorex Scripting ??

Posted: Thu Apr 14, 2011 12:04 pm
by Support Team
Hi,

Please take a look to following documentation
http://www.ranorex.com/support/user-gui ... ation.html

It seems you are just missing a reference which is needed to compile your project.

Regards,
Peter
Ranorex Team

Re: How to Visual Studio for Ranorex Scripting ??

Posted: Tue Jan 31, 2012 9:53 am
by Stian
I am having the same problem:
"The type or namespace name 'WebDocument' could not be found (are you missing a using directive or an assembly reference?)"

There is no object in the Ranorex.Core assembly called WebDocument.

What am I missing?

Re: How to Visual Studio for Ranorex Scripting ??

Posted: Tue Jan 31, 2012 10:06 am
by Stian
Found it - it was in Ranorex.Plugin.Web. This assembly needs to be referenced as well to use WebDocument.