Check Selenium Interview questions from 1 to 10 below:
Check Selenium-SDET-UIAutomation Questions set 21 to 30:
Check Selenium-SDET-UIAutomation Questions set 41-50:
Q&A Set 41-50
Check Selenium-SDET-UIAutomation Questions set 51-70:
• isEnabled() — determines if an element is enabled or not, returns a boolean.
• isSelected() — determines if an element is selected or not, returns a boolean.
• isDisplayed() — determines if an element is displayed or not, returns a boolean.
22. How to handle proxy in selenium for chrome?
ChromeOptions options = new ChromeOptions();// Create object Proxy class - Approach 1
Proxy proxy = new Proxy();
proxy.setHttpProxy("username:password.myhttpproxy:3337");
options.setCapability("proxy", proxy);
ChromeDriver driver = new ChromeDriver(options);
23. How to set the size of the window in selenium?
driver.manage().window().setSize(new Dimension(1024, 768));
24. How to fetch the size of window in Selenium?
Dimension size = driver.manage().window().getSize();
int width = size.getWidth();
int height = size.getHeight();
25. How to maximize the window in selenium?
driver.manage().window().maximize();
What are the new features in Selenium 4? VERY IMP
26. How to drag and drop from source to destination?
WebElement source = driver.findElement(By.xpath("//div[@id='draggable']"));
WebElement destination = driver.findElement(By.xpath("//div[@id='droppable']"));
Actions builder = new Actions(driver);
builder.dragAndDrop(source,destination);
27. How to perform keyboard actions in selenium?
By using Robot class as below:
Robot robo = new Robot();
robo.keyPress(KeyEvent.VK_ENTER);
28. How to get all cookies and with name of the cookie?
driver.manage().getCookies();
driver.manage().getCookieNamed("APISID");
29. How to delete all cookies and with name of the cookie?
driver.manage().deleteCookieNamed("APISID");
driver.manage().deleteAllCookies();
30. How to add a cookie?
Cookie cookie1 = new Cookie("test2", "cookie2");
Responsible for controlling the actual browser. Most drivers are created by the browser vendors themselves. Drivers are generally executable modules that run on the system with the browser itself, not on the system executing the test suite.
74.What are the new features in Selenium 4? VERY IMP
75. Explain some of the strategy to handle CAPTCHA?
There are two primary strategies to get around CAPTCHA checks:
- Disable CAPTCHAs in your test environment
- Add a hook to allow tests to bypass the CAPTCHA
76. What is page load strategy in Selenium?
****************************************
TOP 15 BDD - CUCUMBER Interview Q&A
************************************************
✍️AUTHOR: LinkedIn Profile
************************************************
Learn (API-Microservice)Testing+ Selenium UI Automation-SDET with Self Paced Videos prepared by FAANG employees and LIVE Doubt Session
*************************************************
SeleniumWebdriver Automation Testing Interview Questions:
https://automationreinvented.blogspot.com/search/label/SeleniumWebdriver
API Testing Interview Question Set:
https://automationreinvented.blogspot.com/2022/03/top-80-api-testing-interview-questions.html
DevOps Interview Q&A:
https://automationreinvented.blogspot.com/2021/11/top-11-devops-interview-questions-and.html
Kubernetes Interview Question Set
https://automationreinvented.blogspot.com/search/label/Kubernetes
Docker Interview Question Set
https://automationreinvented.blogspot.com/Docker
Linux Interview question Set
https://automationreinvented.blogspot.com/search/label/Linux
Automation Testing/SDET Framework Design
https://automationreinvented.blogspot.com/search/label/FrameworkDesign
Java Related Interview Question Set
https://automationreinvented.blogspot.com/search/label/Java
GIT Interview Question Set:
https://automationreinvented.blogspot.com/2021/09/top-40-git-interview-questions-and.html
Coding Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Coding%20Questions
Mobile Testing Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Mobile%20Testing
Python Interview Question Set for QAE - SDET - SDE:
https://automationreinvented.blogspot.com/search/label/Python
This comment has been removed by the author.
ReplyDeleteGood site
ReplyDeleteVery informative content
ReplyDeleteThank you Sidharth..Very informative questions.
ReplyDeleteVery informative crisp and clear questions & Answers
ReplyDeletehave doubt on 27 questions we can perform keyboard action via Actions class as well what is the difference to use Actions class & Robot class.
Very good site and good questions
ReplyDeleteI am doing automated testing training Thank you so much for sharing these questions it's really gonna help me.
ReplyDeleteThanks... This is useful one
ReplyDelete