0% found this document useful (0 votes)
224 views65 pages

Evolent Health Interview Questions

Cqq

Uploaded by

kandulaanusha20
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
224 views65 pages

Evolent Health Interview Questions

Cqq

Uploaded by

kandulaanusha20
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 65

**Evolent Health Interview Questions**

what is the process of agile project

-what all ceremonies there in agile

- sprint planning and retrospective meeting

- burndown , velocity, spike in agile

- how to prioritise the userstories when running out out of time

-databases queries- max salary, joins , copy table from existing 1

- difference between union and union all

- difference between retesting and regression

- defect life cycle

- difference between deferred and rejected bug

- difference between test plan and strategy

- which selenium version u are using

-framework of your project

- synchronisation in automation

-types of waits and difference

-different types of locators

- write xpaths

-how to get values from dropdown

**interview questions asked for performance Testing Tool in various organisation - Jmeter
**Explain the architecture of JMeter
How do u used Jmeter in ur project and why

What are different timers used in Jmeter

How requests are sent to the server in JMeter?

Explain the Process of Parameterization

Does JMeter simulate actual browser behavior?

What is Distributed testing?

What is the use of Regular Expression in JMeter?

What are the types of processors in JMeter?

What are the different ways of Data Parameterization in JMeter?

What are the maximum recommended threads on a single system?

Explain the difference between Gaussian and Poisson Timers.

What are the major differences between JMeter and Load Runner.

What is the use of co-relation in JMeter?

Latest version of Jmeter

What are the different types of listeners?

Explain the flow of the Test Script Recorder.

Can JMeter record actions from mobile? If yes, how?

How to do master-slave configuration in JMeter?

What are the JMeter supported protocols?

Why is it recommended to run JMeter in GUI mode?

Is it possible to run selenium scripts in JMeter? If yes, how?

How do you manage sessions and cookies in JMeter?


What are the important steps for testing JDBC request?

What is BeanShell scripting?

Can JMeter measure the performance of a complete application? For Example, you have multiple
screens in your mobile app. Can JMeter measure the time taken to flip the screens?

What is a Root CA certificate?

Which factors decide the maximum threads that one should generate per system?

What is a Workbench and why is it required

What is Tidy Parsing?

What are the important plugins that are supported in JMeter?

What are the types of the controller in JMeter?

Explain Ramp up period?

What are the roles of Listeners in JMeter. Can you name a few of them?

Name a few timers in JMeter. For what purpose they are considered?

What do you mean by Rendezvous point?

What do you know about assertions?

What do you know about the Pre-processors in JMeter?

Is it possible to run JMeter in GUI? If so, explain how?

What are the different protocols that are supported by JMeter?

What are the main parts of a Thread Group?

How sampler and logical controllers in JMeter are different?

Name at least 10 Listeners that JMeter is equipped with?

What are the applications that you can test with JMeter?
What are Post-Processors in JMeter?

What do you know about the Concurrent user hit in JMeter?

: List some of the test plan elements in JMeter.

What are Controllers and its types?

What is the execution order of Test Elements

What is 90% line in JMeter?

What is heap size in jmeter?

What is median in jmeter listener

Is it possible that, if we increase the heap size in Jmeter, then application(jmeter) might not work?

What is Blaze Meter?

How do you ensure re-usability in your JMeter scripts?

**Springer nature **

-What is finally, when do we use it

-in what condition finally block will not execute

-How can we separate the words from a string ‘STAYHOMESTAYSAFE’

-What is the difference between abstract class and interface

-Is interface a class, can it have static methods?

-What is method overloading, -why it is called compile time polymorphism

-in test ng if priority is -2,0,2 in what order test cases will execute

-in test ng how we can execute on multiple browsers

-how can we skip test cases in testing


-explain the code to go to amazon .com and select the list of elements from hello sign in button
,mouse action

-what are the important points to consider while raising a defect

**calsoft**

difference between abstract and interface

can we override main method

what does static mean ?

difference between absolute and relative path, which one is faster and why

contents of pom.xml

cycle of maven build

return type of data provider annotation

what is webdriver class or interface?

How to select from drop down

when do we use testing listeners

what is the return type of getWindowHandles()

**Nice Technical Round-1**

What are your roles and responsibilities in your project as Automation tester ?

Explain your Automation framework.

(more questions were related to this with respect to the explanation we provide)

What is CI ?

What is Jenkins ? Explain how you have implemented in your project.

Agile -Scrum Methodology


What all ceremonies you have attended in your team ?

Which tool for automation you will choose for a project you are deployed ?

Project specific questions

Which types of testing were supported by selenium ?

Which metrics you use to track automation of your project ?

** ISS Governance**

1) Introduce yourself

2) What tools you have used

3) Have you used cucumber

4) Have you used SQL

5) Joint Query

6) what is jenkins

7) How you generate results in your framework

8) If we want to start automation on new project what will be the steps

**Citi Group**

1) Introduce yourself

2) explain automation framework you are using in current organization

3) If there is no automation framework in place and client gave you feature to automate what will be
your approach?

4) what are various locators in selenium

5) Java - what is abstract class

6) Data types in Java


7) what is jenkins

8) How you generate results in your framework

9) what is CI how do you use it in your current organization

10) Our project is in equity. Do you have any domain knowledge on equity?

11) Do you know unix commands, what is unix command to find abc file from root directory

12) what is unix command to find first 10 lines in a log file

13) what is unix command to get latest logs in a log file

**Harman Interview question **

1) Roles and responsibilities

2)Explain wyat you done in SQL testing

3)Explain SQL qieries

4)Explain What you done in API testing?

5)Do you have experience in unix?

6)Explain different types of deffect management ?

7)Explain Bug cycle

8)Explain How you handle exception

9)What is xpath?Type of X path.Explain each type

10)What is Wait selenium,Diffrernt type of waits,Explain each waits

11)How you convert string "HELLO" into String "hello"

**City Bank **

1. What you have done till now as part of your IT experience?

2. Do you know OOPs concepts and in framework where and how you have implemented it?
3. Can we declare a private class?

4. What is difference between == and equals?

5. How string is immutable?

6. Where strings get stored and where reference gets stored?

7. Can you please explain with the reference of memory location that how string is immutable?

8. If not want to use String class then what can be used?

9. Difference between String and StringBuffer.

10. What collections you have used? Have you used HashMap?

11. List declaration?

12. Where used Set?

13. You have an application like flipkart and you want to buy a pen, so you have added that item two
times to cart using add to cart button, but in cart only one entry for item should be displayed with
quantity as 2, so how you'll test this?

14. 1 to 100 numbers will be flashed on screen only once and you have to find the missing number.

15. I have a table and want to store all table data then which collection should be ust and why?

16. What HashMap will return?

17. How to achieve inheritance without having interface?

18. Method overloading and method overriding? Where used in framework?

19. If I want that my class should not be extended and instance cannot be created by other class
then how to declare class?

20. How to store multiple values in one reference?

21. In cucumber, in which class you have gluecode, how many classes for gluecode and what was the
program line limit for class?
22. How to find missing implementation in Cucumber?

23. Used static data or dynamic data, what was the approach?

24. How to resolved conflicts while pushing code in Git?

**Cuelogic **

1. What is abstraction and how did you use abstraction in your framework.

2. Difference between static and final ?

3. Can abstract class have static data members ? How why?

4. What is session , can we store session data on client side ?

5. Login UC with username , paswrd, login button, explain scenarios.

6. 404 and 400 status code.

7. Difference between https and http.

**Evolent health**

1.Diff between implicit and explict wait.

2. Disadvantages of Automation testing

3. What is exploratory testing.

**persistent interview questions - 10+ years - role - Team lead**

1) Client comes and ask you to automate a feature. so how will you proceed? using existing
framework or using new framework if do not have framework in place?

2) what is CI? How you use it in your day to day work?

3) What is CD?

4) you mention that you used selenium grid if my client dont have multiple VMs that how will you do
parellel execution?

5) you use automation framework using TestNG or Cucumber?


6) Java program to provide output as pyramid, java program to print array list and count strings and
numbers and alphanumeric

7) Sol query already shared above...

8) how you use Jenkins in your project

**persistent interview**

Problem 1:

Write a Java class.

