Sdet Interview Questions

4,399 sdet interview questions shared by candidates

1) Give brief introduction about yourself - Tools, technologies, domains worked upon 2) Explain your framework 3) Explain Java OOPs concepts utilised into your framework 4) How did you manage WebDriver version binaries in your framework? 5) How did you manage parallel execution in your framework? 6) How did you manage the logging in your framework? How did you re-run the failed cases in any execution? Explain the significance of maven surefire plugin in pom.xml 7) Where are the maven dependencies managed on local? 8) Explain maven profiles. 9) What happens with command - mvn clean test 10) What are transitive dependencies? 11) What is difference between Scenario Outline and Data Table? 12) What is pico container? 13) I have 2 @beforeClass blocks that I need to execute, one before @Sanity tests and other one before @Smoke tests. How can I handle this case using Cucumber and TestNG? 14) public class Main{ public static void Main(String[] args){ System.out.println(“Hello”); } } Convert Main using singleton design pattern. 15) What is the difference between comparable vs comparator? 16) Create an Employee class that returns employee object for these 3 input values - Shivam , 33 Sumit, 38 Shiva, 39 Iterate over these employee objects using ArrayList and Map and return name and age details 17) Will iterator work with HashMap? 18) Why do we declare a List list instead of List list? 19) What would be the result of this code - try{ throw new NoElementException; System.out.println(“In try block”); } catch (Exception e){ System.out.println(“In Exception catch block”); } catch (NoElementException ne){ System.out.println(“In No Element Exception catch block”); } finally { System.out.println(“In finally block”); } 20) Have you worked with Selenium 4? If so what differences are present in Selenium 3 vs 4? 21) How do you invoke browser in headless mode? 22) How do you handle frames in selenium? 23) How do you interact with multiple nested frames? If there are multiple nested frames in selenium and you want to return to the base page which command will you use? 24) How do you perform double click in selenium? 25) Explain JavaScriptExecutor 26) Explain API architecture used in your framework 27) What is the difference between 401 and 403 status codes? 28) What is the difference between Post and Put methods? 29) How do you integrated CICD pipelines into your framework? 30) What are the triggers for your CICD pipelines? 31) How do you schedule pipelines? 32) Explain different components used in the gitlab-ci.yml file 33) Specific runner in CICD. 34) Did you utilise Docker or Kuberneters? 35) Explain the complete flow of git commands that you have used. 36) How do you merge your changes with master? 37) How do you establish SQL connection in selenium? 38) What is the difference between Left join and Right join? 39) What is the use of Group By and Having commands? 40) What is the difference between Test Plan and Test Strategy? 41) If you have 200 test cases in your suite how would you strategise your testing plan? 42) What is Test Pyramid? 43) What is the first type of testing to be performed after new build is deployed? 44) What is the difference between Sanity, Smoke and Regression testing? 45) What is re-testing? 46) After a defect has been fixed and deployed I’m required to re-test the business flow surrounding this defect. What type of testing is this called? 47) What are Deferred Defects? 48) Describe all the test cases that you can identify for Login page.
Apr 15, 2024

1) Give brief introduction about yourself - Tools, technologies, domains worked upon 2) Explain your framework 3) Explain Java OOPs concepts utilised into your framework 4) How did you manage WebDriver version binaries in your framework? 5) How did you manage parallel execution in your framework? 6) How did you manage the logging in your framework? How did you re-run the failed cases in any execution? Explain the significance of maven surefire plugin in pom.xml 7) Where are the maven dependencies managed on local? 8) Explain maven profiles. 9) What happens with command - mvn clean test 10) What are transitive dependencies? 11) What is difference between Scenario Outline and Data Table? 12) What is pico container? 13) I have 2 @beforeClass blocks that I need to execute, one before @Sanity tests and other one before @Smoke tests. How can I handle this case using Cucumber and TestNG? 14) public class Main{ public static void Main(String[] args){ System.out.println(“Hello”); } } Convert Main using singleton design pattern. 15) What is the difference between comparable vs comparator? 16) Create an Employee class that returns employee object for these 3 input values - Shivam , 33 Sumit, 38 Shiva, 39 Iterate over these employee objects using ArrayList and Map and return name and age details 17) Will iterator work with HashMap? 18) Why do we declare a List list instead of List list? 19) What would be the result of this code - try{ throw new NoElementException; System.out.println(“In try block”); } catch (Exception e){ System.out.println(“In Exception catch block”); } catch (NoElementException ne){ System.out.println(“In No Element Exception catch block”); } finally { System.out.println(“In finally block”); } 20) Have you worked with Selenium 4? If so what differences are present in Selenium 3 vs 4? 21) How do you invoke browser in headless mode? 22) How do you handle frames in selenium? 23) How do you interact with multiple nested frames? If there are multiple nested frames in selenium and you want to return to the base page which command will you use? 24) How do you perform double click in selenium? 25) Explain JavaScriptExecutor 26) Explain API architecture used in your framework 27) What is the difference between 401 and 403 status codes? 28) What is the difference between Post and Put methods? 29) How do you integrated CICD pipelines into your framework? 30) What are the triggers for your CICD pipelines? 31) How do you schedule pipelines? 32) Explain different components used in the gitlab-ci.yml file 33) Specific runner in CICD. 34) Did you utilise Docker or Kuberneters? 35) Explain the complete flow of git commands that you have used. 36) How do you merge your changes with master? 37) How do you establish SQL connection in selenium? 38) What is the difference between Left join and Right join? 39) What is the use of Group By and Having commands? 40) What is the difference between Test Plan and Test Strategy? 41) If you have 200 test cases in your suite how would you strategise your testing plan? 42) What is Test Pyramid? 43) What is the first type of testing to be performed after new build is deployed? 44) What is the difference between Sanity, Smoke and Regression testing? 45) What is re-testing? 46) After a defect has been fixed and deployed I’m required to re-test the business flow surrounding this defect. What type of testing is this called? 47) What are Deferred Defects? 48) Describe all the test cases that you can identify for Login page.

