Proper Use for Code Collection Library!!

Class library usage, coding and language questions.
Posts: 10
Joined: Tue Nov 05, 2019 5:17 am

Proper Use for Code Collection Library!!

Post by NuzakFarnas » Sat Jan 04, 2020 5:18 pm

When should the Ranorex Code collection be used? For example , I created a code module for adding new employees. Is this something that should be added to a code collection library?

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

Re: Proper Use for Code Collection Library!!

Post by odklizec » Tue Jan 07, 2020 9:07 am


I don't think that there is something like "proper use" of code collection library? Basically, it's best to use for any method, which you would like to use at multiple places in project. I'm using it for most of methods, which I'm using in Recording modules. So instead of writing the same code in multiple recordings, I'm using the same method from code collection library. Hope this helps?
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