Create a method in this class that takes a List of strings as the only argument. Each string in this list
will be a single word containing either alphabets a through z or digits 0 through 9 (for example,
“abcd”, “Pune”, “623”, “Mumbai”, “10”, etc.

The method should print on standard output 2 numbers:

How many strings in the input array are numbers

How many strings in the input array are non-numeric.

Problem 2:

Write a Java class.

Create a method in this class that takes an integer array as the only argument.

The method should process this array and return the 3rd largest number in the array. For example, if
the array contains the numbers {10, 2, 5, 4, 6, 17, 11, 22} then the method should print the number
11 and also return the same.

Roles and responsibilities ,explain about the daily tasks that you are involved

Components of framework

What all components of selenium have you used in framework

Different types of wait

Explain each type of wait


Write program to read from excel file

What jars are used to read /write from excel file

How did you do the reporting of tests, Explain each step how do you implement extent reports in
project

what features of testng have you implemented in your project

**Indian Energy Exchange Limited**

1. swap without third variable in java

2. Count the "d" alphabet in given Sting = "Deven Dighe" and print in Java

3. Difference BetWeen String & StringBuffer

4. If String is Immutable, Then What is output of below Program

String s = "Karan Singh" ;

s = "Karan";

System.out.println(s);

5. What is Primary key ?

6. Difference between Primary Key & Unique Key ?

7. Write Query for Second Highest Salary ? By Complex Queries

8. If u want to find the Nth of Highest Salary , Then How will u write the Query ?

9. Explain About ur Framework , what kind of Excel do u used in Dat driven

10. How many Scenarios do u write in a day ?

11. Explain the Process you follow in Ur Company.

**HCL**

1. Tell about yourself.


2. Which Java and Selenium versions you are using?

3. What advantage you got by using jdk1.8 compared to older version?

4. Have you worked on hibernet, spring?

5. What OOPs concepts you've used in project and how?

6. What is interface?

7. How will you upload a file using Class?

8. How will handle alert?

9. If you have two delete buttons which gives two alerts and both alerts have same text except one
word which is different and you want to accept one alert and dismiss other and case of that one
word can also change then how will you handle this?

10. What do you know about Cucumber?

11. How will you find element at column 1 and row1 of a table?

12. Which plung-ins you have used in project?

13. Have you faced any issue like your test cases are working fine in local but getting failed in
Jenkins?

14. How to automate keyboard keys?

15. Have you used List, Set and Map? And where and give syntax.

16. If you have to handle more than one exception using try catch e.g. FileNotFoundException and
IOException then which exception sequence you will follow and why? And if exception is not getting
handled using both then what should you do?

17. If I write 2 catch blocks, in first catch I am using Exception class object to handle exception and in
second catch block, I am writing IOException then what will happen?

1)What is your approach to start testing using soap ui your asked to test an api
2) consider you are only qa ,tell the different types of testing you will perform on search
functionality of an shopping site and what basis you will sign off

3)what are different types of locators

4)in what order you will use css,xpath ,Id and why

5)how wil you identify a webtable and what is order in which u will trace

1. Tell something about yourself

2. Abstract class and interface

3. Static keyword in Java

4. String builder in Java

5. How we do multiple window handling in selenium

6. What is scenario outline cucumber

7. What is cross browser testing

8. Api testing framework explain

9. What's jmeter framework

10. Tell some testng annotations

**Ambab Infotech(Team Lead)**

1. Roles & Responsibilities

2. What is WorkSheet, Which file do you use.

3. Parallel testing using TestNg & Syntax.

4. Why we use TestNG ?

5. Explain Maven & What version of TestNG u use ?

6. How can we skip the Test in TestNG


7. What is Group in TestNG .

8. What is Adhoc Testing & Exploratory Testing.

9. Load Testing

10.What is StaleException ?

11. Difference between POST & Put.

12. What is API & How it works.

13. Challenges faced while you given Task to Complete ASAP.

14. Bug Life Cycle

**Ambab Infotech**

1. Tell me About yourself.

2. What are you Roles & Responsibilities in current Company

3. Explain Your Current Project , and explain ur project

4. What are the challenges u faced in Automation

5. OOPs Concept used in Framework

6. Explain Abstraction & Inheritance

7. How to handle Alert Button, Tell me Methods of it ?

8. Explain me Code How to write & Read from Excel.

9. FileInputStream is a Class or Interface ?

10. Difference Between Retesting & Regression

11. Difference between Interface & Abstraction

12. What are abstract Methods & can we extend it ?

13. Explain the Agile, & What is PBI ?


14. What is priority & Sevirity ,Tell me High Priority & Low Severity

15. What is Integration Testing.

16. Explain Water Fall Model.

17. Tell me Which Automation tool you used for Mobile

18. What are desired capabilities in Appium

19. Tell API Components

20. Explain Me About GitHub, How u Store Code.

21. Different types of Inheritance, And what is Multiple Inheritance

22. What is Static & Dynamic Website

23. What is POST Method ?

22. What is 400 & 404 ?

**LTI**

Diff bet Method overloading and overriding

Can we override static method ?

In how many ways we can declare string ?

Diff bet Abstract class and interface

How do u handle Exception in your project ?

Are you aware of finally block ?

Can we have multiple finally block ?

can we have try and Finally block No Catch block ?

If No Exception happen will finally block will executed ?

What are access modifiers in java ?


If we change order of Public static void as static public void will it throw any error ?

What is Final keyword in java ?

How can we call a parent class constructor ?

What is "this" keyword in java ?

Diff bet List and set ?

Code re-usability.

Code Comments.

Optimized code.

Optimized error handling.

Synchronization techniques used.

Locator techniques used.

Dynamic locators.

Degree of hard coding.

Scenario 1: Java

1. Java Program to generate Random Number

2. Write a Java program to iterate HashMap using While and advance for loop.

3. Java Program to reverse words in a String.

4. Java Program to reverse an array

5. Java Program to display Fibonacci series using loops

**Capco**

1. stringbuffer vs stringbuilder

2. Git architecture and how it works.


3. Cucumber scenario.

4. Tell me about role.

5. Brief about daily activities you do in your project.

**Avaya**

1) Explain your project and framework

2) Your role as automation tester in project

3) where all have u used oops concepts in framework give example

4) Types of waits and methods to use wait

5) why did you use maven in your project and how did u change dependencies

6) logic to separate numbers and alphabets from a alphanumeric string

7) difference between abstract class and interface

8) where did u use overloading and overriding in framework

9) name a few test ng annotations

10) how do u ignore a test case in test ng

11) difference between @class and @method

12) difference between run time and compile time polymorphism

13) explain inheritance

14) how can u select value from a drop-down , and syntax of select class

15) different locators in selenium

**Fabric**

1)Tell about previous company role.

2)What is regression testing?


3)What is test case and explain with example

4)What is unit testing?

5)What is system testing?

6)What is SDLC ?

7) Explain phases of SDLC

8)What is Bug cycle?

9)What is smoke testing

10)What is severity/ parity

11)Tell me about Agile and how you used it?

12)What is the difference between verification & validation

**Infrasoft**

1st round

1)About yourself and roles , responsibilities

2) difference between / and // in selenium xpath

3)what is the difference between absolute and relative xpath

4) how do you choose a test case is fit for automation

5)test scenarios for elevator

6)contents of test plan

7)test stratergy

8) difference Between product owner and scrum master , can one person play both roles?
2 nd round

1) significance of jre,jdk,jvm

2)how do you achieve inheritance in java, what is the keyword used

3)can we use multiple inheritance in java

4)how do we use interface in class

5)do we need to create instance of class while creating instance of interface

6) difference between method overloading and method overriding

7)can we change return type of method in method overloading, will it give error of yes when ?

8)what all ceremonies were performed as part of your agile project

9)what types of testing you performed in your project

10)what is difference between sit and uat

11) project specific questions

**REI System**

What is your roles & responsibilities?

What is WebDriver ?why its interface?

What is hashmap?

Why set does not allow duplicate method?

What is array list?

How to write a programme:

String=”engineer”

To find number of character into a string?

What is WebDriver?
What is explicite wait in selenium?

What is REST?

What are difference mathods available>

What is Jenkins?

How we can create jobs?

Difference between Array and ArrayList?

What is collection?

**Capgemini**

What is map?

What is set?

How to convert Array to ArrayList?

How to remove duplicate character from array?

