With Ranorex Spy I create an element repository and save it.
Then I put it in my project and want to use it like that:
But I always get this error:
Code: Select all
namespace IFM_GUI_Tests.Framework.TestSuites { [TestFixture] public class RandomClickTest : TestSuiteBase { Recording1Repository msRepo = Recording1Repository.Instance();
Non-invocable member 'IFM_GUI_Tests.Recording1Repository.Instance' cannot be used like a method. (CS1955)
The name of the repo is IFM_GUI_TestsRepository.rxrep and this file includes the IFM_GUI_TestsRepository.cs file.
Can you tell me what I do wrong here? I do the same like in the tutorial.
My Ranorex version is 2.3.3
greets max