Interviw Questions
Interviw Questions
4. POLYMORPHISM:
Combination of overloading and overriding is known as Polymorphism.
- METHOD OVERLOADING:
We use implicit wait in Selenium. Implicit wait is an example of overloading. In Implicit wait we
use different time stamps such as SECONDS, MINUTES, HOURS etc., A class having multiple
methods with same name but different parameters are called Method Overloading.
e.g. driver.switchTo(). frame(): - String name, int index
- METHOD OVERRIDING: Declaring a method in child class which is already present in the
parent class is called Method Overriding.
Examples are Driver.get and navigate methods of different drivers in Selenium.
In our Automation Framework whenever we Use Page object Model, we write all the locator in
page class and use this locator in our test it means we are hiding our implementation from the
user this is the simple example of using abstraction in framework.
What is difference between git and GitHub?
Git is a version control system that lets you manage and keep track of your source code history.
GitHub is a cloud-based hosting service that lets you manage Git repositories. If you have open-
source projects that use Git, then GitHub is designed to help you better manage them.
Features of Selenium 4
1. Enhanced Selenium Grid
2. Upgraded Selenium IDE
3. Relative Locators in Selenium 4
4. Improved Documentation
5. Support for Chrome Debugging Protocol
6. Better Window/Tab Management in Selenium 4
7. Deprecation of Desired Capabilities
8. Modifications in the Actions Class
Galaxyweblink 07/09
PM round
client IBM
1) intro Ur self
2) if developer do unit testing then why u do testing
3) framework
4) how to find hide elements
5) diff annotations
6) commands in UNIX
7) commands in Sql basic
8) do u aware about oops where r u uses it?
9) how to create extent report?
10) what is issue in Jira
11) defect life cycle
12) what is differ defect
13) why need of automation
14) diff between CSS and Xpath
15) why u using diff locators instead of we use only one what happen
16) diff between absolute and relative Xpath
17) what is epic
18) why maven, testNg use
Virtusa Technical Round1
Automation Testing
1) What was the git commands you have written while pulling code on git
2) Conflicts while working on github
3) Assertion methods and explain it with any scenario
4) How you raised a defect(details)
5) Defect life cycle
6) Why maven?
7) Why testng(what is different about testng)
8) Which framework you used
9) Explain framework
10) How you will acess pop ups?
11) How you handled manual as well as automation test cases hand in hand
Wipro
Neova solutions
Round 1
1. Introduction
2. Program for :-
input [1,2,2,1,1,1,2,2,1,2,1,2]
Output [1,1,1,1,1,1,2,2,2,2,2,2]
3. Constructor & destructor
Ans : Like constructor, deconstructor is also a member function of a class that has the same
name as the class name preceded by a tilde(~) operator. It helps to deallocate the memory of an
object. It is always called in the reverse order of the constructor.
4. Explain BDD approach for API automation
5. What is dryRun, hooks?
6. BDD Script for Login page
7. Explain your framework
1. What is difference between pom.xml and testNg.xml?
2. Syntax for parameterization at class level?
3. What is difference between overloading and overriding?
Infosys
time:5-5.40
1 introduce yourself
2 explain about your project
3 on which model you work
4 where you are used opps principal in your project
5 what is synchronization problem how you handle it (Ans: wait)
6 are you design framework
7 on which framework you are work now
8 what is data provider
9 how you perform parallel testing
10 which one is better testNg or Junit? why you preferred testNg
11 scenarios-based questions
12 challenges you face in automation testing
13 can you perform database testing through Automation?
14 what are meetings of agile where you r involve
15 Explain framework
16 program to sort bubble
17 what is CSS selector how you find locator by using CSS selector
18 what is CI/CD pipeline
Ans: Continuous integration (CI) & Continuous delivery (CD)
https://www.youtube.com/watch?v=k2aNsQKwyOo
19 how to run test cases without eclipse by using command prompt
Neosoft
Interview 2
1) introduce yourself
2) priority and severity
3) test documents (parameter, how to test what to test)
4) Explain RTM.
5) tell me negative test cases on WhatsApp status
6) scrum agile events
7) burn up and burn down chat
8) production issue (Hot fix) how will you handled before
9) Difference between product backlog ang sprint backlog
10) What is Api testing
11) status codes 2xx 4xx 5xx
12) Api test case how you have written
1.what is Api?
2.whatis UI/functional testing and nonfunctional testing
3 differences between UI and API?
4.what is run scope?
5.what is protocol? where you are going to use?
6.what is your roles and responsibilities in API? /How do u do it?
7.do u know about testing environment in Postman? and its type?
8.which services your using in API?
9.what are the format you’re using your API testing?
10.diffrence between rest and soup services?
11.what are changes face while doing API testing?
12. explain about your project? where did u use API Testing?
13.what is functional and nonfictional testing give example?
14 do u know about unit testing? are u involved in?
=================================================================
15.do u aware of java concept?
16.as u mentioned in your resume oops concept explain about it?
17.do u know about constructor? and its types?
18.what special in constructor?
19.how to print star pattern without using loop?
20.why UNIX? why not windows os?
21.do u involved in nonfunctional testing?
22.collection /interface /abstraction
23.why domain knowledge is required?
Manager Round
1) Introduce your self
2) Where your company situated
3) why are u switch your job
4) if developer not accept your bug, what to do
5) if you submit one defect related report but when you are on the road then u realized what happened,
what can u do?
6)many candidates told me any problem happen u contact lead? why lead?
7) If dev not accept p3 p4 type bug
8) if your relation is not good with your team member
9) since u working from home
10) all challenges during work
11) your current defect u got it P0
12) does your team lead angry on u?
13) why should we hire u?
14) when u didn't get bug and at time of production it will come
1) Explain yourself
2) Print 1-100 don't use for loop
3) Check and unchecked exceptions it's examples
4) Interface used in your framework rather than search context or Webdriver
5) How to go webpage using JavaScript steps
6) When run the Finally Block
7) For try Blk how many catch Blk excited multiple or single
8) Length method and length function
9) How you set differed defect in your Jira or HPalm
10) Do you have any questions?
11) What is Encapsulation?
12) How you encapsulate data?
13) What is difference between getter and setter and constructor?
14) Reverse a string.
15) Remove the space between the string.
16) Diff between an action class & select class.
17) If there is any text box u want to enter something there u don't have any attribute when u r inspect
that element what u use?
18) Diff between list & set.
19) Methods of select class.
20) If there is int variable and u want to convert it into string then what line u write?
HR round
1) Tell me about yourself
2) When you pass out, why so gap, tell me details.
3) What meetings u attend
4) Who are members in grooming session?
5) Share the screen and Sort the array and find one missing number
6) Which java version are you using, is it paid? (Java 8 & its free)
7) What is production URL
8) What is testing URL
9) What is domain URL on which you work?
10) Query for second max salary
1) Introduction
2) Have you worked on testNg framework?
3) What is agile methodology?
4) How we use Jenkins with maven?
5) What is BDD?
6) Features of testNg
7) different types of testing you are doing in your organization?
8) How to take screenshot?
9) Daily routine?
10) Meetings you are involved?
1) Manual/Functional Testing
2) tell me about yourself.
3) diff bet regression and retesting?
4) Explain all stages in STLC.
5) what is bug life cycle?
6) what is bug and what is defect?
7) what is severity and priority with one example for low priority and high severity?
8) what are conditions to make defect as differed?
9) Scenario: to verify one web page which has User ID password and login button-----so what are
required verifications to check this web page?
10) which tool you have used for bug tracking?
11) how you report bug to developer?
12) what are the processes you have done in the tool to report the bug to developer?
Mindtree Ltd. 28.08.21
Role: - Sr. Test Spec Marketing and Comm
1) Introduction?
2) Have u work on E-commerce project?
3) Syntax for fetching Data from Excel sheet?
4) Code for handling Dropdown list?
5) Syntax and use of @Dataprovider and @Factory
6) Do u work on CI-CD pipeline?
7) Working of BDD?
8) Java Code for fetching response from given URL and validating data like Content-type?
9) TestNG annotations?
10) Defect Life Cycle?
11) Which tool you are using for it?
12) How you log the defects in Jira?
13) What are the challenges we face during data fetching from API?
14) How you automate API?
15) How job scheduling is done?
Note: -
If you are giving Interview for the mentioned role in Mindtree Ltd
Be prepared with BDD and
API automation
Wipro
1) Tell me about yourself
2) Responsibility u carries
3) Technologies used in your project
4) What is Webdriver
5) Suppose in webpage there is Id n pass popup, I have to disable it, how
6) Explain your framework
7) Difference between java project and maven project
8) Why maven
9) Difference between Junit and testNg
10) Sequence of annotations for testNg
11) What is the synchronization
12) Array was given, print the duplicate, remove the duplicate, sort it and print final array....all in one
program have to write.
13) Pyramid star pattern
14) What is the Jenkin
15) What is the GitHub
16) How to push code
17) Suppose you have to merge the comments that with previous one..... what to do.
18) Merge code in same branch again..... what to do.
19) Explain i-frame handling
Gspann technologies
int[] a = {1,2,3,5};
int[] b = {2,3,5,6};
*************************************************************************************
**
int [] a = {22,55,33,89};
Arrays.sort(a);
for(int i = 0; i<a.length;i++)
System.out.println(a[i]);
**********************************************************************************
for(int i = 0; i<a.length;i++)
{
for(int j =0; j<a.length;j++)
if(a[i]<a[j])
{
temp = a[i];
a[i]=a[j];
a[j]=temp; /// switching position if condition is true
}
}
for(int i = 0; i<a.length;i++)
System.out.println(a[i]); /// display after sorting
*************************************************************************************
*******
for(char al:ar)
{
if(smap.containsKey(al))
smap.put(al,smap.get(al)+1);
else
smap.put(al,1);
}
Set<Character> keys = smap.keySet();
for(char key:keys)
{
if(smap.get(key)>1)
System.out.println(key +":" +"Yes");
}
*************************************************************************************
******************
Q. Write a query to get Name of the such students those who scored below marks
than avg marks
where age<25
- Write query to get name of student age is below 25 and branch is electronics
select tb1.name,tb1.age,tb2.branch
from tb1
on tb1.name= tb2.branch
*************************************************************************************
***********
- if app is getting crash intermediatory but not frequently what will be the priority and severity?
- How to save cookies using selenium and use it later ? any idea ?
( ans : per google cookies can be stored using FileWriter class to write streams of chars and
BufferedWriter to write text into file to create into cookies.data)
Example:
- We use List because when we are using findElements() instead of findElement() then we are
expecting that locator will return us more than 1 element, where insertion order needs to
maintained per locator available and duplicates are also required
- We use set when we are using getWindowHandles, because it will return window id in form of
string tht window id must be unique value and duplicates are not allowed
● What is JRE ?
The Java Runtime Environment, or JRE, is a software layer that runs on top of a
computer’s operating system software and provides the class libraries and other resources to
run JVM
● What is bytecode?
- Bytecode is program code that has been compiled from source code
into low-level code designed for a software interpreter.
● How to handle popups ? are their any plugins used to handle several popups ?
- Robot Class plugin
● What is iframe?
Interface
Class
- It is a plan through which we come to know about all different logics we are having on our
programme
- It is a collections of objects
0,1,1,2,3,5,8,13,21,34
5) What will be Ad-hoc test scenarios for feature of sending email using compose key?
- Explain email To, CC,BCC, body ,send ,cancel button
- Beforesuit and beforetest why needed and condition to run beforesuit two time ?
- how to run 1000 test scripts using two different machines to save time ? selenium grid?
- selenium grid functionality different os base , differ machine , different browsers base
- if 1000 script consist of 200 test cases which are smoke test cases, how will u run only those
frequently? Group = smoke
- what is ArrayList?
- git commands
- what is docker?
- Jenkins’s overview
- HashMap use?
- hashset ?
- LinkedHashSet?
5) Webdriver driver = new Chromedriver which type of polymorphism it is? ---> Runtime
21) Consider there are 10 test cases we have not mentioned the priority only menthods name like
m1,m2,m3....m10 what will be the sequence of execution of test cases?
22) how will be the order of Annotation Execution of :- @AfterTest @BeforTest @AfterMethod @
BeforeMethod @TestA @TestB @TestC
27) Scenario: In down structure you have tag name "div", attribute "class" and value of attribute
"ABC123" and this value of attribute changes consciously what will be your x-path for it?
28) Scenario: In web page multiple links are present. find how many links are there and click it one
by one what is your logic for it?
29) Scenario: There is one dropdown box of city name if you have to select "Pune" city option form it
and it's tag name is starting with "div" how do you select the name tell me it's logic
Virtusa(1st round)
1) Sprint planning meeting?
2) what is Web services testing? Status codes? Xml and json format
3) Git commands & Jenkins
4) Where u will found failed test cases for manual testing
5) String reverse program
6) Open your Gmail go to inbox and select checkbox do that
7) Severity types
L&T(1st round)
1) Roles & responsibilities in your org
2) Priority severity example? ask scenarios
3) Defect life cycle
4) Test plan, test case test scenarios test script
5) Project related
6) Sanity smoke regression retesting functional non functional testing
ZS(1st round)
1) Program reverse string, swap number without using 3 rd var or temp var
2) Sql commands joins , 2nd highest salary
3) All Manual concepts
4) Locators, Xpath, alerts
5) Java concepts
6) Testing annotations
7) Maven
ZS (2nd round):
Test case study round (4 scenarios are there choose 1 and write test cases for that in word or in excel)
-----------------------------------------------------------------------------
Priority:
- how urgency to fix the defect.
- Decide order of defect fixation.
- Priority decided by project owner or stack holder at the time of requirement gathering
- Priority decided in terms of high, medium, low.
Severity :
- 1.seriousness of the defect
- 2. Define the impact on the application’s functionality.
- 3.severity decided by testers.
- Severity decided in terms of critical, major, minor, low.
1.login screen of an application is not working and the user is unable to login
1.If the company name is misspelled in the home page of the website
1. Priority decided by project owner or stack holder at the time of requirement gathering.
70. Which parameters are deciding factors for defect severity and defect priority? Give an example ?
‘
ZS Associates
7000+ professional with deep industry & domain expertise help clients significantly improve
their performance
24 Office worldwide
We have partnered with more than 1,200 clients in over 70 countries across a wide range of
industries
More than 85% of your work today is in the pharmaceutical and biotech sectors
More than 85% of our business comes from repeat clients. Our first client is still a client
ZS’s India Capability & Expertise Centers house more than 60% of ZS people across two locations in
Gurgaon and Pune. Our teams work with colleagues across North America, Europe and East Asia to
deliver sales and marketing projects to our end client, who drives our business. The Centers primarily
support projects in the areas of Business Analysis, Business Operations and Business Technology.
ZS has been recognized globally for its expertise in consulting and its flexible work environment.
View ZS’s accolades.
5. Write a SQL query to find all the salaries which are below average of the salary.
7. Which kind of reporting tools you have used for automation framework..
Basics:
Total time allotted to solve a case study is approx. 1 hour. The interviewer will tell you the
weightage of each question, so proceed smartly.
If any question is left out, be prepared with an answer or at least the method to solve during the
interview.
Go through ZS associates company website and get to know as much as you can about them. This
information can play a big hand in the ZS associates Interview Questions for the case study.
There would be 3 Question on the basis of case study, and you need to attend any two (HR will Explain):
1) Design
2) Business Solution (Logical based, calculation)
3) Coding’s (Programming Approach)
Make sure that you explain each n every approach step by step and your communication should be in a
structured manner as last time some of the candidates got rejected on this basis only
PRESENT YOUR CASE STUDY TO THE HIRING MANAGER/Interviewer–brief them about the
approach / logic you had applied to arrive at the solution.
Prepare on Logical reasoning, Puzzles, guesstimates questions from Quora or any similar portal
Brush up your knowledge regarding your core tools & technical skills.
Articulate your answers well & give structured replies
Fitment round:
Behavioural Interview + final interview- This round will be a resume probe Interview. The
candidates should be prepared to solve structured and unstructured problems (guesstimates,
puzzles, brain teasers). They will have an opportunity to discuss with one of the senior ZS
managers to understand growth opportunities, career path and ZS vision in general
1. This interview will be with Partner /Principal with ZS associates – so please conduct yourself
professionally and attentive while communicating
2. Behavioral assessment (e.g., How do you take feedbacks from Juniors/Seniors/Peers & how you
incorporate them)
3. Assessment on you being a Team player / team manager - pls. share examples or instances to
support your answer
4. Cultural Fitment………responsible & accountable for your work.
5. Why you want to join ZS?
6. Why ZS and not any other organizations like Infosys, Accenture?
7. Why ZS should hire you?
8. Why ZS should not hire you?
9. Do you understand the role? (Read the job description)
10. What are your expectations/aspirations from the next role that you want to take up? (This
should be in sync with the OPPORUTNITY being offered by ZS)
11. Why did you leave the previous organization?
12.Client Management & Stakeholder management - pls. share examples or instances to support
your answer
13. Share your expertise – mention the tools, technologies and projects you have worked on
14. How would you describe the reputation that you have built for yourself over the years?
15. How would you describe yourself?
16. How do you organize your day?
Manual focus on :