Manas Jha Follow Me On-Join Our: Linkedin Whatsapp Group
Manas Jha Follow Me On-Join Our: Linkedin Whatsapp Group
General:
• Tell me aboutyourself?
• What is your Role and Responsibilities?
• Architecture of your current application?
• Which Automation framework you are using in your organization
canyoutellmethefolderstructureandflowof your framework?
Java:
• Why String is immutable in Java?
• What is static in java?
• What is final in java?
• What is this word in java?
• What is finally and where do we use it?
• What is Autoboxing and unboxing?
• What is serialization and deserialization?
• What is an abstract modifier?
• What is call by reference and call by value?
• Primitives and Non-Primitives datatypes in Java? String is primitive or
non-primitive?
• What is the method of overloading?
• Why is it important to override HashCode() when you override equals()?
• What is the difference between a checked and unchecked exceptions?
• Difference between final, finally, finalize?
• Difference between abstract and interface?
• Difference between String Builder and String Buffer?
• Difference between Array and ArrayList?
• Difference between ArrayList and LinkedList?
• How to define dynamic array?
• Can we create the object for the abstract classes?
• Can we create the object for an interface?
• Can we create constructor of abstract class?
• Can constructor be overloaded. Explain why?
• Canmainmethodbeoverloaded?
• Can main method be overridden?
• Can we override static method?
• Can we overload static method?
Selenium:
• On page Object Model Framework (POM), how do you initialize the elements
of a page to be used in the runner class?
(name of the PageObjects class is “”SignupPage.java”” and the dirver
object name is “”driver””).
• Get the values from the dropdown and print them in Ascending order
• Using TreeSet to find elements command
• Does takes screenshot is interface or class
• Selenium uses lots of third parties jars for scripting. Then why do we still go
for selenium?
• Whydowehavetousebuild()andperform()withtheaction object
• Can we use perform() along in scripting without build()
• Whatisdifferencebetweenbuild()andperform()inselenium?
• Return type of getwindowhandle() and getwindowhandles()?
• Window Handling in Selenium -Switching from another window to Parent
window
• If the button is disabled? how to check -using getattribute()
• Explain method overloading with selenium and some example
• How do you read excel in the script? (very careful while answering. the
counter-question will come as per your answer)
• Doyouusethepropertyfileinyourframework?Ifyes,then whichjava
conceptgetsutilizehere?(JavaCollection)
• Onawebpage, thereareseveralPop-up,but wedon’twhen the pop-up will
appear, in this case how we will handle the Pop- up using Selenium
WebDriver (Java)
• Started automation test suite execution and few test cases are failed in a test
run. How can you execute only failed test cases atonce(withone click) what
designpatterndoweusewhen we trigger differentbrowsers?
• What are approached to handle dynamic WebElement?
• Click last option in the dropdown (Last drop-down changes dynamically)
• How to calculate links on a page? (Answer with HTML tag)
• Write the code to read the value from the excel sheet.
• What is Page Factory in POM Design pattern?
• Suppose you have 10 pages in your application then how to achieve POM.
What you will do?
• Annotation used in Page Object Model?
• Ways to find broken links in Selenium?
• How to handle frame in Selenium?
MANAS JHA 9145735668 6
Manas Jha Follow me on-LINKEDIN Join Our WhatsApp Group
Java Program:
Maven:
• Lifecycle of Maven
• Use of Maven surfire plugin. If yes, where and why?
• What is the use of pom.xml?
• CI / CDtools
• What is Jenkins?
• How will you handle dependencies in Maven at run time?
• Today we have executed some tests using maven, but tomorrow when you
see that someone deleted all dependencies from .pom file then in that case will
you be able to execute tests or not.
• Consider you have to write test/suite for different environments(qa,
preproduction, production) and pass differentsetofdataforeachenvironment.
Howwillyoudoit using maven file(Pom.xml)?
• Canyougivesomebasiccommandsusedinmavenproject?
• How will you configure Jenkins job?
• What are two components Jenkins is integrated with?
• How you will schedule the deployments?
• What is the purpose of version control tool?
• What are the git commands you have used?
• What is difference between group id and artefact id?
• How and when is Jenkins is used in your Automation?
Webservices:
• What is TestPlan?
• Explain the bug life cycle?
• Difference between smoke and sanity tests?
• Difference between regression and retesting?
• Difference between functional and regression testing?
• Difference between severity and priority?
• Difference between Test Plan and Test Strategy?
• Difference between boundary value analysis and equivalence partitioning?
• Difference between white box and black box testing?
• If we are having 1000 test cases, what type of testing carried forautomationtesting?
Canwewriteamethodthatreturns two or more values? If then, how?
• Bug Life Cycle?
• Bug Triage?
• What is exploratorytesting?
• What is adhoctesting?
• What is build acceptance testing?
• What is difference between Validation and Verification?
• Explain severity and priority and High severity with low priority, low severity and high
priority?
• Given the test cases having priority of -1,0,1,2 tell me the sequence of
execution.
• Explain inner join and outer join in SQL?
• Difference between DELETE,DROP & TRUNCATE?
• What are test design techniques?
• What is deferredbug?
• How you will decide what tests to automate?
• When you decide to stop the testing?
11 |
• If your test suite takes 1 and half to run, what you will do to reduce the time?
• How many test cases in your regression test suite? How much time it will take to
execute?
• How to cover character keyboard operation from the context menu utilizing user-
defined keyword?
• What is most important things to define in a bug?
• Can tell about any achievements you have done in automation?
• Can you tell me the difference between bdd and tdd?
• Whatisatestplan and whatarethe stepstocreateatest plan?
• What are the inbound and outbound for testing?
• What is smoke, regression and sanity testing?
• Whatisthenextsteptobetaken,ifdeveloperrejectstheOpen defect?
• Explain the testmetrices?
• How would you priorities Tests?
• How do you perform Automation Code Review/ Walk Through in your project?
• There are 250 manual test cases , how will you segregate (on what basis) the
regression , sanity , smoke suite?
• WhenRegression,Sanity,smoketestscriptsareexecuted?
• How will you decide that this test case is feasible or good candidate for
automation?
Agile:
12 |
Managerial round:
13 |