Added new reference dll

Experiences, small talk, and other automation gossip.
singhkvishal
Posts: 1
Joined: Wed Jan 27, 2016 1:21 pm

Added new reference dll

Post by singhkvishal » Wed Jan 27, 2016 1:28 pm

Hi team,

I have added a new reference dll file on my renorex test suit. The reference name is "TestStak.White" which is use to identify the windows object and I am able to view the function on this dll.getting the error while running the code
Can someone please help me to solve this issue?
Attachments
Error.PNG
Error.PNG (53.31 KiB) Viewed 902 times

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Added new reference dll

Post by krstcs » Thu Jan 28, 2016 1:16 pm

If you read the error message it tells you that you need to add TestStack to your using directives.

At the top of the file, add 'using TestStack;'. Then, you should be able to reference White without using 'TestStack.White', and you shouldn't get those errors anymore.
Shortcuts usually aren't...