Skip to content

ortoniKC/SeleniumInterview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation Interview Preparation

If you have a better solution, please add your comments, code and create a PR. I will be happy to learn from you :)

  • Part 1 Questions:
  1. In a table, there are few items with prices, How do you sum up all the prices?
  2. How do you click on an element providing the property like it has a name & title
  3. When you click on a button, a text appears on the screen, let’s say it will appear after 10, 20 seconds, or even 1 minute. So how do you handle this situation?

Solution

  • Part 2 Questions:
  1. How to switch between 2 tabs? Is tab or window are same?
  2. Difference between Checked and Unchecked Exception
  3. Can you explain the concept of overloading and override?

Solution

  • Part 3 Questions:
  1. How to prevent a method from override
  2. What is Given, When & Then ?
  3. What is the output ?

Solution

  • Part 4 Questions:
  1. Name few exception that you faced in automation
  2. When we cannot use @FIndBY
  3. Write a program to find the largest number in the given array

Solution

  • Part 5 Questions:
  1. What is the difference between close and quit?
  2. When we will get failure and skip in TestNG?
  3. What will be the output?

Solution

  • Part 6 Questions:
  1. Where do you use Enum in your framework?
  2. How to print all the dropdown values?
  3. How to print the page title without using getTitle function?

Solution

  • Part 7 Questions: 1.There is an alert with 4 buttons OK, Cancel, Yes, No. How do you handle it
  1. You are doing a click action using Selenium, After the click no response in the UI. What you’ll do?
  2. As soon as you load the QA it’s asking for username and password in the Alert. How to handle this?

Solution

  • Part 8 Questions:
  1. Can we overload and override a static method?
  2. Difference between ArrayList and LinkedList?
  3. What is the difference between fetch and pull?

Solution

About

LetCode - Q & A

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages