The name '[MethodName]' does not exist in current context.

Ask general questions here.
sstowe
Posts: 62
Joined: Thu May 31, 2018 2:26 pm

The name '[MethodName]' does not exist in current context.

Post by sstowe » Fri Jun 01, 2018 4:21 pm

I added a user code collection module with a method. I then added a user step to the recording and selected it from the library. On build I am receiving the above message. I see no place to add a full qualifier. I am clearly doing something simple wrong. Thank you.

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

Re: The name '[MethodName]' does not exist in current context.

Post by odklizec » Mon Jun 04, 2018 7:46 am

Hi,

What's the name of your method? Make sure it's not the same as the name of recording/code module or an existing Ranorex/System method.
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