Basic Questions:
- What is Selenium and what are its components?
- What is Selenium WebDriver?
- How do you locate elements in Selenium?
- What are the different types of locators in Selenium?
- Explain the difference between
findElement()
andfindElements()
.
Intermediate Questions:
- What is the difference between
get()
andnavigate().to()
methods? - How do you handle alerts and pop-ups in Selenium?
- What are the different types of waits available in Selenium?
- Explain the Page Object Model (POM) and its advantages.
- How do you handle frames and iframes in Selenium?
Advanced Questions:
- What is Selenium Grid and how does it work?
- Explain the concept of DesiredCapabilities in Selenium.
- How do you perform data-driven testing using Selenium?
- What are the challenges you have faced while using Selenium?
- How do you handle dynamic web elements in Selenium?
Practical Questions:
- Write a code to log in to a website using Selenium WebDriver.
- How do you capture screenshots in Selenium?
- Explain how you would automate a file upload scenario.
- How do you verify the text on a webpage using Selenium?
- Describe how you would set up a Selenium Grid for parallel test execution.
No comments:
Post a Comment