Accenture
10+ GIRDHARI LAL CONSTRUCTIONS Interview Questions and Answers
Q1. Reverse string, find second highest number , string vs string buffer , hash map vs hash set, instance & local variable, primitive and non primitive data type, overloading vs overriding , explain framework
Interview questions for QA Engineer
Reverse a string using StringBuilder or StringBuffer
Find second highest number by sorting the array and accessing the second last element
String is immutable while StringBuffer is mutable
HashMap stores key-value pairs while HashSet stores only keys
Instance variables are declared inside a class while local variables are declared inside a method
Primitive data types are int, float, double, etc. while non-primitive data types are arrays, classes,...read more
Q2. 3. Slow speed of scrolling up and down in Selenium
Slow scrolling in Selenium can be caused by various factors like large DOM, inefficient locators, or network latency.
Check if the page has a large DOM structure which can slow down scrolling
Optimize locators to make them more efficient and reduce the time taken to find elements
Consider network latency as a possible cause for slow scrolling
Use actions class in Selenium for smooth scrolling operations
Q3. how to handle multiple windowns in selenium
Handling multiple windows in Selenium involves switching between windows and performing actions on each window.
Use getWindowHandles() to get all window handles
Switch to a specific window using switchTo().window(handle)
Perform actions on the window
Switch back to the original window if needed
Q4. Mentioned different parts of test automation framework
Test automation framework consists of different parts like libraries, tools, and utilities.
Libraries: reusable code modules for common functions
Tools: software used for test automation like Selenium, Appium
Utilities: additional resources for test automation like data generators, loggers
Q5. bug cycle agile what is testing
Bug cycle in Agile refers to the process of identifying, reporting, fixing, and verifying bugs during the development cycle.
Bug cycle involves identifying bugs through testing
Bugs are reported to the development team
Developers fix the bugs
QA engineers verify the fixes
This cycle continues until all bugs are resolved
Q6. What is regression testing
Regression testing is the process of retesting a software application to ensure that new code changes have not adversely affected existing functionality.
Performed after code changes to ensure existing functionality still works
Helps catch bugs introduced by new code changes
Automated tools can be used to streamline the process
Can be time-consuming but is essential for maintaining software quality
Q7. Automation testing VS manual testing
Automation testing is faster, more reliable, and scalable compared to manual testing.
Automation testing is faster as it can execute tests much quicker than manual testing.
Automation testing is more reliable as it eliminates human errors and ensures consistent test results.
Automation testing is scalable as it can run tests on multiple configurations and environments simultaneously.
Manual testing is better suited for exploratory testing and usability testing where human judgmen...read more
Q8. 4. Sort HashMap by values.
Use Java Stream API to sort HashMap by values.
Use entrySet() method to get a set view of the mappings contained in the map.
Use Comparator.comparing() to compare the values of the entries.
Use sorted() method to sort the entries based on the comparator.
Collect the sorted entries into a LinkedHashMap to maintain the order.
Q9. explain selenium Architecture
Selenium Architecture is a framework that consists of different components like Selenium IDE, WebDriver, and Selenium Grid.
Selenium IDE: Record and playback tool for creating test scripts
WebDriver: API for writing test scripts in various programming languages
Selenium Grid: Distributes test execution across multiple machines for parallel testing
Q10. Synchronization in selenium
Synchronization in Selenium ensures that the automation script waits for the web page to load completely before performing actions.
Selenium provides implicit, explicit, and fluent wait for synchronization.
Implicit wait sets a default waiting time for the elements to be found.
Explicit wait allows the script to wait for a certain condition to occur before proceeding.
Fluent wait is a more flexible way of waiting for elements based on specific conditions.
Example: driver.manage()....read more
Q11. test scenarios for payment
Test scenarios for payment processing
Verify payment is processed successfully with valid credit card information
Test payment failure scenarios such as incorrect CVV, expired card, insufficient funds
Check for proper error messages displayed to the user in case of payment failure
Test payment processing speed under different network conditions
Verify payment confirmation email is sent to the user after successful transaction
Q12. Xpath in selenium
Xpath is a way to locate elements on a web page using their XML path.
Xpath stands for XML Path Language.
It is used in Selenium to locate elements on a web page.
Xpath can be used to navigate through the elements and attributes in an XML document.
There are two types of Xpath: Absolute and Relative.
Example: //input[@id='username'] - locates an input element with id 'username'.
Q13. Explain SDLC - add answer
SDLC stands for Software Development Life Cycle, a process used by software development teams to design, develop, and test high-quality software.
SDLC is a structured process that consists of several phases including planning, analysis, design, implementation, testing, and maintenance.
Each phase has its own set of activities and deliverables that contribute to the overall success of the software project.
Examples of SDLC models include Waterfall, Agile, and DevOps, each with it...read more
Q14. EXplain STLC - add answer
STLC stands for Software Testing Life Cycle, which is a systematic approach to testing software.
STLC involves planning, designing, executing, and reporting on tests throughout the software development lifecycle.
It includes phases like requirement analysis, test planning, test design, test execution, and test closure.
Each phase has specific objectives and deliverables to ensure the quality of the software product.
STLC helps in identifying defects early in the development proce...read more
Q15. Tools used in project
Various tools are used in the project for testing purposes.
Selenium for automated testing
JIRA for bug tracking
Postman for API testing
Q16. Explain OOPS concept
OOPS (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOPS focuses on creating objects that interact with each other to solve problems
Key principles include encapsulation, inheritance, polymorphism, and abstraction
Encapsulation involves bundling data and methods that operate on the data into a single unit
Inheritance allows a class to inherit properties and behavior from another class
Polymorphism enables o...read more
Q17. Explain framework
A framework is a set of guidelines, libraries, and tools that help developers build and structure code for a specific platform or technology.
Provides a structure for organizing code and implementing common functionalities
Promotes code reusability and maintainability
Includes libraries and tools to simplify development tasks
Examples: Selenium WebDriver for automated testing, AngularJS for web development
More about working at Accenture
Interview Process at GIRDHARI LAL CONSTRUCTIONS
Top QA Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month