Web UI Test Automation Tools in Java Web UI automation tool (Selenium or any similar tool) Elements finding and interaction Explicit and Implicit Waits PageObject & Page Factory pattern Can create simple tests using the tool Actions JavaScript execution Dealing with Dynamic Content on a Page Dealing with Popup Dialogs Common WD classes and interfaces and their destination Screenshots Browser capabilities
avatar

QA Automation /SDET Engineer

Interviewed at EPAM Systems

4
Feb 1, 2024

Web UI Test Automation Tools in Java Web UI automation tool (Selenium or any similar tool) Elements finding and interaction Explicit and Implicit Waits PageObject & Page Factory pattern Can create simple tests using the tool Actions JavaScript execution Dealing with Dynamic Content on a Page Dealing with Popup Dialogs Common WD classes and interfaces and their destination Screenshots Browser capabilities

Test Automation Framework Architecture Use Business Object model to build a request and to parse a response Understand the Page Objects concept Create the simple page objects Understanding a decomposition of a TAF by a tests layer, business steps layer, page objects layer, core/utils layer Ability to design each layer so that they meet the requirements to the specified level of functional accuracy, maintainability, efficiency, and portability quality characteristics Cross-browser support Implement the framework on PageObject base with cross-browser support Tests parallelization Ability to modify existed Page Objects pattern Design extended PageObject patterns Ability to propose different test automation frameworks architectures, discuss pros & cons Ability to create the tests for main generic scenarios like page creation, update, delete
avatar

QA Automation /SDET Engineer

Interviewed at EPAM Systems

4
Feb 1, 2024

Test Automation Framework Architecture Use Business Object model to build a request and to parse a response Understand the Page Objects concept Create the simple page objects Understanding a decomposition of a TAF by a tests layer, business steps layer, page objects layer, core/utils layer Ability to design each layer so that they meet the requirements to the specified level of functional accuracy, maintainability, efficiency, and portability quality characteristics Cross-browser support Implement the framework on PageObject base with cross-browser support Tests parallelization Ability to modify existed Page Objects pattern Design extended PageObject patterns Ability to propose different test automation frameworks architectures, discuss pros & cons Ability to create the tests for main generic scenarios like page creation, update, delete

Code Quality Code Review methods Static/Dynamic Code Analysis Refactoring Coding Standards Ability to follow established Code Quality practices, ability to explain benefits from practices, able to identify gaps in practices implementation, able to propose valuable improvements
avatar

QA Automation /SDET Engineer

Interviewed at EPAM Systems

4
Feb 1, 2024

Code Quality Code Review methods Static/Dynamic Code Analysis Refactoring Coding Standards Ability to follow established Code Quality practices, ability to explain benefits from practices, able to identify gaps in practices implementation, able to propose valuable improvements

Write a function that will calculate the angle between the the hour and minute hands of a clock given the time. Also, as I was interviewing for a test position they asked me to test the function after it was written
Feb 9, 2011

Write a function that will calculate the angle between the the hour and minute hands of a clock given the time. Also, as I was interviewing for a test position they asked me to test the function after it was written

Viewing 3511 - 3520 interview questions

Glassdoor has 4,399 interview questions and reports from Sdet interviews. Prepare for your interview. Get hired. Love your job.