How to merge two Array?

How to convert each first letter from string

How to handle windows in selenium?

Why TestNG is used?

Which tool used for reporting purpase?

How to handle multiple Iframe?

How to handle webtable?

Cucumber?

**virtusa **

Roles and responsibilities?


What kind of framework you have used?

Explain framework?

Inheritance in project?

Collection used in project?

In which scenario you have used collection?which collection?

what is IO exception.?

How to handle database using selenium?

DML & DCL commands?

Have you done API testing using selenium?

What issues you found with API testing?

What we verify in API testing?

Data provider in TestNG?

What is soft Assert & hard Assert?

Difference between Array list and linked list?

**paratuss systems**

Explain project & role & responsibility?

How to set path for WebDriver?

How do you launch the browser using Webdriver?

Selenium locators?

Diff. Link text & partial Link text?

What is method overloading?example?

What is runtime polymorphism?


What is inheritance?

What is interface?

What is TestNG?

Why we use TestNG?

Types of X path?

What is compile time polymorphism?

pgaSystem**

roles & responsibilities?

About project?

How you develop skills &which challenges ?

Sanity and smoke testing?

Functional &regression testing?

1 scenario asked ,about timeline how will you manage ?


Smart Energy water interview questions
1.Tell me about yourself
2. Rating in java out of 5
3. Difference between static and instance variable
4. Difference between Abstract and interface
5. Where we use Apache POI
6. How to do Parallel execution in TestNG
7. How to implement Extent report in framework
8. Difference between implicit and Explicit waits
9. How to set priority of test case in testNG
10. How to run single testcase multiple times in testNG
11. How to skip any of the test case in testNG
12. What is the Return type of constructor
13. Can we make constructor as private?
14. Concept of Page Factory and it's implementation and object creation
15. Drag and drop in selenium
16. Types of test annotation in testNG
17. Difference between before test and before method annotation
18. Explain Page object model and it's implementation
19. How to access static variable in another class.
20. Drop-down in selenium

Xoriant Solutions (Exp--3+ years)


Rate yourself out of 5 in Java, Selenium & Cucumber
1) Tell me about yourself
2) Roles & responsibilities
3) Explain your Framework
4) Explain Drop down concept in different ways(depend on ans they will goes in depth)
5) Flipkart scenario to click on Electronics (using Action Class)
6) What is Polymorphism
7) What is interface? (Depend on ans goes in depth)
8) What is Cucumber?
9) difference of scenario outline & data tables in cucumber
10) What is hooks?
11) What is Tagging in cucumber
12) difference between dry Run & Strict in cucumber
13) Is Cucumber support TestNG
15) What is encapsulation? Explain with example & code
16) Java program to find duplicate characters from word without using for loops.
17) Explain code of object Repository (.properties file)
18) how you store data in .properties file
19) what is page factory
20) difference between @BeforeClass & @BeforeTest
21) which things you are writing in @BeforeTest
22) How skip test case in Cucumber
23) how to run failed test case in TestNG
24) How to Gruop and run that test cases in TestNG
25) what you write in @BeforeSuite annotation
26) different locators
27) what is collection in java
28) Hierarchy of Exception.

1. How to handle scroll in automation?


2. Where to store all your reusable methods instead of using utills ?
3. Scenario: you need to test only the login module 10 times & on 11th time you have to do
login again to test some of the core features. How you will do ?
4. Suppose you have to test a feature with 100 sets of data. How will you do this?
5. How to use or call your properties file through all your test case?
6. Suppose you have 100 test cases & each test case contains n no. of methods. How will you
decide, which one to execute 1st or you can say how will you prioritise?

Persistent interview questions - 10+ years - role - Team lead


1) Client comes and asks you to automate a feature. So how will you proceed? Using an
existing framework or using a new framework if do not have a framework in place?
2) What is CI? How you use it in your day to day work?
3) What is CD?
4) You mention that you used selenium grid if my client dont have multiple VMs that how
will you do parallel execution?
5) You use automation framework using TestNG or Cucumber?
6) Java program to provide output as pyramid, java program to print array list and count
strings and numbers and alphanumeric
7) Sol query already shared above...
8) How you use Jenkins in your project
Note: They ask to write code in notepad and ask to run on online editor during interview.
They share ms teams link.

Persistent-Technical interview questions:


1. Explain API framework
2. Java
2.1. Write code to print below pattern (code to be written & run using eclipse)
1
33
555
7777
* Solution: Using 2 for loops this pattern can be achieved.
2.2. Code snippets to test below concepts:
a. Exception handling-
Try {
Error statement throwing Child exception
}
catch (Exception e) {
}
catch (ChildException c){
}
*1st catch has Exception classname, 2nd catch has child exception classname.
Qn: If second exception is thrown in the try block, which catch block would be referred?
b. Runtime polymorphism-
P p = new C();
p.display();
P is parent class, C is child class, display method is present in both the parent and child
classes, which one would get executed?
* To identify and tell answer that 'display' method of child class would be executed as it's
Runtime polymorphism.
c. Object creation of parent class using child class reference:
C c = new P();
Here, C is child class, P is parent class.
The answer should be 'error' as we can't create a parent class object using child class
reference.
3. TestNG questions:
Listeners,
dataprovider,
How to run parallel tests in testng,
How many annotations in testng?
4. Selenium:
- Alert is a class?
- Code snippet
Alert a = new Alert();
a= driver.switchto().alert();
a.accept();
Is this correct?
- How to take screenshots
- file uploading without using AutoIT
5. Maven questions:
- Plug-in to generate reports in maven
- Diff. between maven install and build
6. Svn/git:
- How to create branch
- How to push/pull code
7. How to build project using cmd prompt?
8. CI/CD - Jenkins:
Have u used CI/CD?
Explain.
9. Cucumber:
- Explain cucumber framework
- Explain Test Runner file
- how many annotations in test runner file.
10. Have u done Performance testing?
- using jmeter, etc..
- any plug-in

This is regarding Evolent health assessment test , got three new questions along with
the existing questions shared in group.

Descriptive one:
1. Diff between implicit and explicit wait.
2. Disadvantages of Automation testing
3. What is exploratory testing?

In Nice online test, there are 3 section


1) testing and general aptitude questions-mcq's
2) java questions -mcq's
3) selenium - coding , 2 questions to complete code, half code is already given ,it was related
to taking screen shot and one was to read from excel file and constructor

Gate6(Indore)-Interview questions-
1. What are frameworks that you have used in project
2. Annotations in TestNG
3. How you performed api testing and using which tool
4. Difference between EVP and BVA
5. What is agile
6. Who create products backlogs
7. Explain how you perform testing in Jmeter
8. Tell me the project technology you are working on
9. Brief introduction about you and your current duties in present organisation
10. Why do you want to switch in such pandemic situation
11. Do you know and use SQL query in any projects

Walmart Labs Technical Interview Questions:


1. What Is Abstraction
2. Difference between Line and Set
3. Oops Concept
4. Ever Faced Exceptions During Automation
5. Method Overriding
6. Can Static Method Be Overridden
7. Difference between Abstraction and Interference
8. What Is Inheritance

Congruent Solutions Technical Interview Questions:


1. What Is Performance Testing
2. What Is The Test Management Tool Used
3. Oops Concept
4. What Is Inheritance
5. Difference Between Regression And Retesting
6. What Is Interface And How Is It Implemented
7. What Is Boundary Value Analysis
8. Difference Between Load And Stress Testing
9. What Is The Framework Used In Your Project
10. What Is Pom
11. SQL Basic Questions
12. API Basic Questions

Interview question(Source:- Facebook)

1.How will u validate the entire json response ( all values lets say 100 values) with the
Database value ???
- the interviewer was asking about the entire approach like how u will store ur json response
and how u will verify with db using java??
2. Lets say u have 1000 test for regression and 60% of testcases failed on the execution day..
what will be your approach here?? How will u know why these test cases failed?? What you
will answer to your manager??
3. Tell me about different types of java exception
Tell me the test case status pass or fail & which exception u will use??
Scenario 1. in try block u gave correct user id and correct password and then catch block
Scenario 2. In try block u gave correct user id and wrong password and then catch block
4.How to schedule a jenkins job for different suite in single aws machine??
5. How to configure or import developer api code into swagger??
6. How will u convert a already existing java project into gradle project.. what are the things
u need to write inside the build.gradle file??
7.why do we use singleton pattern in selenium??
8.what is class loader ?? Have u used in ur framework??
9. What are the different type of hashMap??
10. Why do we need baseTest class in testNG?? Can we use @beforesuite and @aftersuite
inside in the test class??
Which steps u will write in these annotations??
11.How will u sequence ur tests without using priority??
12.one question on scenario based where u need to verify whether the final ratings are
coming as average of all the ratings.. lets say there are 1000 of ratings in ‘n’ number of
pages.. how will u go to automate this test case??

