Home > QA (Page 5)

Selenium Webdriver tutorial

Installation and Introduction of Selenium: Selenium is an open source automation testing tool which is used for running the test script and to automate the web applications. Due to open source (free) tool this is widely used automation tool in the market. Programming languages supported by Webdriver are Java, .net,

This Article is TAGGED in , , . Read more

Selenium WebDriver Locator: Class Name

Locator Type: Class Name Class attribute in HTML element used to apply style or select web element(s) JavaScript functions.  One class attribute could contain multiple classes separated by space and it is called as composite class.  Class attribute need not to be unique like id.  Java code to find web element using class attribute value.  [crayon-67691e29c9ae3461281696-i/] Steps to

This Article is TAGGED in , , , . Read more

Selenium WebDriver Locator: Tag Name

Locator Type: Tag Name  HTML document is structure of different html elements which normally contains start tag with attribute closing tag and some text within opening and closing tag.  Opening tag consist within Tag Name within two angular brackets (‘<’ and ‘>’) while closing tag contains forward slash before Tag Name within angular brackets. Java code to find

This Article is TAGGED in , , , . Read more

Selenium Locator: Link Text and Partial Link Text

Locator Type:  Link Text or Partial Link Text. This locator is used to locate anchor web element using it's text. Link text is a element text between opening <a> and closing anchor tag </a>. Partial link text is used to find anchor element similar to point 1 but it used partial unique text

This Article is TAGGED in , , . Read more

Use Actions class to perform keyboard event in selenium

Code to perform key press events , mouse left right operations using action class. Functions for keyboard Uses keyDown(java.lang.CharSequence key) To simulate key down event on current location. keyDown(WebElement target, java.lang.CharSequence key) To simulate key down event on target element. keyUp(java.lang.CharSequence key) To simulate key up event on current location. keyUp(WebElement target, java.lang.CharSequence key) To simulate key up event on

This Article is TAGGED in . Read more

Use Action class to perform drag and drop In selenium

Drag and drop activity performed by using Actions class. dragAndDrop(WebElement source, WebElement target) → It used to drag source element to target web element. dragAndDropBy(WebElement source, offsetX , offsetY) →  It used to drag source web element to targeted location using offset. Code snippet: [crayon-67691e29ca5df678333951/]  

This Article is TAGGED in , , . Read more

Use of actions class to perform mouse operation in selenium

In Selenium Action class is used to perform drag and drop operation move any element Press composite key hover on element Click action related function with their uses Click and Move Actions Their uses click() Perform left click action on current mouse position. click(WebElement target) Perform left click action on center of given web element. contextClick() Perform right/context click action on current mouse

This Article is TAGGED in , , . Read more

Code to identify all web / broken links of a website

Below selenium code will be useful to identify all website links from all the pages as well as broken links. [crayon-67691e29ca9fe561639344/] Output of above program after entering valid url and domain name  Link Name Internal / External Response of link http://www.mundrisoft.com/index.html internal link working 200 http://www.mundrisoft.com/ internal link working 200 http://www.mundrisoft.com/capabilities.html internal link working 200 http://www.mundrisoft.com/case-studies.html internal link working 200 Selenium Tutorial >>

This Article is TAGGED in . Read more

Estimate task in microsoft planner

In this article will see how to estimate task , Actual hours in planner. Using Microsoft planner we can create  Sprint Product Backlog User Stories Daily Scrum meetings In charts section we can have Sprint burn down Chart. To Add Estimated time , actual time against each task we need to add on chrome plugin i.e Estimations

This Article is TAGGED in , . Read more