0% found this document useful (0 votes)
5 views

Selenium_Questions

The document outlines various topics related to automation frameworks, particularly focusing on Selenium, API automation, and testing methodologies. It includes questions about Selenium interfaces, synchronization, handling dropdowns, and exceptions, as well as the structure of automation frameworks and integration with CI/CD pipelines. Additionally, it discusses the challenges faced in automation testing and the importance of documentation and design patterns.

Uploaded by

Arun Vastrad
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Selenium_Questions

The document outlines various topics related to automation frameworks, particularly focusing on Selenium, API automation, and testing methodologies. It includes questions about Selenium interfaces, synchronization, handling dropdowns, and exceptions, as well as the structure of automation frameworks and integration with CI/CD pipelines. Additionally, it discusses the challenges faced in automation testing and the importance of documentation and design patterns.

Uploaded by

Arun Vastrad
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 9

automation framework.

automation assignment, explaining my approach.


selenium interfaces?
6. What are all the selenium interfaces?
7. Synchronization in selenium? syntax for implicit wait
13. Exceptions in selenium?
7. What are different waits in selenium and write code
8. How to handle dropdowns in selenium?
13. Explain your automation framework folder structure?
current roles and responsibilities, Automation frameworks
4. How to connect to oracle db via test automation? write a
5. How to connect to postgres db via test automation? write
have faced while doing AP| automation?
setting up the API automation framework?
Selenium
4. What is WebDriver? Interface or class
5. Can't we write ChromeDriver() instead of WebDriver, and
requests and extracting responses in API automation. Write
6. importance of API documentation in API automation
7. Have you integrated automation testing into Cl/CD
10. Basic selenium question and sql?
automation, it takes
Selenium?
4. Can you discuss a challenging automation project you've
automation testing?
Selenium questions
- Your Automation script is failing due to a change in the
- Your Automation scripts are running slowly. How can you
your Automation script?
Selenium
4. What is WebDriver? Interface or class
5. Can't we write ChromeDriver() instead of WebDriver, and
requests and extracting responses in API automation. Write
2. What are the various selenium components, and which
6. Write a syntax to initialize the webdriver.
16. Write a basic selenium script.
22. What is the exception you get in selenium?
23. What is implicitly wait, explicitly wait, webdriver wait,
24. Write syntax for the webdriver wait.
25. The difference between implicitly, explicitly, webdriver
37. They asked Some selenium questions.
24. Define Structure of Selenium?
25. How will you handle the dropdown in selenium?
26. Different types of wait in selenium? Explain each of
28. Why are we using "WebDriver driver = new ChromeDrive
31. How to maximize the screen in Selenium?
1. What is the difference between Selenium Grid and
Webdriver API?
2. How would you save a cookie value in Webdriver?
29. What is the difference between the webdriver listener
31. How can we clear the cookie in selenium?
32. How will we check the cookies in Selenium?
37. What is the difference between Selenium RC and
webdriver?
abuse. Automation scripts can simulate excessive requests
automation scripts in Selenium or Cypress.
What is a selenium web driver?
Explain about automation lifecycle of soap UI.
selenium?
What is the difference between selenium and soap UI?
Test Automation Code
24. Define Structure of Selenium?
25. How will you handle the dropdown in selenium?
26. Different types of wait in selenium? Explain each of
28. Why are we using "WebDriver driver = new ChromeDrive
31. How to maximize the screen in Selenium?
37. How do you handle frames in Selenium?
40. What is difference between Quit and Close in Selenium?
Selenium Interview
24. Define Structure of Selenium?
25. How will you handle the dropdown in selenium?
26. Different types of wait in selenium? Explain each of
28. Why are we using "WebDriver driver = new ChromeDrive
31. How to maximize the screen in Selenium?
1) Why do we need to upcast WebDriver when using
Selenium WebDriver?
available using Selenium webdriver?
5) How Selenium Grid functions for Parallel Testing?
6) What are the latest Selenium WebDriver 4.0 Locator
13) What can be issues if automation is working in head
16) How to emulate a mobile device using Selenium
WebDriver?
9. difference between selenium 3.0 and 4.0 version
12. Selenium Code for switching to required window and
Final Call for Automation Test Engineers!
If you have 4+ years of experience in API Automation (Rest
Assured), Mobile Automation (Appium), or Python
Automation, this is your chance!
L, WebDriver driver = new ChromeDriver(): creates a new
s(5)) = when wait needs to be applied for each selenium
conds(5)) = before execution of selenium commands, they
L, WebDriver driver = new ChromeDriver();
WebDriver driver = new ChromeDriver(chromeOptions);
automation.
What are desired capabilities in Selenium?
How does Selenium WebDriver interact with web browsers?
How can you handle dynamic dropdowns in Selenium?
How do you manage windows in Selenium?
What if you want to execute parallel test cases in Selenium
1, What are Selenium locators?
Locators are how Selenium identifies web elements on a page.
3. Which locator is the most efficient?
The ID locator—since IDs are unique, it’s fast and reliable.
Implicit wait tells Selenium to wait for a certain time before throwing an
exception if the
10. How do you handle JavaScript alerts in Selenium?
11. How do you dismiss an alert in Selenium?
14. What are frames, and how do you handle them in Selenium?
General Selenium
2. What are the various selenium components,
6. Write a syntax to initialize the webdriver.
webdriver?
16. Write a basic selenium script.
22. What is the exception you get in selenium?
webdriver wait, Thread.sleep
24. Write syntax for the webdriver wait.
webdriver wait and thread.sleep.
37. They asked Some selenium questions.
11) Have you designed the Automation framework from
16) Handling mail while working in Automation, explain with
20) How Regression Suites are handled in your Automation
with Selenium WebDriver tests? If yes how?
3. Scope of automation testing in your previous projects.
4. Type of automation framework you have worked on and
6. How have you used Excel sheets for automation?
Selenium?
10. What is your work experience with Selenium Grid?
14. When should you start test automation in a project?
POM is a Selenium design pattern; we can see it as a
Page Factory in Selenium WebDriver is an integrated
WebDriver provides an API to handle alert dialogs. Alerts
20. How do you handle frames in Selenium?
21. What waits are available in Selenium?
22, How do you handle alerts in Selenium?
10. Why is Appium preferred for mobile automation testing?
Appium for automation?
‘findElements* in Appium/Selenium?
Selenium, and when should each be used?
Write the Selenium Code at framework level to implement
5) How do you manage test data in your Selenium
6) How do you execute parallel tests using Selenium Grid or
7) How do you generate reports in a Selenium framework?
8) How do you handle synchronization issues in Selenium?
9) How do you handle dynamic web elements in Selenium?
Selenium?
12) How do you integrate your Selenium tests with Jenkins
13) How do you trigger Selenium tests automatically after a
15) What is Selenium Grid, and how does it help in parallel
16) How can you test APIs using Selenium?
17) How do you handle SSL certificate issues in Selenium
WebDriver?
Selenium Webdriver
1) What are different types of locators in Selenium?
5) Is it possible to validate Captcha using Selenium, if Yes
Selenium WebDriver only?
between Test Automation Execution?
10) Difference between selenium 3 and selenium 4?
14) How do you integrate your automation framework with
minimum 3 numbers of time in Automation Testing. Which
33) How do you set priorities for test automation, which test
Rest Assured API Automation
str1 ="automation", o/p: “automin"
4. How can you calculate ROI for automation
9. Difference between Remote Driver and WebDriver
11. Topmost interface in Selenium
Q3. How to do testing in headless mode in selenium ?
Q5. Selenium code to test the number of notifications from
WebDriver driver = new ChromeDriver(options);
WebDriver driver = new FirefoxDriver(options);
WebDriver driver = new EdgeDriver(options):
1. How do you handle a stale element in Selenium?
2. Why might Selenium's hover or click not work on an
Il/o: Test Automation and o/p: tseT noitamotuA
str1 ="automation", o/p: “automin"
4. How can you calculate ROI for automation
9. Difference between Remote Driver and WebDriver
11. Topmost interface in Selenium
#Automation Engineer(8+ years)
1.Explain the automation framework
33.WAP to handle multiple windows in selenium
34.WAP to capture screenshots in selenium
35.How do you handle synchronisation in automation
38.What are the different stages of an Automation test
pattern in test automation. It establishes a structured
Centralized and organized automation structure.
scalable, maintainable, and efficient test automation
Selenium?
ey How do you handle file uploads in Selenium?
Selenium?
-->Selenium can work with Appium to test mobile
lew What are different types of waits in Selenium, and
Factory in Selenium.
with Selenium?
Selenium, and how did you overcome them?
© How can you optimize your Selenium scripts for
-->Consider parallel execution with Selenium
2. Explain your automation project framework.
Selenium?
Selenium Automation:
(Selenium, TestNG), folder structure, and design
«- What is Actions class in Selenium ?
«> How to right click on a button using selenium ?
Types of Waits in Selenium
Sets a global timeout for WebDriver.
Explicit Wait is generally the best for automation
V Best Practices for Selenium Waits _
Explain the automation framework.
Handle multiple windows in Selenium.
Capture screenshots in Selenium.
automation scripts?
Different stages of an automation test.
Capgemini - QA Automation interview questions
automation testing process.
browser in automation testing?
6. What is the syntax for a LinkText XPath locator?
10. What challenges have you encountered in automation
will set up automation
Postman: For manual testing and script automation.
Altimetrik interview questions for #Automation
selenium
submit, automation script fail how do you debug/handle
\/o: Test Automation and o/p: tseT noitamotuA
13) Which component of selenium is most important?
15) How many locators does selenium has?
16) Which exception is shown in selenium when there is
21) Which of following browser support selenium?
and lib in automation?
selenium web driver provide?
1. How do you perform parallel testing in selenium?
for QA Automation (8+ years)
selenium
submit, automation script fail how do you debug/handle
and how do they apply to automation?
Q: Why use HashMap in automation testing?
each? Which is better in automation?
ConcurrentHashMap improve automation frameworks?
8) Explain the automation framework step by step in
framework and not RestAssured for API automation.
10) What all tags and hooks you have used in automation
12) What are different kind of selenium exceptions you
faced in the automation
Scenario Based Interview Questions for Automation
How would you use automation to help debug this?
you approach cross-browser test automation?
page. How can automation help identify performance
and use test data in your automation?
automation framework?
«> Difference between Assert and Verify in Selenium?
«> Thread.sleep() vs WebDriverWait in Selenium?
«- Write Selenium code to handle file download from the
in Selenium?
«> Explain the key components of the test automation
«> Can you write selenium code to zoom in ona
using Selenium?
«> Can you write Selenium code to capture a
«> Write a Selenium code to handle file uploads .
browsers at the same time using Selenium Grid?
Automation:
(POM) in Selenium? Why is it useful for automation?
elements in Selenium WebDriver tests?
automation? How do you use them in your
automation scripts? sevice Pe
automation tests into a Cl pipeline?
automation scripts?
-> To run test scripts in a Selenium framework, both
Selenium and TestNG) are available. While you don’t run
What is the difference between Selenium
WebDriver and Selenium RC?
Selenium WebDriver? Ce apa
benefits in Selenium testing.
Selenium?
for running Selenium tests?
Can you explain your automation framework ?
Selenium WebDriver:
4) What are different types of locators in Selenium?
&) Is it possible to validate Captcha using Selenium? If
Selenium WebDriver only?
during test automation execution?
Automation
Explain Automation Testing Framework ? ?
You have written an automation script? It runs
any automation for that ?
In Selenium, it is widely used to locate elements on web
«> : Write code to find Broken Links in Selenium
using selenium. Give Optimal approach
«> : How to handle Location popup in selenium ?
«> : How to handle dynamic dropdowns in Selenium ?
Example: str = "selenium cypress playwright
webdriverio" > Output: "selenium sserpyc playwright
Important QA Automation
3. Write a Selenium script that waits for a dynamically
4. Write a Selenium script to open a new tab, navigate
Selenium?
10. Explain the purpose of Actions class in Selenium.
Selenium WebDriver?
12. What are Fluent Waits in Selenium, and when would
tests in a Selenium framework upon every code commit.
automation test framework?
1b) Among all the given locator which locator is fastest of
3) Why should we use selenium?
8) How many types of XPath are there in selenium?
9) In selenium 4,which of the following method allows us
12) Which class is used for drop-down in selenium?
13) Which component of selenium is most important?
15) How many locators does selenium has in total?
16) Which exception is shown in selenium when there is
21) Which of following browser support selenium?
and lib in automation?
selenium web driver provide?
Selenium Interview questions
1.what is the advantage of selenium Webdriver?
findElements in selenium?
Selenium WebDriver?
Selenium WebDriver?
in Selenium?
Selenium WebDriver?
Selenium WebDriver?
Selenium for test automation?
10. What are the advantages and limitations of Selenium
for test automation?
related issues in Selenium?
using Selenium? If yes, how?
in Selenium tests?
in Selenium automation?
15. How do you handle exceptions and errors in Selenium
WebDriver scripts?
16. How to take screenshot in selenium ?
selenium ?
For QA Automation Role
findElements in Selenium?
automation framework
CGI QA Automation
©) Among all the given locator which locator is fastest of
What is selenium?
=) How many types of XPath are there in selenium?
= In selenium 4,which of the following method allows us
Ga Which class is used for drop-down in selenium?
©) Which component of selenium is most important?
~ 2 How many locators does selenium has?
=) Which exception is shown in selenium when there is a
© Which of following browser support selenium?
and lib in automation?
selenium web driver provide?
1b) Among all the given locator which locator is fastest of
3) Why should we use selenium?
8) How many types of XPath are there in selenium?
9) In selenium 4,which of the following method allows us
12) Which class is used for drop-down in selenium?
13) Which component of selenium is most important?
15) How many locators does selenium has in total?
16) Which exception is shown in selenium when there is
21) Which of following browser support selenium?
and lib in automation?
selenium web driver provide?
Automation Framework
Linear Automation Framework: We records each step
Examples: Selenium IDE, HP QTP, Even Jmeter with
(9 Hybrid Test Automation Framework: As the name
selenium ?
4, What is WebDriver ?Interface or class ?
5. Can't we write ChromeDriver instead of WebDriver and
requests and extract responses in API automation ?
1. Describe your experience with various automation
2. How do you approach designing a robust automation
automation scripts ?
automation projects ?If you so, describe your
6. Describe a particularly challenging automation
your automation projects ?
8. Have you integrated your automation tests with any
cross browser testing in your automation projects ? How
driven testing in your automation projects ?
automation frameworks ? what design patterns have you
automation testing practices ?
execution in your automation frameworks ? How do you
automation tests into the Cl/CD pipeline? How do you
architecture in your automation projects ? What
accessibility testing within your automation frameworks ?
Ul automation ?
your automation suites especially in scenarios involving
relates issues in Selenium ?
Selenium ?
8. What are the advantages and limitations of Selenium
for test automation ?
API Automation Interview
(@ What is API automation testing? How does it differ
from UI! automation testing?
“J What are the advantages of API automation testing?
frameworks for API automation testing?
in API automation testing?
responses in API automation testing?
©) what is the role of assertions in AP! automation
during automation?
codes in API automation testing?
automation testing, and how do you overcome them?
10.Write Selenium code to automate a calendar
Selenium?
12.How do you enter text in an alert using Selenium?
16.What are relative locators in Selenium?
19.In Selenium, how would you open a new tab?
9. Is 100% automation possible?
UST Global - QA Automation
. What are all the versions of selenium?
. Explain the use of an object repository in Selenium
. What is Page Factory in Selenium?
Selenium?
Automation .
1. Describe your experience with various automation
2. How do you approach designing a robust automation
automation scripts ?
automation projects ?If you so, describe your
6. Describe a particularly challenging automation
your automation projects ?
8. Have you integrated your automation tests with any
cross browser testing in your automation projects ? How
driven testing in your automation projects ?
automation frameworks ? what design patterns have you
automation testing practices ?
execution in your automation frameworks ? How do you
automation tests into the Cl/CD pipeline? How do you
architecture in your automation projects ? What
accessibility testing within your automation frameworks ?
Ul automation ?
your automation suites especially in scenarios involving
you have used in Selenium?
automation?
2. Cucumber with Selenium
with Selenium?
Selenium:
-> What is the difference between WebDriver and
-> How do you handle dynamic elements in Selenium?
-> Explain the concept of PageObject Model in Selenium.
Selenium?
-> What are the ways to handle iFrames in Selenium?
Automation Frameworks:
-> What are the different types of Automation
-> How would you design a Hybrid Automation
Automation Framework?
Automation Framework?
-> How would you integrate Cucumber with Selenium for
Ul automation?
10 Important Selenium -
1. Name 5 selenium exceptions (NosuchElement,
2. What are the new features of selenium 4.0
5. What is a stale element exception in selenium?
OA Automation
@ Selenium Questions:
1. What is Selenium, and how does it differ from other
2. How do you locate elements in Selenium? Can you
explain the different locator strategies?
3. What are the advantages of using Selenium WebDriver
over Selenium IDE?
4. How do you handle alerts and pop-ups in Selenium?
Selenium?
8. How do you take screenshots in Selenium?
in Selenium?
automating tests with Selenium?
2. Can you explain the concept of test automation
automation?
@ List some exceptions you faced during automation
#@ Selenium & Web Automation#
@ How do you handle mouse actions in Selenium?
@ How do you handle keyboard actions in Selenium?
letters in Selenium? Write the syntax.
the Selenium automation script for this scenario (in
Selenium.
2. Please explain your Automation Framework, all the
8. What is Selenium Grid?
9. Explain the WebDriver create statement line?
13. How do you generate Reports in Selenium?
15. What kind of waits are there in Selenium?
Selenium?
18. How do you switch to different Windows in Selenium?
20. Write the Code for taking screenshot in Selenium?
22. How do you pass data to your Selenium Scripts?
35. Explain the use of Jenkins in the Automation
6. What is #automation testing and why is it important?
10. What is your experience with #Selenium and
24. Which automation tools have you used, and what are
Automation Frameworks
and ‘clickLogin()* prevent direct locator access.
2. Please explain your Automation Framework, all the
8. What is Selenium Grid?
9. Explain the WebDriver create statement line?
13. How do you generate Reports in Selenium?
15. What kind of waits are there in Selenium?
Selenium?
18. How do you switch to different Windows in Selenium?
20. Write the Code for taking screenshot in Selenium?
22. How do you pass data to your Selenium Scripts?
Nagarro Automation interview
Test Automation Tools - 2025
- API Automation: Rest Assured
- Web Automation: Selenium 4
- Mobile Automation: Appium 2
Python Automation:
- API Automation: Requests
- Web Automation: Selenium (Pytest or Robot
- Mobile Automation: Appium
JavaScript/TypeScript Automation:
- API + Web + Mobile + Visual Automation: Playwright
- Web Automation: Cypress, WebdriverlO
- Mobile Automation: Appium, WebdriverlO
7. Interaction with Selenium WebDriver
9. Find the 2nd child element using Selenium
10. Intraction with selenium webdriver
11. Can Selenium WebDriver be used without APIs in
11. API Automation: RestAssured vs Postman
you have used in Selenium?
Test Automation
- Exposure to all aspect of automation: Web + Mobile + API
Selenium Grid, Playwright, or cloud solutions
- Al-Powered Testing — Enhances automation with self-
QA Automation Interview
10. Write Selenium code to automate a calendar
Selenium?
12. How do you enter text in an alert using Selenium?
16. What are relative locators in Selenium?
18. In Selenium, how would you open a new tab?
Persistent Automation testing
How to handle multiple windows in Selenium?
Automation

You might also like