Saturday, February 16, 2019

[INTERVIEW] Selenium basic to advance level Questions - Part 1

Below are the Selenium Webdriver question I faced during my Interview with several companies -

Q1. What is Synchronization in selenium?
Click to view Answer

Q2. What is the difference between Thread.Sleep and selenium.setSpeed?
Click to view Answer

Q3. How to perform a double click on an element or any context menu?
Click to view Answer

Q4. How to use Maven for server repository?
Help me in solving this question

Q5. How to use AutoIt for file upload wit a relative path?
Help me in solving this question

Q6. How to get all elements of the combo box?
Click to view Answer

Q7. How to select 2 or 3 elements of the combo box?
Click to view Answer

Q8. Select any link through java scripts
Click to view Answer

Q9. How to get Y axis of elements?
Click to view Answer

Q10. How to work with security certificate in selenium?
Click to view Answer

Q11. How to switch windows in selenium?
Click to view Answer

Q12. What are different annotations in TestNG?
Click to view Answer

Q13. Is WebDriver is interface or class?
Click to view Answer

Q14. What is Context Menu operation and how it is performed?
Click to view Answer

Read CSV from S3

 import csv def count_records(csv_file):     record_count = 0     first_line = None     last_line = None     # Open the CSV file and read it...