You can use following code:
WebDriver augmentedDriver = new Augmenter().augment(driver); File screenshot = ((TakesScreenshot)augmentedDriver).getScreenshotAs(OutputType.FILE); //You can give the location…"
Manual Testing,Functional testing ,User Interface Testing,Regression testing on WEB ,WINDOWS based Application and Mobile applications, Selenium IDE and Scripting knowledge of Selenium Web driver in Junit framework
Comment Wall (3 comments)
You need to be a member of Quality Testing to add comments!