Have you tried step by step reporting SeleniumTestsFramework yet?

Sunday, December 22, 2013

Git Branching

If you use Git version control system then following commands may come handy for creating new branch for selenium tests -

Create new branch and commit tests/features to branch – 

git checkout –b <branchname>

Work on branch and commit

git commit –m “developed awesome feature” 

Merge branch to your local master

git checkout master

pull if remote master is updated and then merge the branch

git pull

If you want to avoid creation of merge commit then rebase else merge and push to remote master

git pull --rebase
git merge <branchname>
git push

Once done with branch then delete it

git branch –d <branchname>

If you want local branch to be pushed to git so that more than one committer could work on it

git push -u origin <branchname>
If origin does not have a <branchname>, then it is created on the fly. The -u tells git that you want to be able to easily push and pull changes to that branch in the future. This is needed when multiple committers are working on same branch
Now you can commit changes to remote local branch.

If another committer wants to use the <branchname>

git fetch origin
git checkout --track origin/<branchname>

The first command updates repository with the changes from the remote repository. The second command creates a local branch  that matches the origin/plugin branch and tells git that new committer wants to be able to easily push and pull from the branch on GitHub.

Deleting branch locally and from git 

git branch –d <branchname>
git push origin --delete <branch name>

In case there are conflicts when merging branch to master

  • Resolve conflicts manually
  • git commit
The commit message would be like this “””Merge branch 'branch name’””” and the push -
  • git push

Sunday, August 25, 2013

Manual Test Case Design Techniques

This is the next training video in the series of "Back to Basics". Being bombarded with automation tools we often forget that it is manual testing which finds most number of defects in application Here is a VIDEO TUTORIAL on Black box test design techniques. The video covers following topics -

  • Equivalence class partitioning
  • Boundary Value Analysis
  • Decision Table Testing
  • State Transition Testing
If you find this video educational then please share it on FB/Google+ etc
There would be a second video on White Box Test Design Techniques, so stay tuned :)