Automated Testing

yehster wrote on Thursday, March 18, 2010:

I am just starting to work with openemr and would like to start contributing.  What I think would be both a good way for me to learn about openemr and to make a contribution would be to develop some automated test cases.  However I don’t want to reinvent the wheel.  Is anybody using any particular tools, or are there test cases I can use as a starting point?

Thanks,
-Kevin

bradymiller wrote on Friday, March 19, 2010:

sounds good,
I don’t know of any test cases. Would be nice to have. I don’t know much about automated testing. What do you plan to test?
-brady

yehster wrote on Friday, March 19, 2010:

My plan is to start with basic test cases. Creating patients.  Scheduling appointments.  Creating notes.  Simple stuff that can be used for regression testing.  Then later if there is specific functionality that needs to be tested I can progress to that.  Once I make some progress I will share what I’ve got :wink:

johnbwilliams wrote on Sunday, March 21, 2010:

yehster,  i am interested in following and collaborating in your effort to development automated test cases for OpenEMR.  My firm, Garden Health, provides QA testing for new OpenEMR functions.

usersfirst wrote on Monday, April 05, 2010:

Was there any discussion and/or decision on tools to use?

If you are looking at GUI Testing, I am interested in participating also.  I am familiar with Selenium and less familiar with Watir.  Would like to use Microsoft CodedUI on a project, this might be a good candidate.  The Rational and HP/Mercury Tools are overkill in my opinion, and way to expensive.

Best wishes!
Pete Gordon

yehster wrote on Tuesday, April 06, 2010:

Based on input from other colleagues, I plan on using Watir to develop test cases.  My understanding is that Selenium is a great tool for recording interactions, but is not as good for programmatic/dynamic test cases.  i.e. write a test case which generates 10 new patients with 10 different names. 

Personally, I’d be hesitant to use CodedUI as it does not seem “browser neutral” as firefox support was only recently released in beta form for it.  I suspect that Microsoft will continue to treat firefox as an afterthought with CodedUI. I’m guessing safari and opera users will be out of luck as well.