external library

Best practices, code snippets for common functionality, examples, and guidelines.
Posts: 2
Joined: Tue Oct 09, 2018 8:14 pm

external library

Post by shardanian » Tue Oct 09, 2018 8:22 pm

I’m trying to utilize an existing library (.dll) in Ranorex. I’m getting "The name 'TestAutomation' does not exist in the current context (CS0103)". Here what I did. I created a new library in Visual Studio (.dll). Then I added this library to Ranorex solution so it’ll be shared by all projects. However, when I try to compile the project, I’m getting compilation error (see above error message). Please note I’m able to make call to the library invoking various methods.
Thanks for all the help.


User avatar
Ranorex Guru
Ranorex Guru
Posts: 7465
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: external library

Post by odklizec » Wed Oct 10, 2018 7:29 am


How exactly have you added the library? Are you sure you referenced it?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration