Ranorex error, method name is not valid

Ask general questions here.
nathanjame
Posts: 1
Joined: Wed May 02, 2018 5:17 am

Ranorex error, method name is not valid

Post by nathanjame » Wed May 02, 2018 5:24 am

I am working on a test automation project, which I have built a code module collection for. In this collection:

I have a method named "Click_on_new_button"

But when I attempted to use this method in a recording, Ranorex told me,

Method name is not valid.

Any ideas?

Thanks

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

Re: Ranorex error, method name is not valid

Post by odklizec » Wed May 02, 2018 10:58 am

Hi,

My guess is that the method name is the same as the name of an existing module in your project? Just make sure there is no module with the same name.
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