TSYS Interview Questions


1) oops concept in java and how you implement in your project
2) Abstraction and Encapsulation
3) Overloading and Overriding
4) Diff between Hashset and Hashmap
5) Character literals
6) How compiler judge between Compile time and Runtime Exception
7) Code snippets:
a) String s = 'j'+'a'+'v'+'a';
b) try(system.exit(1) catch(sysout(e)) finally(sysout("we are out")
c) public class A(
(
If(true)
break;
))
Selenium Questions
1) what is webdriver?
2) What is implicit, explicit wait and pooling concept?
What will be your manual test case approach if you got a new module to test?
MAVEN lifecycle?
Api testing
1) what will be the error codes?
2) Rest Api http, post etc

EPAM interview questions:


1. Reverse array.
2. Java OOPS concept
3. Singleton design pattern
4. Rest API testing
5. While asking for selenium he asked me to open www.epam.com and asked me write xpath
to get all the header links
Lift/elevator test cases.
2. Security testing
3. Jenkins
4. Web application security testing
5. SQL query
Employee with second highest salary in employee table
6. Some selenium questions
Unix commands and there uses
List Testing techniques
When we should automate tests in SDLC

Quality Kiosk Interview Questions :


1) Tell me about your self
2) What is xpath ?
3) Write the program for Prime Numbers
4) What is constructor and explain types of constructor ?
5) Explain Locators used in selenium
6) How will you get the label from the variable using Selenium?

TCS Pune Interview Questions -.


1) Tell me about your self?
2) Which Framework you have used for your project ?
3) Explain Page Factory ?
4) Explain Abstract & Interface ?
5) Difference between Implict wait , Explicit wait and Fluient wait ?
6) What is the code for screenshot using selenium ?

TCS Chennai Interview Questions:


1) Tell me about your self
2) Explain Framework
3) What is Inheritance ?
4) What is API Testing and explain in detail ?
5) What is Jasmine Framework?
6) What is Python ?

Yethi consulting Interview Questions :


AUTOMATION Questions :
1) Tell me about your self
2) What is Action class and explain?
3) How to handle multiple browsers tabs in selenium?
4) How to Upload file using Selenium and give the syntax for that ?
5) How to perform (control + a) through selenium ?
6) How to shift between tabs of the same browser using selenium ?
7) What are the difference between get() and navigate()?
8) What are the difference between findElement() and findElements() and what its will return
value for findElements () and findElement()?
9) Different approaches to click and submit button?
10)HandlingWebTable(static and dynamic) in selenium
11)What does getwindowhandles() and getwindowhandles() return? and its difference
12) Is it possible to use only perform() without build() ?
13)What is perform() and build()?
14) What is page Factory?
15) Explain Implict wait and Explicit wait?
16) Write code for handling multiple browsers ans switch to new browser?
17) What is WebDriver? And why WebDriver is used ?
18) What is StaleElementsReferenceExceptions?When this occurs ? And How to overcome
such exception?
19)How you group the testcases ? Any why?
20) How to include or exclude test cases ?
21) Why we are using System.setproperty("WebDriver.chrome.driver" " path for driver")?
22)Explain WebDriver driver = new Chrome driver() ?
Java Questions -
1) Difference between String and Stringbuffer
2) Explain types of variables ?
3) Explain Abstract and Interface ?
4) Explain polymorphism?
5) Explain Singleton class in Java ?
6) Difference between Hashmap and Hashtable ?
7) Explain Hashset ?
8) What is exceptions and its types ?
9) Difference between static methods and non static methods?

Capgemini Pune Interview Questions :-.


1) What is abstract class ?
2)Explain Framework?
3) What is Jenkins & explain the connections set up you have done ?
4) How will you connect DB with Automation?
5) How will you fetch data from Excel sheet and tell me the syntax for that column?
6) What is Arraylist ?
7) What is Inventible in Java ?
8) What is Hashmap and Hashtable ?
9) Explain collections and explain List and set ?
10) How will you used CI/CD integration in your project ?
11) Questions on Database Testing
12) Do you have the knowledge of Unix / Linux ?
13) Write SQL Queries

Oracle interview question


1) which framework you have used?
2) how to handle failed test cases.
3) if your test cases depends of previously test cases how did you handle & explain syntax for
that?
4) what is regression testing.?
5) what are the different types of wait you have used in your framework and explain.
6) what is the difference between test plan and test strategy..?
7) asked some queries.
8) tell me something about exception.
9) BDD cucumber explain
10) explain framework architecture.
11) related to data base testing
12) level of testing.
13) Defect bug life cycle

SQA Interview Questions


1. What is difference b/w Quality Assurance & Quality Control? Specify the roles that
perform QA & QC?
2. Difference B/w Validation & Verification.
3. Which testing should be performed first after the build deployed on the production server?
4. How to verify that sufficient testing is performed on the build?
5. Which factors involved to decide the build health (Excellent, Good, Satisfactory, Fair &
Poor)?
6. If the bug is encountered by the Client and missed by the QA, how will you handle the
situation?
7. If Developer is not ready to accept the bug as an issue, how will you justify the situation
with a reason?
8. What core skills required to be a good QA Engineer?
9. Can anyone from the development team switch into the QA because there is no pre-
requisite training required? Justify with a reason?
10. Define the process of the Bug life cycle followed in your organization?
11. What is STCL? What is the role of QA in the phase Environment Setup? If QA person is
not the part of phase Environment Setup phase, then why it is included in Life Cycle?
12. What Is Agile, discussed some pros of Agile over other Development Models?
13. Difference B/w Scrum and Kanban Board? Which process is considered to be more
flexible?
14. How to write an efficient Test Case?
15. Scenario: On login page by entering invalid Username and Password and clicking the
login button “No Alert Shows”. Define it’s Severity and Priority.
(b) If you have a single option to choose by means of Severity and Priority what should be
your answer?
16. Discuss some interesting ways of testing through which you found some meaningful
bugs?
17. Is 100% test cases are pre-decided before testing or is there any possibility to modify the
Test cases in some situation?
18. Define your role in the team?
19. How you verify all the test cases have been covered and defined well?
20. What is difference b/w Postman and swagger in API Testing?
21. To test the Update Service in Postman we use which method?
22. What’s the purpose of using Put Method in API Testing?
23. What is Boundary Value Analysis?
24. If you have text-field to test from 1 to 3000 values. Will you test all the values from 1 to
3000 or is there any technique to verify the functionality?
25. What is RTM?
26. How QA can help in the process of Deployment?
27. Is it necessary to involve QA from the initial phase of Requirement Analysis? If Yes,
How?
28. What is the difference b/w Manual and Automation Testing? Explain the situation where
Automation Testing goes to fail.
29. Define the term QA checklist?
30. What is indexing in the database?
31. Define the Term Primary Key, Foreign, and Composite Key?
32. What are Stored Procedures in the database?
33. Write (Create, Read, Update and Delete) queries.
34. What is Triggers in Database?
Note: QA must have sound knowledge of Database & Programming Concepts along with
domain knowledge. Because in most of the interviews these two areas are also covered.

Gaana.com
Noida | Interview question
[ ] Inheritence and how it is implemented in java
[ ] Various other concepts of java and how are actually implemented in java such as
abstraction, polymorphism, data hiding etc
[ ] testng annotations and their seqence
[ ] collections such as arraylist, hasmap etc and where they are used and their implementation
[ ] java progarms.. count duplicate in a string
[ ] complexities of varios java programs
[ ] structure of automation framework
[ ] clonely inheritence
[ ] various methods of Api and how api automation done
[ ] the whole agile process of your project
[ ] In system.out.println.. what is out
[ ] difference in junit and testng
[ ] maven lifecycle
[ ] how parallel execution is done in automation.. mainly in testng
[ ] java programs count duplicates in a sring
[ ] java program.. calculate highest and second highest element in an array
[ ] what is rest api and webservice
[ ] testng.xml ka structure
[ ] various locators.. xapth, css, id, class etc
[ ] actions class in selenium
[ ] various waits in selenium
[ ] handling windows and alerts in selenium
[ ]Database testing using selenium

For 4 years exp in automation:


Java
-----------------------------------------------------
1. What is abstract class?
2. What is the difference between abstract and interface?
3. Purpose of constructor in Java?
4. Does abstract class can have constructor?
5. Is it possible to create an object for abstract class?
6. What is the difference between collection and collections?
7. What is set?
8. What is the difference between Hast Set and Tree Set?
9. What is the difference between Hashmap and Linked Hashmap?
10. How do you initiate a therad?
11. Do you know threads concepts?

Programs:
---------------------------------------------------------
1. Given a string = "123AM256CD", print 2 output strings one for all the numbers and one
for strings. Provide 2 ways. (Asked for the exact code)
2. Given an integer = 123 , give me the possible combinations ? like 123,132,231,312.

Selenium
-------------------------------------------------------
1. How do you handle windows in selenium?
2. The login should be done manually , from home page u need to execute the scripts , how?

TestNG
---------------------------------------------------------
1. one @test is there, would like to give a chance 3 times whenever it fails?
Git Hub:

---------------------------------------------------------
1. Set of commands to upload a new file in git which is created in your local?
2. committed 2 side, you want the branch to be reverted to the previous one? how?

Jenkins
-----------------------------------------
1. Command to start jenkins server?
2. How will schedule the job to be executed every 1 hour?

Interview in Morgan Stanley


Interview question:
1.How will u validate the entire json response ( all values lets say 100 values) with the
Database value ???
- the interviewer was asking about the entire approach like how u will store ur json response
and how u will verify with db using java??
2. Lets say u have 1000 test for regression and 60% of testcases failed on the execution day..
what will be your approach here?? How will u know why these test cases failed?? What you
will answer to your manager??
3. Tell me about different types of java exception
Tell me the test case status pass or fail & which exception u will use??
Scenario 1. in try block u gave correct user id and correct password and then catch block
Scenario 2. In try block u gave correct user id and wrong password and then catch block
4.How to schedule a jenkins job for different suite in single aws machine??
5. How to configure or import developer api code into swagger??
6. How will u convert a already existing java project into gradle project.. what are the things
u need to write inside the build.gradle file??
7.why do we use singleton pattern in selenium??
8.what is class loader ?? Have u used in ur framework??
9. What are the different type of hashMap??
10. Why do we need baseTest class in testNG?? Can we use @beforesuite and @aftersuite
inside in the test class??
Which steps u will write in these annotations??
11.How will u sequence ur tests without using priority??
12.one question on scenario based where u need to verify whether the final ratings are
coming as average of all the ratings.. lets say there are 1000 of ratings in ‘n’ number of
pages.. how will u go to automate this test case??

NIIT Technologies(Coforge)
1. difference between JRE and JDK
2. What is Garabage collector
3. What is wrapper class
4. What are immutable objects
5. Why the String is a immutable class
6. Describe your framework
7. What are significance of using POM
8. What is difference between @FindBY and findBy
9. Difference between Scenario and Scenario outline
10. What needs to be used when we need to any pre-requisite in Cucumber(basically asking
about Hooks and Background)
11. What we can use if we need to pass list to our step definitions(Basically asking about
Datatables)
12. Can we use Datatables in scenario outline
13. What is request specification class
14. How we can read JSON response and XML response using RestAssured
15. What is Request header and Parameters
16. How can we pass parameters to PUT request

Capgemini Interview Questions


1. Difference between list and set
2. test runner class in cucumbner
3. feature file in cucumber
4. Abstraction and how to achive abstraction in selenium
5. What is mean by encapsulatipn
6. difference between smoke testing and sanity testing
7. How to handle popup in selenium
8. What are the main components in api
9. How to handle alert in selenium

Betsol interview questions:


1. Tell me about yourself
2. Describe the framework you have worked on
3. What is a feature file in Cucumber framework
4. Can we write multiple scenarios in a feature file
5. What is the step definition file used for in cucumber
6. Difference in interface and abstract class
7. Program to reverse a string without using any in built functions
8. Lifecycle of Maven
9. Difference in implicit wait and explicit wait and syntax
10. If you are required to make any changes to your selenium files in a maven project, how
can you achieve that?
11. 2 dropdowns on a page, one for state and second for city. What code would you write to
select state as Maharashtra and city as Pune?
12. Syntax for mouse over text in selenium
13. Difference between put and post
14. How to check if a number is palindrome or not
15. Can I write: WebDriver driver = new WebDriver()?
16. Difference in overloading and overriding
17. What is run time polymorphism?
18. Can I access a parent class method by a child class object?

Xoriant first round


1. Diff between list and set
2. How to calculate the size of a string biggest strinf, I have 10 strings
3. What does getwindowhandles return, I have a window and when I click on a button I
open another wndpw ,tell me the flow to goto child window, how will you get to know
which is chid window and which is parent window ?
4. I=explain flow of following code
Try{
Int i=10/0;
Return 10;
}
Caltch
{
Return 20;
}
Finally {
Retun 30;}
5.What are different types of exception you have encountered in selenium , how did you over
come stale lemetn exception ?
6.Why do we use java script, how is the problem of elements not finding resolved using
javascript
7. Difference between put and post methid
8 difference between stateless and statefull
9 in git what is the commands
10 how to schedule jobs in Jenkins, what are different commands
11how can we parameterize builds
12 in css seelctors, what is difference between <>, > returns what ? can we replace > with
any xpath
Example <div><input><input? What will “> “return
13ommand to checkout code in git
14 difference between merge and rebase
15 I have a method add(int,string,string,string);
I am implementing this method, what is the optimised way to implement the method , can I
reduce the number of argument if yes how?

Interview For QA Profile at Evolent Health


1. Tell me about yourself
2. How to handle Windows based popup
3. How to take screenshots, write the syntax
4. How to perform drag and drop
5. Difference between waits - Implicit and Explicit
6. Difference between driver.close() and driver.quit()
7. What is EventFiring?
8. There is condition which is assert.assertEquals and it fails, how will you be
handling this to take screenshots on failure?
9. Define your framework
10. How to do file upload
11. How to select from the drop down
12. What is Scrum?
13. What is Scrums of Scrum?
14. What are Agile Ceremonies?
15. When Does we have retrospective meeting and who all are there?
16. When does you have grooming and what happen during this?
17. Sprint Planning?
18. Agile: Burndown and BurnUp chart?
19. Velocity in Agile?
20. What is spike in Agile?
21. What is sprint zero?
SQL:
1. Write query to select the count of total employee from one department out of so
many
2. Write query to find the total count of employee in each department: i.e. department
wise employee count should be returned
3. Difference between union and union all
4. Two tables have one thing in common employee id: one table has following
columns i.e. employeeid, name, department, and second table has following columns:
employeeId, Project, Salary
a. Find out the employees of project p1 and having salary over 10000 and less
than 30000

Manual + API:
1. What is RTM?
2. How you write test cases?
3. Difference between Regression Testing and Integration Testing?
4. What is Test Planning? What does it consists of?
5. What are the tools you have used?
6. What is HIPPA?
7. What is Provider and Payer in healthcare domain?
8. What is API?
9. Different methods in API?
10. Explain each method
11. What is 400?
12. What is 401? How to resolve it?
13. What is 500 and when we get this?
14. What is 502?
15. What is 200?
16. Explain the test scenario to test following: POST API:
https://abc.com/heathcareId/paitentId
17. How will you generate access Token under Postman?

Dassault Second technical Round


1. Tell me about your self
2. difference between absolute and relative xpath
3. your role and responsibility in current project
4. What is Data Driven Framework
5. How you write Test Script
6. how you decide which test case should be automate and which shouldnt
7. tell me the ATLC life cycle
8. what is Agile Methodology and how you are apply in your project
9. Pron and cons of agile methodology
10. chalenges faces while doing automation testing
11. which version no you are using in your selenium jar
12. after complting the code which tool you are you using to save you suite
13. have you ever made any framework from the Scratch?
14. how much you are rating yourself in Java?
15. gave three java program and asking the output
16. Ask me to share the Screen and with the help of Eclipse perform now and the given
scenario is
# Scenario
open browser >> go to IBIBO.com >> Go to DEparture >> HIt to Arrown button >> go to
august and come to july and select 31 july and he want to see in DOM structure also at that
point only
17. Shared screen and there is one program he ask me to do optimise the code
18. Ask my Annual package ,notice period

