Hello,
setup / teardown does not help because the modules within the setup / teardown regions are being executed for each iteration of the test case.
Regards
wf1
Search found 7 matches
- Fri Apr 12, 2013 2:20 pm
- Forum: Automation API
- Topic: How to find out if a data range is active or not?
- Replies: 5
- Views: 3188
- Thu Apr 11, 2013 1:11 pm
- Forum: Automation API
- Topic: How to find out if a data range is active or not?
- Replies: 5
- Views: 3188
Re: How to find out if a data range is active or not?
Hi Markus, the use case is as follows: - I have a test step which does some initialization stuff. This test step shall be executed only once in the first iteration of the test case, - and I have a test step which does some cleanup stuff. This test step shall be executed only once in the last iterati...
- Mon Apr 08, 2013 4:51 pm
- Forum: Automation API
- Topic: How to find out if a data range is active or not?
- Replies: 5
- Views: 3188
How to find out if a data range is active or not?
Hi, within a code module I want to find out if I am currently in the first / last iteration of a test case. As long as there is no data range defined within the attached data connector this is no problem. In this case I can get the current row index with TestCase.Current.DataContext.CurrentRowIndex ...
- Wed Jun 27, 2012 9:31 am
- Forum: Automation API
- Topic: How to integrate my own DataConnector in Ranorex Studio?
- Replies: 9
- Views: 4135
Re: How to integrate my own DataConnector in Ranorex Studio?
Hi Tobias, thanks, SetConfigData() was the method I was looking for. But now I have the next question: When I have created an instance of my custom connector in the dialog "Manage Data Sources" and then click on "OK" then the data of my custom connector are added to the TestSuite.rxtst file as expec...
- Tue Jun 26, 2012 1:40 pm
- Forum: Automation API
- Topic: How to integrate my own DataConnector in Ranorex Studio?
- Replies: 9
- Views: 4135
Re: How to integrate my own DataConnector in Ranorex Studio?
Hi Tobias,
I have one more question: Which method do I have to override to get the extended connector config GUI filled with the data from the corresponding section within the TestSuite.rxtst file? I didn't find the method which has access to the xml node containing those data.
Regards,
wf1
I have one more question: Which method do I have to override to get the extended connector config GUI filled with the data from the corresponding section within the TestSuite.rxtst file? I didn't find the method which has access to the xml node containing those data.
Regards,
wf1
- Mon Jun 25, 2012 1:54 pm
- Forum: Automation API
- Topic: How to integrate my own DataConnector in Ranorex Studio?
- Replies: 9
- Views: 4135
Re: How to integrate my own DataConnector in Ranorex Studio?
Thanks Tobias, that's exactly what I was looking for. It is working fine.
Regards,
wf1
Regards,
wf1
- Thu Jun 21, 2012 11:48 am
- Forum: Automation API
- Topic: How to integrate my own DataConnector in Ranorex Studio?
- Replies: 9
- Views: 4135
How to integrate my own DataConnector in Ranorex Studio?
As the built in Ranorex DataConnectors do not really fulfill all my needs, I have implemented my own DataConnector class derived from the Ranorex.Core.Data.DataConnector class. Then I added the line DataConnectorFactory.RegisterDataConnectorType(typeof(myConnector)); at the begin of the main() metho...