selenium is framework used to automate manual testing.
First of all we can record the expected user activity(lets say logging in process) using selenium ide. This ide can be added to a browser like firefox as an addon.
Then you can use a tool like firebug to capture all the elements in a testable web page. if you can find labels of user id field,its text input and submit button we can write a java class to pass values to that text field and click on submit button via the coding.
TestNG is an external package which has all the required classes which we need to automate test cases. testNG an be added to a java ide(e.g eclipse) as a plugin. You can emulate user functionality with the help of emulated web drivers built in to selenium. Basically a web driver is a clone of an existing browser like firefox,which can be only used via the CGI. you can find web drivers for firefox, chrome etc. Using that we can also set the expected outcome. Then after no need of manually entering text input to those fields and clicking on submit button.'Just has to run the test package. output will be visible through the java ide itself.
It is easy if you can learn it from someone who has experience on that. Anyone interested in learning this can send an email to following address as he is conducting test automation classes for a reasonable fee.
[email protected]
p.s. I'm not aruna btw, I followed his class long time back.