Tech-Mahindra Hyderabad Interview Question

1st Round
1. Write a Code to generate Random numbers.
2. Write code to verify a number is perfect number or not.
3. Fibonacci series from 1 to 10.
4. Write a program to find a Factorial of a number.
5. Swap two number s without using the third variable.
6. Program to find the greatest of three numbers.
7. An Array of numbers given. .Find the largest two number and print it
8. Reverse a number.
9. Verify if a given number is a palindrome or not. (same concept of reversing a number)
10. Armstrong number program.
11. A String is given to remove the white spaces, reverse it and print the only odd position
characters.
12. Check if a string is an anagram of another string.
13. A string is given make few characters to upper case as asked.
14. In a String print the occurrence of each character.
15. In a Statement check how any duplicate strings are there and remove them.
16. Use split to print each word of a statement.
17. Find the substring of a String.
18. Remove duplicate characters from a string and print it.
19. Write a code to print the triangle of numbers.
20. Read and Write file program.
21. Calculate the power of a number using a while loop

2nd Round
1. Write a program to take a screenshot of a page and explain?
2. There are 4 frames in a page click the element present in each frame?
3. Write XPath for radio button and checkbox.
4. Why do you use TestNG and why not JUnit?
5. How did u use runtime polymorphism in your project?
6. What is an agile model and explain your involvement in a scrum team?
7. Explain the framework used in your project.
8. What is the need to use Jenkins?
9. Explain driver.quit()?
10Explain your current framework?
While explaining the framework, in-between they will ask a few questions about the
framework. Like why this framework?
Execution flow?

3rd Round
1. How to integrate with TFS?
2.Benefits of Selenium?
3.Benefits of Oops??
4. What is polymorphism??
5. What is the dictionary ??
6. How to handle AJAX elements?
7. What is synchronisation?
8.Difference between implicit wait and explicit wait?
9. What is the automation life cycle?
10. What is the framework?
11. What is Nunit? Explain the capabilities of Nunit?
12. Write a script to open the Firefox without using FirefoxDriver class
13. How to take the screenshot of the web element?
14.How to verify whether the element is present or not using find elements method
15. Write a script to verify whether the checkbox is selected or not.
16.How to verify whether the list box is a dropdown list or multi-select list.
17.Difference between ArrayList and linked list?
18. Explain the vector??
19.Difference between abstraction and encapsulation?
20.Difference between protected and default access specifiers?
21. What is singleton class ??
22.Why POM??

Interview Questions on LoadRunner/Performance Testing:


Say me some thing about your self
Do you have any question?
1) Tell me 10 issues that you faced in load runner
2) How do you debug the script?
Using lr_debug_message Using check point
3) What is the difference between URL and html based recording?
URL-non browser level (example images are video file)
HTML-browser (checking the browser components)
4) How do you cross check that your test is correct?
5) Say me some of the counters used for web logic and windows resources and database
6) What is environment of load runner?
I send you an image file previously
7) What are you going to do if you don’t have enough resources available in your desktop?
Run it from other
8) What is rendezvous policy?
9) Is there any different way to do stress testing ?
10) What are the resources you are going to monitor when running your script?
11) What is manual correlation? How do you handle it?
12) What is the process of doing manual correlation?
13) How are you going to know where exactly you’re got error?
14) Do you feel reducing the connection to database will increase the response time?
15) What is the different protocol you used in load runner?
Html
16) Did you test web services? No
17) How are you going to know which page the script is running in controllers?
Using transaction points
18) For how many users you have license of load runner?
250 users
19) What is the bench mark for your application?
3 sec for response
30 stress user 150 simultaneous user
20) How to you resolve the issues of server restart?
Pre-requisite before testing (handled by DBA)
Batch jobs in windows
Crone jobs for database
21) How did you handle correlation?
22) Explain each parameter in web_reg_save_param?
23) How can you say that how many hits are taken to database and how many to server?
24) What is meant by stress testing?
25) When will you get step download timeout error?
26) Any other way can you do stress tress with ramp and ramp down.
27) How do you verify in your that the operation your performed has passed?

Round 1:( Paytm Interview Questions )

1. Tell me about yourself?


2. Different HTTP Methods you are aware of in API Testing.
GET: Fetches a resource from the server
POST: Creates a new resource on the server.
PUT: Updates an existing resource on the server.
DELETE: Deletes a resource on the server
PATCH: Updates an existing resource on the server.

3. Commonly used Status Codes for API Testing.


200: OK
201: Created
400: Bad Request
401: Unauthorized
403: Forbidden
404: Not Found
500: Internal Server Error
503: Service Unavailable
4. Explain your project framework?(this question is asked in all rounds)
5. Git Commands for pushing code to the repository.
What the interviewer meant was to tell him the process I follow from cloning the repository
to push the code and creating a pull request.
a) git clone “repo-url”
b) git checkout -b “branch-name” //for creating a branch
c) make changes to the code.
d) git add . //add those changes(or staging)
e) git commit -m”commit message”
f) git push
g) Creating a pull request from the Github UI to merge the branch to master.
6). Different types of waits in Selenium.
You can check this article: Waits in Selenium.
7. What happens If I put both implicit and explicit code in my selenium code?
I was like we should not use both waits together according to Selenium official
documentation.

8. Difference b/w Delete and truncate.


DELETE: The contents of the table cannot be rolled back. It’s permanently deleted
TRUNCATE: The tables data is temporarily deleted and can be rolled back if required.
9. SQL query to select rows in which the date is greater than a particular date.
SELECT * from table_name WHERE date_col > 'date'
10. SQL query to select only rows that don’t have values in a particular column.
SELECT * from table_name WHERE col_name IS NULL;
11. Test cases for booking movie ticket.
12. Test Cases for login functionality(both UI and API)
13. Java program to count occurrences of words in a String.(Click to view program)

Round 2 :

1. Introduction
2. What is Kafka? (Mentioned in my resume)
3. What is API? With Example?
API(Application Programming Interface) is an interface between two applications. Therefore
it enables us to transfer data between these two applications.
For Example:
In a Client-Server architecture, the Client requests data from a server and the server responds
with the requested data.
You might be wondering where API is?

API can be sitting on the server:


1. Taking your request
2. Feting data from the database.
3. Returning you the response
Hence acting as an interface between your request and the database.
4. Difference between status codes 410 and 403
401: Unauthorized Access. This means you are not able to login to the application because of
a wrong username or password.
403: Forbidden. This means you are already logged in to the application but don’t have
permission to access the resource.
5. Difference between 500 and 503
500: Internal Server Error i.e., the server is not able to handle your request.
503: Service Unavailable i.e., the server is available but the service is not available.
6. Difference Between PUT and Patch
Both are used for updating a resource on the server.
PUT: Replaces the whole object
PATCH: Replaces a particular field of an object
7. What is Group By and Having
8. Types of Joins in SQL
LEFT JOIN: Returns all records from the left table, and the matched records from the right
table
RIGHT JOIN: Returns all records from the right table, and the matched records from the left
table
INNER JOIN: Returns records that have matching values in both tables.
OUTER JOIN: Returns all records when there is a match in either left or right table
9. Write a program to print the reverse of a string in Java. (Click to see program)
Input: Hello
Output: olleH

10. Write a Java program to print number of pairs of a particular number.


Input: {1,1,4,5,3,4}
Output: 2 (1 pair of 1 and 1 pair of 4).

Learning Mate Company Mumbai :

1. Remove duplicate character from string without using array


