Friday, 13 February 2015

LET’S START CODING

        We are going to write the test case in Java. If you are not familiar with Java programming you can go for other languages like Python, C#, Perl and so on. In this book am going to discuss some example with Java with an intention of studying automation testing using Selenium.

        Before start coding, first we have to create a package, for that right click on the project that you created in the Eclipse IDE. Now the follow the steps. New-> Package. In that wizard choose the source folder and give the package a name.

         The next step is creating a class file. We are creating the Java class file inside the package. For creating the class file follow the steps. Right on the Package that we are just created. New->Class. Give a name to the class then Finish the wizard.

        Now you are all set for coding, now the interesting part begins and tough part also. Writing automated test case using Selenium is not a rocket science. It’s same as other java coding conventions.

No comments:

Post a Comment