How to Visual Studio for Ranorex Scripting ??

Ask general questions here.
Ravindra.D
Posts: 6
Joined: Fri Feb 18, 2011 1:11 pm

How to Visual Studio for Ranorex Scripting ??

Post by Ravindra.D » Thu Apr 14, 2011 7:36 am

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]
Thanks & Regards,
Ravindra Dave
Email : [email protected]

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to Visual Studio for Ranorex Scripting ??

Post by Support Team » Thu Apr 14, 2011 12:04 pm

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
.
Image

Stian
Posts: 25
Joined: Mon Jan 30, 2012 9:38 am

Re: How to Visual Studio for Ranorex Scripting ??

Post by Stian » Tue Jan 31, 2012 9:53 am

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?

Stian
Posts: 25
Joined: Mon Jan 30, 2012 9:38 am

Re: How to Visual Studio for Ranorex Scripting ??

Post by Stian » Tue Jan 31, 2012 10:06 am

Found it - it was in Ranorex.Plugin.Web. This assembly needs to be referenced as well to use WebDocument.