Wednesday, 22 July 2015

Completing Meetup Locations Page Tests!

Meetup Locations Page
So the GUI for meetup locations page is ready and I am also done with its testing. There were two things with needed to be tested on this page which are:

  1. Navigation to this test - This I did by validating against the title ,i.e, "Systers Meetup Locations" and the text present on the footer of the map.
  2.  Choosing a location - This involved clicking on the location name present and navigating to the homepage for the chosen location.
Both the tests were simple and did not involve different logic for admin or a normal user. I am very happy with it :). Hope to see other meetup features soon so that I can carry on with the work.

Happy coding!

Sunday, 19 July 2015

Test suites for Portal Complete!

Finally I have added all the test suites for Portal and tests for Portal are almost done. Yay!:D . But the whole of Meetup testing is still left and guess what the UI is not ready yet :( so I have to wait.
I really want to start working on meetup and I am desperately waiting for Shaifali, the student developing meetup feature to at least give me something to implement my generic test :/.

Nevertheless, I cannot do anything in this regard but wait. I hope something comes up by this week at least :/.

Tuesday, 7 July 2015

First Test Demo Created!

I created my first test demo video today for Systers Portal Tests:D. I so wanted to do it and finally it is here. This is the first time I have created and edited any video :P. It took me two long hours to create and make it pretty but it was fun too :D.

Here is the video..Enjoy :D

Happy Watching !

Thursday, 2 July 2015

Midterm cleared!

So today I finally received the results of the midterm and I PASSED!! :D...I received a mail from Rose, my Project Manager informing about the results in the evening. I have to work for another 6-7 weeks and then there will be the final evaluation. Now, I can continue working on my project :).

I am loving and enjoying every bit working on this project and I hope to continue my work like this. The experience is just awesome. I hope my GSoC journey continues like this. :)


Thursday, 25 June 2015

Code Submission for Midterm

So today I committed my codes in the github repository for Systers automated-testing. I also had a code review with my mentor, Shweta last night for the same and it went quite well.

Although the UI for Systers Portal Meetup feature(my primary project) is not completely ready for testing, I have added few generic tests for it along with Systers Portal tests and a demo DB test. My mentor will be evaluating me based on these codes and the work I have done in the past month.

The student evaluation starts at 1900 UTC on 26th June 2016. For the evaluation, all the GSoC students are required to submit their answers to some of the evaluation questions on melange under the link 'Evaluation' which will be active when the evaluation period starts. Failing to do so , the student will no longer be part of this program. The same applies to the mentors as well. In short if either of them fails to submit their evaluation, the student will no longer be part of this program. I plan to complete my evaluation submission by this weekend so that I can continue with my project..:)

Fingers crossed for mid term results!


Monday, 22 June 2015

First UI for Meetup ready !

Today I finally got the first UI for Meetup for which I have to write automated testing scripts...Yayy!!:D

So today when I got a message from Shaifali, the student working on the Meetup project that she has merged a new patch, I quickly opened my terminal and made a pull request from the github repository. I was very excited to see the UI so I ran the portal on localhost but was unable to see any UI change. Then Shaifali asked me to add a Meetup Location first :P and go to that URL. I did that and finally the UI was in front of me :).

I started checking all the buttons one by one but only one button was active :/. But still I am very happy that finally I can start with the generic tests according to the UI which can be changed and implemented later on as the dev work progresses :).

I hope Shaifali merges another patch soon. Its awesome to work on something that has just been created :) and I am very happy to get an opportunity like this :D.

Meetup Location UI


Happy Coding!

Sunday, 21 June 2015

All about DB Testing

A few days back when I was starting with DB Testing, I was clueless where to start from. I went through many articles but only understood the theory involved with DB Testing. I didn't know how to implement it in automation testing.

To get a clear idea of the topic I approached my mentor and she provided me with a basic idea about CRUD (create, read, update and delete). These four processes are always involved in any database. She asked me to automate the four process. This needed me to follow these steps:

  1. Create a DB.
  2. Create a table for the DB.
  3. Insert tuple into the table.
  4. Read from the tuple.
  5. Update the tuple.
  6. Delete the tuple.
These steps covered all that was required to cover CRUD. But the real challenge was to automate these steps. I started with keeping each tests in separate test classes and then added them in sequence to a test suite but that was a little complex approach and took a lot of space. So my mentor advised me to improve it. In the next approach I kept the functions (create, read, update and delete)  in one class inside different methods for each and kept all the tests in the same test class. I predefined the order of execution of these tests to ensure proper ordering so that deletion does not occur before create. This I achieved by using @FixMethodOrder(MethodSorters.NAME_ASCENDING) available in Junit. This approach was better than the previous one and I was finally able to automate the process !

Here are a few articles that really helped me get a deep insight into DB testing: