Selenium WebDriver Commands

11. Selenium Verification methods: getTitle(); getCurrentUrl(); getText(); 12. Verify the text, images, text boxes, radio buttons, checkboxes methods: isDisplayed(); isEnabled(); isSelected(); 13. File Upload methods in Selenium: To upload a file we can use sendKeys() method. driver.findElement(By.xpath(“input field”)).sendKeys(“path of the file to upload”);

Sikuli Tutorial

Sikuli is an Free-open source automation Testing tool. It is developed by Java. Sikuli is a “Graphical User Interface (GUI)” Automation Testing Tool. Sikuli Automates anything You see on the Screen using the “Image recognition method” to identify the “GUI Elements/Components”. Sikuli can be used to Automate “Desktop, Window , Adobe/Audio/Video/players, Flash, Flex objects, Games … Read more

Naming Convention in Java

Naming Conventions in Java

SNo. Name Convention Example 1. package name should be start with in lowercase letter  java, lang, sql, util etc 2. class name should start with uppercase letter and be a noun and then from second word onwards, each new word starts with a uppercase letter String, System, Firefox, DataInput, Thread  3. interface name should start with uppercase letter and be an adjective and then … Read more

First Programming in Java

package javaprograms; public class FirstPrograminJava { public static void main(String[] args) { System.out.println(“Hello World”); } }