Monday, June 30, 2014

Work Term Update-June 2014

My job this month mainly focussed on testing. Since I worked at NCR last summer as a tester, this was a very comfortable area for me, which may have been why I liked it so much. Here are some of the assignments I had for the month of June:

Completed testing on Driver Check

I completed testing the newest Driver Check feature which I mentioned in my last work term update. I also demoed the new driver check to solutions management and did a demo during the product update training. This was a great opportunity to work on my presentation skills and I am very glad I had the opportunity.

Assisted in Regression Testing

This is what took up most of my time this month. The testing team ran about 700 test cases and I got to run a good portion of them. I raised a few issues I found using JIRA. I also had the opportunity to run several test cases to certify different browser/operating system/websphere combinations. The regression testing was fun for me.

Continued work on Oracle Unit Test Failures

In the down time I had this month I worked on the Oracle Unit Test Failures I was assigned from last month. I was not able to complete and submit my code changes but hopefully I will be able to commit the changes in July.


At the end of the month we had a team picnic and played cricket as a team. It was a lot of fun and a really good team building experience.


Sunday, June 1, 2014

Work Term Update-May 2014

This month I had three major things I worked on at my work term at NCR. Two were related to development and the other was related to testing. This post will describe in detail what I have been working on in May and what I have learned so far.

Set up my development environment

My first week and a half of this coop work term at NCR consisted of setting up my development environment. Through setting up my environment I began to learn how use several new tools. These tools include maven, myeclipse10, svn repositories, Microsoft SQL Server Express and GlassFish. I used MS SQL Server Express last summer, but I didn’t gain experience in the setup process. Setting up my development environment proved to be a complicated task. I ran into a lot of issues, but I learned a lot about how Passport is set up and what to do when problems do occur.

Oracle Unit Test Failures

I was assigned a task to fix some problems with the nightly oracle unit tests. About 200 unit tests had been failing because of sequence numbers being hard-coded into the unit tests. My job was to figure out a way to reset the sequence numbers in Oracle as part of the unit test setup. This way each unit test that was run would start with a completely clean database, so we would not have to go into each unit test and fix the hard-coded sequences. The unit test setup already cleaned the database, but the sequences are not automatically cleared in an Oracle database. Through my investigation into the problem I found two different ways to reset the sequences:

DROP the sequence and then CREATE it again

Change the way the sequences are originally created in the database to include a MINVALUE. Then to reset the sequences you can do the following:

SELECT the current value
Reset the sequence with the negative value of the current value as the increment
SELECT nextval so that the negative increment takes effect
ALTER with +1 as the increment

 I found that the best way to reset the sequences was to drop them and then recreate them. This is because it is simpler and doesn’t require changing the way the sequences are originally created, which would require lots of regression testing to ensure nothing broke. I have not finished writing the code or testing the code for this improvement yet but it should be done early in June.

Tested New Driver Check Mechanism

The final major thing I did this month was test the new driver check feature. I wrote, executed and demoed test cases that tested when a user would be contacted to download a scanner driver. This increased my understanding of Passport and also refreshed my test case writing ability from last summer. This also increased my knowledge of HP Quality Center, which is where the test team writes and executes their test cases. This assignment also taught me how to deploy builds on a WebSphere environment, a skill I didn’t get to learn last summer. Learning to deploy builds introduced me to a new tool, BeyondCompare, which helps when copying the configurations from the old build over to the new build.

In June I am really looking forward to completing the fixes for the Oracle Unit Test Failures as well as regression testing the new driver check mechanism.