Feb 27, 20144 min Run tests on multiple browsersRunning tests on multiple browsers helps ensure that the behavior and look of your application is consistent for all your users. Selenium...
Feb 27, 20142 minTestNG @Test attributesdescription: a string that gives information about the test it is attached to. timeOut: this is the maximum number of milliseconds for a...
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...