Feb 27, 20143 minTestNG annotationsTests written with the TestNG framework need to be annotated properly in order to be recognized as tests. A Java class will contain...
Feb 25, 20145 minCreating the page objectsWhat is a page object Simply put, a page object is an object that Selenium uses as a representation of an HTML element. Selenium tests...
Feb 25, 20143 minCSS SelectorsIdentifying HTML elements in order to interact with them within you tests can be done by using CSS Selectors, which use pattern matching...
Feb 25, 20141 minXPATH selectorsSelect a node by its name: nodename. Example: if the node is an h3 element, the selector is: h3. Select all the nodes that have a certain...
Feb 25, 20144 minHTML and Selenium. An introductionHTML elements An HTML element has the following syntax: <element /> An HTML element in enclosed within a preceding '<' and a trailing...
Feb 22, 20142 minSetting up the Selenium bitsAfter the project is created, you need to setup the Selenium dependency, in order to use the library's functionality. Make sure you...
Feb 22, 20144 minCreate the Maven profile for running tests.After the project has been created, you will need to decide how you want your automated tests to run. Keeping in mind that developers...
Feb 20, 20143 minImport the testing dependenciesHow this works is that upon project compilation (when you run the 'mvn clean install' command), Maven will search in the repository it...
Feb 19, 20142 minCreate a new Maven projectOn your computer, open the command line. Navigate to the location where you want to create a new project and type the following command:...