Skip to main content

Posts

Showing posts from January, 2021

How to write the defect report in software testing

 Defect report: In software testing its most important to find defects and let developer know about the defect. during this process of identifying the defect and reporting we need to follow some standard templates to report.  here is defect report template:  Refer the video for details:

How to Write Test Cases in Manual Testing

Test Cases document: Test cases play important role during the application testing in software testing. Where each requirement is break down into multiple test scenarios and then after test cases.  here is the test case template, which is being followed by current software testing domain.  High level information:  Test Cases Break down based in the requirement.  For detail Explanation: refer the below video

How to Handle Tooltips using selenium Webdriver.

Handling the tooltips are easy in selenium, we can achieve by using getAttribute("title"). where tooltips value is given in title attribute.  Do check out below code for implementation:   package SeleniumBasics; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.interactions.Actions; public class Seleniumtooltips {      public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", "E:\\eclipseprojects\\seleniumDemo\\server\\chromedriver.exe"); WebDriver driver = new ChromeDriver(); driver.manage().window().maximize(); driver.get("https://www.facebook.com/"); WebElement link1 = driver.findElement(By.linkText("Sign Up")); JavascriptExecutor scroll = (JavascriptExecutor) driver; scroll.executeScript("window.scroll...