I am a fairly new programmer and have been designing tests (using code modules) with Ranorex for about 8 months. My boss has a master plan to build an automated Regression testing suite but he doesn't really know anything about Ranorex.
What he would ideally like to be able to do is to drop a new version of our product's exectuable into a shared folder, have another piece of software recognize that the exe has been placed in that folder, which would then trigger the Ranorex tests and then have a report(or link to a report) sent via email or slack to indicate the results.
Does anyone have any suggestions of what would be a good way to implement this? Thanks in advance for any help that you can offer.
Suggestions for setting up Automated Regression suite
Re: Suggestions for setting up Automated Regression suite
Continues Integration
Create a job that check a specific folder for new files (or the last update date-time for them) and if correct match is found trigger another job that will start the test solution.
Create a job that check a specific folder for new files (or the last update date-time for them) and if correct match is found trigger another job that will start the test solution.
Re: Suggestions for setting up Automated Regression suite
Agreed, use the right tool for the job. In this case, you could do it with Ranorex, but it wouldn't be easy and there are already free CI tools out there (like Jenkins) that can do everything you are wanting.
Shortcuts usually aren't...
Re: Suggestions for setting up Automated Regression suite
You could look at the new ranorex remote functionality in 6.0. Straight forward and might be enough for the moment.
Only downside is that there is a manual step involved in executing the tests as apposed to them being done automatically after each new deployment, but apart from installing the agents, there is very little setup needed.
Only downside is that there is a manual step involved in executing the tests as apposed to them being done automatically after each new deployment, but apart from installing the agents, there is very little setup needed.
Re: Suggestions for setting up Automated Regression suite
I do like the functionality of the Ranorex Agent. What about the possibility of using Ranorex to automate a "test" that loads up a Ranorex solution in Ranorex Studio and then runs the test on a Ranorex Agent? I'm just trying to think outside of the box as automation combined with Ranorex Agent would be very nice.
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Suggestions for setting up Automated Regression suite
Hi ricks,
Unfortunately, there won't be a way to implement such scenario because it is not possible to automate Ranorex Studio itself. All components are locked and hidden to Ranorex Spy.
Sincerely,
Johannes
Unfortunately, there won't be a way to implement such scenario because it is not possible to automate Ranorex Studio itself. All components are locked and hidden to Ranorex Spy.
Sincerely,
Johannes
Re: Suggestions for setting up Automated Regression suite
As we've said, you should be using a real continuous integration (CI) solution like Jenkins (it's free!!). The current Ranorex Remote Agent functionality is limited and will not provide the type of functionality that you are wanting (it's intended for use by the test developer for running single tests remotely to allow for debugging and development at the same time). Jenkins, on the other hand, can be made to handle just about anything you can think of.
Shortcuts usually aren't...
Re: Suggestions for setting up Automated Regression suite
Thanks! I think the plan is to go with something like Jenkins (eventually) It is in the early stages right now and my boss is trying to get me to set up the functionality in stages and gradually progress into a full blown CI system. May just have to jump in to the deep end right away and start playing around with Jenkins. Thanks again for all the help!