2.Revrse String prog.
3 . TestNG annotations
4.Do you facing any challenges to finding the web elements. explain how it will resolve.
5 . Some scenarios related to excels and table.
6. Some scenarios related to Frames.
7. How handle Web base popups
8. How to execute 1 test multiple times without using data provider in TestNG.
9. What is statle element exception
10. Opps Concepts.
11. How to capture screenshot in selenium
12. Which type of Framework used your project. Explain it.
13.Dropdown related scenario.
Synechron Interview Questions:
1) Brief Introduction
2) Brief about the workflow you have worked on
3) Have you used Pagefactory, give an example
4) What all Annotation you have worked on
5) Have you worked on Keyword driven framework
6) Have you handled dynamic web element
7) GetWindowHandle() what would it return
8) How do you handle Excel file
9) Tell me a code which can store String into different character
10) What is the difference between List and Set
11) Have you handled JDBC connections
12) How to read and write a text file in Java
13) What is Reflection in Java
14) How is reporting done in your project

Infrasoft Technologies Limited

1st round
1)About yourself and roles , responsibilities
2) difference between / and // in selenium xpath
3)what is the difference between absolute and relative xpath
4) how do you choose a test case is fit for automation
5)test scenarios for elevator
6)contents of test plan
7)test strategy
8) difference Between product owner and scrum master , can one person play both roles?

2nd round
1) significance of jre, jdk, jvm
2)how do you achieve inheritance in java, what is the keyword used
3)can we use multiple inheritance in java
4)how do we use interface in class
5)do we need to create instance of class while creating instance of interface
6) difference between method overloading and method overriding
7)can we change return type of method in method overloading, will it give error of yes when?
8)what all ceremonies were performed as part of your agile project
9)what types of testing you performed in your project
10)what is difference between sit and uat
11) project specific questions

Cuelogic interview questions round one:


1.scenarios on website where there are two drop downs state and city and according to
selection of these we can see covid patients details. And also the map.
2. Automating script for the same scenario
3. Where we use abstract class?
4. Agile ceremonies

Round two
1. Agile ceremonies
2. Test scenarios on username, password and login
3. Http errors
4. How did oops concept used while writing scripts
5. Get and Post methods
6. Git commands
7. SQL queries

Written test mcq given for Altimetrik India


1. Questions related to Selenium IDE
2. Java Collection
3. TestNG
4. Jenkins
5. Mobile testing
1.Which collection class allows you to grow or shrink its size and provides indexed access to
its elements, but whose methods are not synchronized?
Ans. ArrayList

2.Which interface does java.util.HashTable implement?


Ans. Java.util.map

3. Which are the abstract classes in Selenium.

4.Does Unix support Selenium Ise


Ans. No

5. TESTNg full form?


Ans.Test Next Generation

6. Return type of driver.get() method?


Ans. Void

7. What all does until() method accepts as parameters?


Ans. There were options like functions and one more all of above and Expected Condition.
So I marked ExpectedConditions

8. What is used for parallel execution?


Ans. There was webdriver and grid both ... I selected grid.

9. Types of mobile apps testing.

10.Command to execute Jenkins file


Java - jar Jenkins.jar
I m not sure of the answer.
Java Q&A

1) What is verbose?
Verbose is an option that can be used on the Java command to enable debug output for class
loading.

2) What is thread count?


The Thread Count parameter specifies the maximum number of simultaneous requests the
server can handle.
When the server has reached the limit or request threads, it defers processing new requests
until the number of active requests drops below the maximum amount.

3) When a class implements two interfaces having a common method, which interface
method does the class implement?
If a type implements two interfaces, and each interface define a method that has identical
signature, then in effect there is only one method, and they are not distinguishable. There will
be one implementation of both.

4) What is the flow of try, catch and finally blocks?


If a statement in try block raised an exception, then the rest of the try block doesn’t execute
and control passes to the corresponding catch block. After executing the catch block, the
control will be transferred to finally block(if present) and then the rest program will be
executed.

5) What is finally in Java?


A finally block contains all the crucial statements that must be executed whether exception
occurs or not.
The statements present in this block will always execute regardless of whether exception
occurs in try block or not such as closing a connection, stream etc.

6) How many values will a method return in Java?


We can return only one value from a method in Java.

7) What is abstract in Java?


An abstract class, in the context of Java, is a superclass that cannot be instantiated and is used
to state or define general characteristics. An object cannot be formed from a Java abstract
class.Trying to instantiate an abstract class only produces a compiler error.
8) Which design patterns have you used to develop frameworks?
We have used Singleton Design pattern to develop frameworks.

9) try block has exit method, catch block has exception and finally block is returning an int
value. Can you explain the flow of execution?
It will exit the try block and skip the catch block. Then it will execute finally block to return
int value.

10) Have you ever come across conflict in code. How do you resolve?
To resolve a merge conflict caused by competing line changes, you must choose which
changes to incorporate from the different branches in a new commit.

11) Can a constructor be private?


Yes, we can declare a constructor as private. If we declare a constructor as private then we
cannot create an object of that class.

12) Assert is an abstract or static method?


Assert is a static method type.

13) What is instance block at class level and method level?


Instance Initialization Blocks are used to initialize instance variables.

14) What is the difference between a Class and Interface?


– A class describes the attributes and behaviors of an object. An interface contains behaviors
that a class implements.
– A class may contain abstract methods, concrete methods. An interface contains only
abstract methods.

15) Can we have multiple catch blocks in try catch statements in Java?
Yes we can have multiple catch blocks in try catch statements in Java.

16) What is reflection in Java?


Reflection is an API which is used to examine or modify the behavior of methods, classes,
interfaces at runtime.

17) What is nested Class?


A nested class is a member of its enclosing class. A nested class has access to the members,
including private members, of the class in which it is nested.

18) What is mutable and immutable?


Mutable objects have fields that can be changed, immutable objects have no fields that can be
changed after the object is created.
A class is immutable, as in, it is not mutable.

19) What are the types of Synchronization in Java?


Multi-threaded programs may often come to a situation where multiple threads try to access
the same resources and finally produce erroneous and unforeseen results. So it needs to be
made sure by some synchronization method that only one thread can access the resource at a
given point of time.

20) What are the types of Exceptions in Java?


Java’s exceptions can be categorized into two types:
– Checked exceptions
– Unchecked exceptions

21) What is a class and object?


A class is a user defined blueprint or prototype from which objects are created.
It represents the set of properties or methods that are common to all objects of one type.
An object is an instance of a class.

22) How to call the function of a Class without creating an object?


Declare the function as static so that it can be called without creating an object of the class.

23) What is HashMap?


HashMap is a Map-based collection class that is used for storing Key & value pairs.
24) How to synchronize Collection classes?
The synchronized Collection() method of java. util. Collections class is used to return a
synchronized (thread-safe) collection backed by the specified collection.

25) Why main() is declared as static?


The main() method is static so that JVM can invoke it without instantiating the class.

Interview questions I faced during an interview (Posted By Ravi JHA) No company


Name
1. How to handle scroll in automation?
2. Where to store all your reusable methods instead of using utills ?
3. Scenario: you need to test only the login module 10 times & on 11th time you have to do
login again to test some of the core features. How you will do ?
4. Suppose you have to test a feature with 100 sets of data. How will you do this?
5. How to use or call your properties file through all your test case?
6. Suppose you have 100 test cases & each test case contains n no. of methods. How will you
decide, which one to execute 1st or you can say how will you prioritise?

Simple guideline for those who are going for FIS interview.
Manual:
Testing process
Technique of software testing
Sdlc & stlc life cycle
Bug life cycle
Severity & priority.
Automation:
Handling dynamic element
Dynamic webtable
Navigation command.
Assertion
Element visible not visible
Full oops concept in automation framework
Agile process
Issue face
How you report bug
What is bug leakage
What you do if you find bug in production
Java:
Exception handling
Thread
Oops
Some basic program
Strings
End:
Ask some questions from interviewer related to your career oriented.

Interview questions posted by (Sayali Bagul ) No company Name


1. Lift/elevator test cases.
2. Security testing
3. Jenkins
4. Web application security testing
5. SQL query
Employee with second highest salary in employee table
6. Some selenium questions

Scalable Solutions Interview Questions :- (1- 3 Years)


1.Introduce Yourself?
2.Difference Between Regression Testing and Re testing?
3.When Will You Automate a Test??
4.What are the steps involved in the Automation Process?
5.In what condition we cannot use automation testing for the Agile method?
6.How to decide the tool that one should use for Automation testing in their projects?
7.Regression Testing is needed to what extent?
8.What is UAT sign off?
9.What is Selenese? How is it classified?
10.What are the types of Web locators.?
11.What are the types of waits supported by WebDriver?

