Then I added the line
Code: Select all
DataConnectorFactory.RegisterDataConnectorType(typeof(myConnector));
at the begin of the main() method and manually edited the xml file myTestSuite.rxtst in such a way that I added a section for my own DataConnector and replaced the reference to the DataConnector within the test cases by a reference to my own DataConnector.
So far so good. I am able now to execute my test suite with my own DataConnector just like with a built in DataConnector.
The only problem is that I cannot view my test suite any longer in the Ranorex Studio. When I click on the button "View Test Suite" an error pops up saying that the Test Suite cannot be loaded and that the TestSuite XML format is invalid. The exception text is "Failed to construct data connector for unknown type 'myConnector'.
Therefore my question is: Is it possible to integrate / register my own DataConnector in some way within the Ranorex Studio so that I can use it there just like any built in DataConnector without getting the error mentioned above?