Questions & Answers

Learn and crack you dream job!

Q & A Part 1

  • In a table, there are few items with prices, How do you sum up all the prices?
  • How do you click on an element providing the property like it has a name & title?
  • 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?

  • Q & A Part 2

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

  • Q & A Part 3

  • How to prevent a method from override?
  • What is Given, When & Then ?
  • What is the output ?

  • Q & A Part 4

  • Name few exception that you faced in automation?
  • When we cannot use @FIndBY?
  • Write a program to find the largest number in the given array?

  • Q & A Part 5

  • What is the difference between close and quit?
  • When we will get failure and skip in TestNG?
  • What will be the output?

  • Q & A Part 6

  • Where do you use Enum in your framework?
  • How to print all the dropdown values?
  • How to print the page title without using getTitle function?

  • Q & A Part 7

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