Types of HTML tags

Types of HTML tags HTML TAGS Here we will see how many types of HTML Tags exists. In html language we can get different type of tags related to different type of elements. HTML Tag Purpose a Link b Bold img Image table Table tbody Body of Table tr Row in table td Column in row select Dropdown iframe Frames […]

How to Handle Selenium Exceptions

How to Handle Selenium Exceptions Handle Selenium Exceptions Here we will try to understand how to handle selenium exceptions and types of exceptions exists with Selenium Web Driver. The term EXCEPTION is a event which occurs during executing of a program which disrupts the flow of given instructions. Try-catch method can catch Exceptions, which uses a combination of the try […]

Interacting with Different Browsers using Selenium Java

Interacting with Different Browsers using Selenium Java Here we will see working example with different browsers using selenium java. Scanner sc=new Scanner(System.in); System.out.println(“Enter Browser name:”); String a=sc.nextLine(); WebDriver driver; if(a.equals(“chrome”)) { System.setProperty(“webdriver.chrome.driver”,”D:\\chromedriver.exe”); driver=new ChromeDriver(); driver.manage().window().maximize(); // Maximize the screen } else if(a.equals(“firefox”)) { System.setProperty(“webdriver.gecko.driver”,”D:\\geckodriver.exe”); driver=new FirefoxDriver(); } else if(a.equals(“ie”)) { System.setProperty(“webdriver.ie.driver”,”D:\\IEDriverServer.exe”); driver=new InternetExplorerDriver(); } else if(a.equals(“edge”)) { System.setProperty(“webdriver.edge.driver”,”D:\\MicrosoftWebDriver.exe”); driver=new EdgeDriver(); […]

Types of XPath Methods

Types of XPath Methods as follows: Below are the methods which are used widely. contains() – This method used in an XPath expression. It is very handy XPath Selenium locator & sometimes it saves the life of a test automation engineer. When an attribute of an element is dynamic, then you can use contains() for the constant part of the web […]

Difference between findElement & fineElements method

Difference between findElement & fineElements method Before going much deeper into the differences between the methods firstly lets just get to know what is findElement() and findElements(). What is findElement? findElement() in selenium is used for identifying web elements. A command used to uniquelyy identify a web element within the web source page. This method is used to access a […]

Understanding findElement() commands

What is findElement? findElement() in selenium is used for identifying web elements. A command used to uniquelyy identify a web element within the web source page. This method is used to access a single web element on a web page. It returns the first matching element. It throws a NoSuchElementException exception when it fails to find If the element. Syntax of […]

WebDriver Browser Commands

Best Learning WebDriver Browser Commands Selenium commands are the set of commands which are used to run our Selenium tests. In Selenium WebDriver, we have an entirely different set of commands for performing different operations. Since we are using Selenium WebDriver with Java, commands are simply methods written in Java language. Here we are going to explore the set of […]

What is Testcase?

What is Testcase? Here we shall try to understand What is Testcase? An Test case is a set of conditions under which a tester shall deterine whether the application under test satisfies the given requirements or the application works fine! The process of developing test cases can also help find problems in the requirements or design of an application. In […]

×

Hello!

Click one of our representatives below to chat on WhatsApp or send us an email to mannavaadi@live.com

× How can I help you?