How to handle alerts?

Ans: driver.switchTo().alert() - >> .accept(); I dismiss(); I getText(); I sendKeys("Message");, How to take screenshots? Ans:

File screenshot = ((TakesScreenshot) driver).getScreenshotAs(Output Type.FILE);

FileUtils.copyFile(screenshot, new File("".// screenshot/" + fileName));

What is actions class? Write the syntax for it.

3 How to capture broken links? What are the different types of waits? Can you write syntax for Implicit and Explicit wait? Ans:

driver.manage().timeouts().implicitlyWait (imp licitWait, TimeUnit. SECONDS); WebDriverWait explicit Wait = new WebDriverWait (driver, 10); explicitWait.until( Expected Condition

s.visibilityOfElementLocated(By.xpath("//span[contains(text();'applied ..!')]'))); Wait<WebDriver> fluentWait = new FluentWait<WebDriver>(driver).with Timeout(Durat ion.of Seconds(30)) .pollingEvery(Duration.of Seconds (3)).ignoring (NoSuch Element Exception.class);

Scripts execution in HEADLESS mode? How many ways it is possible? Ans:

ChromeOptions options = new ChromeOptions(); options.addArguments("headless"); WebDriverManager.chromedriver().setup(); driver = new Chrome Driver(options);

Desired Capabilities? Write down the syntax? Ans:

setCapabilities and addArguements?

Write data (with Columns) using Apache POI?

How many Meetings in Agile? Ans: Daily Scrum, Sprint planning, Sprint retrospective, Backlog Refinement/Grooming

You are the only Automation resource in your project, What would be your approach?

Are you able to design the framework from scratch?

Cucumber -> Feature file, Steps, and how to run the test cases?

Ans: Cucumber is a testing tool that supports Behavior Driven Development (BDD). It offers a way to write tests that anybody can understand, regardless of their technical knowledge



Kindly Share This Post »»

Responses

0 Respones to "Nagarro Selenium Testing Interview Questions with Answers"

Post a Comment

 
HOME | Freshers | Exp | Java | SQL | Walkins | OffCampus | BankJobs
=*= PRIVACY POLICY And DISCLAIMER =*=
Some of the stuff contained this site are found on internetThis site is not responsible for publishing all available Information as well accuracy, please check posted Information with its original sources, e.g. News Papers/ Websites etc.We collect all the Information form the Internet.
Software My Zimbio
Copyright © 2013 Career+ Blog +Google | Disclaimer | Privacy Policy | Contact