These are the list of questions in telephonic interview from Capgemini:

Java
-----------------------------------------------------
1. What is abstract class?
2. What is the difference between abstract and interface?
3. Purpose of constructor in Java?
4. Does abstract class can have constructor?
5. Is it possible to create an object for abstract class?
6. What is the difference between collection and collections?
7. What is set?
8. What is the difference between Hast Set and Tree Set?
9. What is the difference between Hashmap and Linked Hashmap?
10. How do you initiate a therad?
11. Do you know threads concepts?

Programs:
---------------------------------------------------------
1. Given a string = "123AM256CD", print 2 output strings one for all the numbers and one
for strings. Provide 2 ways. (Asked for the exact code)
2. Given an integer = 123 , give me the possible combinations ? like 123,132,231,312.

Selenium
-------------------------------------------------------
1. How do you handle windows in selenium?
2. The login should be done manually , from home page u need to execute the scripts , how?
TestNG
---------------------------------------------------------
1. one @test is there, would like to give a chance 3 times whenever it fails?

Git Hub:
---------------------------------------------------------
1. Set of commands to upload a new file in git which is created in your local?
2. committed 2 side, you want the branch to be reverted to the previous one? how?

Jenkins
-----------------------------------------
1. Command to start jenkins server?
2. How will schedule the job to be executed every 1 hour?
[10/08, 8:35 am] Diwakar silk: Java Q&A

1) What is the use of static keyword in Main()?


Since main() method is the entry point of any Java application, hence making the main()
method as static is mandatory for launching the Java application. Since the main method is
static, Java virtual Machine can call it without creating any instance of a class which contains
the main method.

2) Can a class without main() gets compilation successful?


The main method is only used when the Java Virtual Machine is executing your code. Code
cannot be executed without a main method but it can still be compiled.

3) Can we create private access specifier inside interface?


We cannot declare class/interface with private or protected access specifiers.

4) Is there any way to deallocate memory in JAVA?


We should dereference the object, then memory will be deallocated automatically during
garbage collection
5) Write a program for removing white spaces in a String?
class RemoveWhiteSpaces{
public static void main(String[] args){
String str = " Java Interview Questions ";
str = str.replaceAll("\\s", "");
System.out.println(str);
}
}
6) What is Object class?
The Object class is the parent class of all the classes in java by default. Every class in Java is
directly or indirectly derived from the Object class.

7) Write a Java program for pascle triangle?


class PascalTriangle {
static void printPascal(int n)
{
for (int line = 0; line < n; line++)
{
for (int i = 0; i <= line; i++)
System.out.print(pattern(line, i)+" ");
System.out.println();
}
}
static int pattern(int n, int k)
{
int res = 1;
if (k > n - k)
k = n - k;
for (int i = 0; i < k; ++i)
{
res *= (n - i);
res /= (i + 1);
}
return res;
}
public static void main(String args[])
{
int n = 7;
printPascal(n);
}
}
8) What are the differences between interface and inheritance?
– Inheritance is an OOP concept to derive new classes from the existing classes. Interface is a
mechanism in OOP to implement abstraction and multiple inheritance.
– Inheritance provides code reusability. Interfaces provide abstraction and multiple
inheritance.

9) If we close the driver in try block then,FINALLY will execute or not?


Java finally block is always executed whether exception is handled or not.

10) What is difference between method overloading and constructor overloading with
example?
If we want to have different ways of initializing an object using different

Capgemini Interview Questions;-


1. Write a program to print 1 to 100 without using for loop (Java program)
2. Write a program to Iterate HashMap in java (Java program)
3. Difference between Collection and Collections
4. What are the difference between Stringbuffer and Stringbuilder
5. How to set the size of the browser in Selenium
6. What is fully checked exception and types of exception
7. What is desired capabilities in selenium
8. How to disable cookies in Selenium
9. What is Commit and push in Git(Version control tool)
10. How do you test Data Exchange scenario in Appium, please describe steps/commands in
brief.
11. While using Appium can you run tests in a multithreaded environment, if yes how
12. In Android, do you need an app's .apk to automate using Appium or you also need app in
my workspace?
13. Explain what is Appium package master? How to create package?
14. Explain how test frameworks are supported by Appium?
15. Do you Need A Server Machine To Run Tests On Appium?
16. When Performing End To End Mobile Testing What Major Criteria Are Taken Into
Consideration?
17. What Is Appium Inspector And Why Is It Used?
18. What Are The Tools Used In Debugging?
19. How can you find the DOM element or X path in case of a mobile application?
20. Do you think it is possible to interact with the apps by using javascript while you are
testing the Appium?

Frequently Found these questions asked for Telecom Domain company .


What are the application and ordering systems you had in Telecom?
What are the other file types you can use for data driven in selenium other than xlsx?
How would you have desired caplities and take screenshot?
How would you merge file in Master as You are lead?
Tell the difference in data driven framework and keyword driven framework?
If you have multiple buttons how can you press all buttons.?
If you have multiple links how can you press all links?
What the operator overloading?
What the dynamic elements and stale elements?
What’s the project structure you have it?
In Cucumber can you do data driven with XLSX .
Please pour your thoughts in.
Publicis Sapient Interview Questions
Selenium-
1. What is WebDriver Manager?
2. Difference between implicit wait , Explicit wait and Fluent wait
3. Syntax of following siblings xpath
4. How to generate report using maven?
Cucumber -
5. Cucumber - what is difference between Scenario outline and Data tables
6. Suppose there are 3 features and all these 3 features are having same set of lines i.e. Login
and Logout. So, is there any way in cucumber feature file to eliminate this repeated lines.
7. What is Background in Cucumber?
Jenkins -
8. How you schedule jobs in Jenkins
Java -
9. Difference between List and set
10. Difference between Array and Linked list
11. Write a program to find duplicate characters in String
12. How Binary search works?
13. Write a program for Palindrome
API -
14. Status code - 500 and 401
15. Difference between POST and PUT
Interview Questions for Master Class
1) 5 different ways to refresh page
2) Code to find a particular value in a XML String
3) Code to print the string which has character integer we can have the character as sorted
and integer as sum.
4) How should be your strategy to test an API
5) How to handle a case where if we print the value in username and on moussing the cursor
to password it gets detected
6) GIT branching strategy
7) Difference between patch and put
8) Difference between Git add* and Git add
9) Version on Java worked on?
10) GIT tags
Questions Posted by Amit Arora (No idea abt Company Name)

1) Introduction
2) About current company
3) Agile
4) Meeting Held in Agile
5) Who all attend Stand-up meetings?
6) Estimation of User stories
7) Entry and Exit criteria
8) Defects
9) TestNG annotations sequence
10) How to find xpath?
11) How API call works
12) Definition for Java , Selenium , TestNG
13) API response code
14) . and Misc about tools
15) Program
String a = “abacbc”
String b = “abcabc”
O/p there are - 2 a , 2b and 2c

Interview Questions for Wipro

1) Scenario and Scenario outline in cucumber


2) Background keyword in cucumber
3) How will you define both feature and step definition file in cucumber – Login Page
where User enters User ID and Password.
4) If I have textbox with 20 values and I want to read the 10th value of text how that can
be done .
5) How you have implemented Polymorphism and Abstraction in you project explain
with coding
6) What are the different types of collections and in which list collections you have used ?
7) What is Maven – difference between maven clean and Test?
8) Types of wait used in your project?
9) How to capture failed test cases screenshots and explain flow
10) How you have generated reports explain flow
11) How to capture screenshots
12) How the system know which input data file have to used. Explain the code
13) Difference between SOAP and Rest API
14) What is Stateful and Stateless API?
15) Difference between XML and JSON?
16) What exactly you will verify in API Testing?
17) What is POST method?
18) Error code types and then particularly asked for 401/403 Error code
19) What is agile and water fall?
20) Explain Agile practices in your project?
21) What is the framework you have used?
22) Explain Test creation and Logging defect.
Posted By Astha (No idea abt Company Name)

Create script for following (in your language of choice) to perform following action
1. Create a user
2. Search for dog
3. Find if “German shepherd” exist in the list of dog.
4. Add Second 'German Shepherd' from the list to the cart
5. Add buy the item.
6. Logout
7. And Login again.

Can anyone please help in this ?

You might also like