How to call Collections methods in another collections methods class

Ranorex Studio, Spy, Recorder, and Driver.
mukh
Posts: 7
Joined: Tue Aug 23, 2022 9:38 am

How to call Collections methods in another collections methods class

Post by mukh » Tue Aug 23, 2022 1:03 pm

Hi,
I have written some test methods in TestCollection Libirary and i want to call thoese methods in another collection classs.
Please let me know. How to call that?
Thank

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

Re: How to call Collections methods in another collections methods class

Post by odklizec » Tue Aug 30, 2022 10:20 am

Hi,

I believe it should be enough to add a reference of the existing library to the user code collection you wish to use. Have you tried that?
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