Hi Ganesh,
If you remember from session then I mentioned that we were using TestNG which takes care of executing tests, which mean there is main method in TestNG framework and you don't have to write one your self.
I have not worked with NetBeans and not sure how good TestNG support is for NetBeans. So if it is not a compulsion for you then I would suggest to use Eclipse.
About css and xPath execution in chrome. What error did you encounter? Did you bring the console on browser using F12 followed by escape key and write your locators?
~ seleniumtests.com