Capgemini and Sony Interview Questions
Capgemini and Sony Interview Questions
Occurrence of chars in one string.
how to perform load test on pen?
severity vs priority defect life cycle
interface, method overriding, method overloading
selenium framework
window handles, pop up handles, drop-down handle
testNG annotations
cucumber framework
germination language
germination language
v model
test planning
get bytes method
Swap two numbers without using any variables
cocubes pattern
what is selenium ide and RC , differentiate it?
what is selenium?
What is page factory Count of each chacters in String "aabbbccc" Interger palindrome
program Nested Frames Program Write 10 Selenium Exceptions and how to handle it
How to handle google notifications which is neither alert not window pop What is Maven
used for What is Maven surefire plungin How Maven knows from where to execute the
tests How to execute same test 100 times How to execute same testcase with multiple
set of data In a webpage with 100 random images having same xpath how to always
click on the 50th element
What kind of frameworks do you know?
What is the difference between POM and BDD?
What are various keywords in cucumber?
What is the difference between ArrayList and hashmap?
What are different oop concepts and how they are used in your framework?
Wap to swap two numbers without using the third variable
Do you like Automation testing?
What did you achieve with automation testing?
Which type of framework you are using?
What are the locator strategies?
How you will close all ads windows opened when you launch naukri.com?
How you get the title of child window?
Two text box has the same attributes. How you will locate them?
Which wait you prefer?
What is grouping in TestNG?
What is Maven?
What is the usage of Jenkins?
Write a Java program to reverse a string without reverse method.
Have you interacted with the client?
How do you report automation status to the client?
What is TestNG xml?
What are the attributes in TestNG?
Why you are not using JUnit?
Are you okay to work at client location?
How do you handle a situation where no one is helping you?
rite the framework which is used in your project? ( for experienced)
Write the code to fetch data from the excel sheet? (very important question
asked in most of the interview)
What is StaleElementReferenceException?
What is Encapsulation?
What is Polymorphism? real-time example?
What is the difference between /a and //a[tr] ?
Write a program to reverse the string?
Difference between implicit and Explicit Wait? write code?
List the popups and write code to handle it?
Write an anagram program?
Program to take a screenshot?
try
{
}
catch(ArithmeticException ae)
{
}
catch(Exception e)
{
}
catch(LogicalException le)
{
}
Which catch block will get executed if u get ArithmeticException?
Which catch block will get executed if u get LogicalException?
4 text box with the same class name but different id fetch the text present in
all text box?
How do you click on checkbox using XPath?
Print all the options present inside multiple Listbox?
How many ways you findelement in a webpage?
If u have multiple alerts, how do you handle it?
When you will use the data provider?
What are all the collections concepts are used in the selenium framework?
India/all states, need to select the last value of the dropdown list
If you have a .bat file, how do you call that…what exactly you call for this.
How to work with ajax application
Written Round
WAP to find missing element in array {10 12 14 19 21 24}
WAP to print the string which doesn’t has duplicate “My name is Rahul but
my last name is Kumar”
How to handle nested frames
What are components in Test Plan
Difference between Risk and Issue
If there are 100 test case if I want to execute the first 50th test case and after
that 1 test case should be executed how you do it
If there are 50 failed test cases I have to re-run only 10 sets how do I execute
There are 25 test cases after running the 20thtest case 21 st test case needs
to be executed
Are you following Agile Methodologies tell me sprint duration
There is a release tomorrow you got the build today you are able to execute
only 60 % what is your approach to complete 100 %
Explain in detail about the challenges faced during automation
How do you run the failed test cases in testng
What is synchronization
Difference between Implicit and explicit wait
Are you comfortable working in any location
Discussion regarding first and second round feedback
Are you comfortable working in a client location
okay…I am done…do you have any questions for me. so I asked a few questions
about project domain, Role, Work location, etc. He told me to wait outside. After 5
min called for the 2nd round.
Selenium Project
Which class, the method to read data from Excel
Method overriding and it’s output.
Final, finally, finalize
What is XPath for a dynamic element?
What is XPath if all properties are the same.
What are the exceptions in selenium
When auto it tool is used.
How auto it runs..through Java code
What is the use of pom.xml
How test cases run in parallel.
How will you run testng.xml and pom.xml?
For reports do you use to customize reports?
Type of waits, explain
Type of XPath.
Do find elements have return types.
Suppose there are 1500 test case so how will optimize the test cases to cover it fast
How will you UI testing on Mobile Application
Difference between verification and validation
What is Beta testing
Difference between UAT and system testing
Mobile and web application difference
Android and iOS application difference
When you will go for Manual testing and when you will go for Automation testing
difference between agile and waterfall model
Explain the software life cycle
Tell me about device management tool
What does means word framework in selenium we driver
Performance testing, load, stress
Tell me about ALM, PLM Tools
Tell me about network testing for Mobile app
Severity priority
What are the things will you mention in the defect report
Tell me smoke and regression testing in your project
Boundary value analysis
Explain your selenium framework
Difference between test cases and test script
Tell me about test management tool on which you have worked
What are the types of? testing you will perform if I give you a build
What is the device you tested the mobile app – OS and mobile module
How will you track the issue
what is your role in selenium testing
tell me the scenario which you have tested in selenium
if there are 15000 test cases and you have to test all test cases in very less time
what would be your approach
How will you locate the elements
What is X-path
which webdriver version you have used
Tell me the naming of Android OS family
explain your project
explain your role and responsibilities in your project
if I give you a pen what will you do
what are tools available in the market for web Automation
tools available for Mobile automation
Tell me the things by which I will choose the Selenium webdriver for Automation
SONY
Suppose the tester clicks on the “Privacy Notice” hyperlink at the bottom of
the amazon.com homepage and the page is not displayed. This defect will be of high
severity because the functionality is not working. The priority is low because people
do not normally spend time reading the privacy notice.
You log in to your amazon.com account, add items to the cart and click the “Proceed
to Checkout” button. You make the payment and the system crashes. This defect
makes the whole buying functionality unusable and so the severity is high. The basic
purpose of amazon.com is to buy and sell products and most of the customers are
affected by this. So, this defect is of high priority which must be fixed immediately for
the buying process to work.
Suppose the tester clicks on the “Conditions of Use” hyperlink at the bottom of the
amazon.com homepage. If there is an alignment issue in the text displayed or if
there is a spelling mistake in the content displayed, the defect is said to be of low
priority because people rarely read this page and it does not impact the user
experience. The severity is also low because the functionality of the application is not
affected.
Summary
These are two important terms that are associated with a defect that helps in the
right classification of the defect. These two terms help in efficient defect tracking
process and reduce the overall defect turnaround time.