Infosys
30+ Zangoh Interview Questions and Answers
Q1. Difference between different types of application. How they had been build and examples. Hybrid Web Application Native application
Hybrid, Web, and Native applications differ in their development approach and platform compatibility.
Hybrid applications are built using web technologies like HTML, CSS, and JavaScript, and are wrapped in a native container for deployment.
Web applications are accessed through a web browser and are developed using web technologies like HTML, CSS, and JavaScript.
Native applications are developed for specific platforms like iOS or Android using platform-specific languages like S...read more
Q2. What is different between smoke and sanity testing?
Smoke testing is a subset of sanity testing. Smoke testing is done to check if the critical functionalities of the software are working fine after a build, while sanity testing is done to check if the specific functionalities are working fine after fixes or changes.
Smoke testing is done to check if the critical functionalities of the software are working fine after a build.
Sanity testing is done to check if the specific functionalities are working fine after fixes or changes....read more
Q3. Does cypress allow multiple tab for testing?
Yes, Cypress allows multiple tabs for testing.
Cypress does support testing in multiple tabs by using the cy.visit() command to open new tabs
Each tab can be controlled independently in Cypress tests
Assertions and commands can be executed in each tab separately
Q4. oops concept, find Xpath , how to preform mouse action
Understanding OOP concepts, finding Xpath, and performing mouse actions are essential skills for a QA Engineer.
Understand the principles of Object-Oriented Programming (OOP) such as inheritance, polymorphism, encapsulation, and abstraction.
Use Xpath to locate elements on a web page by their attributes or structure.
Perform mouse actions like click, double click, drag and drop using Selenium WebDriver or other automation tools.
Q5. how to Handle dynamic wait in Automation?
Dynamic wait can be handled using explicit wait in automation.
Explicit wait allows the automation script to wait for a specific condition to occur before proceeding.
It can be used to wait for an element to be visible, clickable, or present.
Timeouts can be set for explicit wait to avoid waiting indefinitely.
Examples of explicit wait include WebDriverWait in Selenium and WebDriverWait in Appium.
Q6. Write program to reverse string by keeping the word in same position
Program to reverse string while keeping words in same position
Split the input string into an array of words
Reverse each word in the array
Join the reversed words back into a single string
Q7. How to find element using css selector.
To find an element using CSS selector, you can use the document.querySelector() method.
Use document.querySelector() method with the CSS selector as the argument.
Make sure the CSS selector is unique to the element you want to find.
You can also use document.querySelectorAll() to find multiple elements.
Q8. Different between Smoke testing and Sanity testing
Smoke testing is a subset of regression testing, focusing on testing major functionalities to ensure stability. Sanity testing is a subset of regression testing, focusing on testing specific functionalities to ensure basic functionality.
Smoke testing is a shallow and wide approach, while sanity testing is a deep and narrow approach.
Smoke testing is performed on stable builds, while sanity testing is performed on unstable builds.
Smoke testing is usually executed before sanity ...read more
Q9. Difference between verification and validation
Verification ensures the product is built right, while validation ensures the right product is built.
Verification focuses on the process of building the product according to specifications
Validation focuses on whether the product meets the customer's needs and expectations
Verification is done through reviews, inspections, walkthroughs, and meetings
Validation is done through testing, user feedback, and acceptance criteria
Example: Verification would involve checking if a softwa...read more
Q10. What is the framework used in project
The framework used in the project is Selenium WebDriver with TestNG for test automation.
Selenium WebDriver is used for automating web applications
TestNG is a testing framework that provides functionalities like test grouping, parameterization, and parallel execution
Q11. Different between retesting and Regression
Retesting is testing the same functionality again to ensure the defect is fixed, while regression testing is testing the unchanged parts of the application to ensure new changes do not affect existing functionality.
Retesting focuses on the defect fix, while regression testing focuses on ensuring existing functionality is not impacted by new changes.
Retesting is done after a defect is fixed, while regression testing is done after new changes are made to the application.
Retesti...read more
Q12. write script for taking screenshot in selenium
Script to capture a screenshot in Selenium
Import necessary libraries in Selenium
Create an instance of WebDriver
Use getScreenshotAs method to capture the screenshot
Save the screenshot to a desired location
Q13. Program to check if the no. is prime
A program to check if a number is prime or not
Iterate from 2 to square root of the number and check if it divides the number evenly
If any number divides the given number, it is not prime
If no number divides the given number, it is prime
Q14. Difference b\w abosulte and relative xpatg
Absolute xpath starts from the root node, while relative xpath starts from any node in the XML tree.
Absolute xpath starts with a single forward slash (/) and is used to locate an element starting from the root node.
Relative xpath starts with a double forward slash (//) and is used to locate an element starting from anywhere in the XML tree.
Absolute xpath is more brittle as any changes in the structure of the XML can break the xpath, while relative xpath is more flexible and r...read more
Q15. Difference between Cypress and Selenium?
Cypress is a modern JavaScript-based testing framework while Selenium is a widely-used open-source testing tool.
Cypress is more developer-friendly with built-in features like time travel and automatic waiting, while Selenium requires explicit waits and handling of asynchronous behavior.
Cypress has a simpler setup process compared to Selenium, which requires additional dependencies like WebDriver.
Cypress provides better debugging capabilities with its interactive test runner, ...read more
Q16. 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 verify that existing features still work correctly
Helps prevent the introduction of new bugs or issues
Can be automated to save time and effort
Examples: running test cases after a software update, checking for bugs after adding new features
Q17. Difference between list and tuple
List is mutable, tuple is immutable in Python.
List can be modified after creation, tuple cannot.
List uses square brackets [], tuple uses parentheses ().
List is used for collections of items that may change, tuple for fixed collections.
Example: list_example = [1, 2, 3], tuple_example = (4, 5, 6)
Q18. Explain java concepts used in project
Java concepts used in project include OOP, inheritance, polymorphism, encapsulation, exception handling, and multithreading.
Object-oriented programming (OOP) principles are used to design and implement classes and objects.
Inheritance allows classes to inherit attributes and methods from other classes.
Polymorphism enables objects to be treated as instances of their parent class.
Encapsulation ensures data hiding and access control within classes.
Exception handling is used to ma...read more
Q19. Explain your automation framework?
My automation framework is a hybrid framework that combines data-driven and keyword-driven approaches for efficient test automation.
Combines data-driven and keyword-driven approaches
Uses reusable functions and libraries for common actions
Supports parallel execution for faster test runs
Integrates with CI/CD tools for continuous testing
Generates detailed test reports for easy analysis
Q20. what is software testing
Software testing is the process of evaluating a software application to ensure it meets specified requirements and functions correctly.
Software testing involves executing the software with the intent of finding defects or bugs.
It helps in identifying errors, gaps, or missing requirements in contrary to the actual requirements.
Examples of software testing include unit testing, integration testing, system testing, and acceptance testing.
Q21. Waits in selenium, OOPS, agile
Waits in Selenium are used to handle synchronization issues, OOPS is Object-Oriented Programming concepts, and Agile is a software development methodology.
Waits in Selenium are used to wait for certain conditions to be met before proceeding with the next steps in test automation scripts.
OOPS concepts in programming include inheritance, encapsulation, polymorphism, and abstraction.
Agile is a software development methodology that emphasizes iterative development, collaboration,...read more
Q22. what is Nunit Framework
NUnit is a unit testing framework for .NET applications.
NUnit is used for writing and running automated unit tests in C# and other .NET languages.
It provides various attributes and assertions to help with testing.
NUnit can be integrated with Visual Studio for easy test execution and debugging.
Q23. revers a n umber in java
To reverse a number in Java, convert it to a string, reverse the string, and then convert it back to an integer.
Convert the number to a string using String.valueOf() method
Use StringBuilder class to reverse the string
Convert the reversed string back to an integer using Integer.parseInt() method
Q24. find longest string from syntax
Find the longest string from an array of strings.
Iterate through the array of strings and keep track of the length of each string.
Compare the lengths of the strings to find the longest one.
Return the longest string found.
Q25. Program to find pallindrome.
Program to find palindrome in an array of strings.
Iterate through each string in the array
Reverse each string and compare with original string
If they are equal, it is a palindrome
Q26. How to handle popup
To handle popups, use automation tools to identify and interact with them programmatically.
Use automation tools like Selenium to handle popups in web applications
Identify the popup element using its unique attributes
Interact with the popup by clicking buttons or entering text as needed
Handle different types of popups such as alerts, confirmations, and prompts
Q27. What are SQL joins
SQL joins are used to combine data from two or more tables based on a related column between them.
Joins are used to retrieve data from multiple tables in a single query
There are different types of joins such as inner join, left join, right join, and full outer join
Inner join returns only the matching rows from both tables
Left join returns all the rows from the left table and matching rows from the right table
Right join returns all the rows from the right table and matching ro...read more
Q28. Explain automation framework
Automation framework is a set of guidelines, best practices, tools, and libraries used to automate testing processes.
Automation framework provides structure and guidelines for writing automated tests.
It helps in organizing test scripts, managing test data, and generating test reports.
Common types of automation frameworks include keyword-driven, data-driven, and hybrid frameworks.
Frameworks like Selenium WebDriver, TestNG, and Cucumber are commonly used in automation testing.
Q29. find odd number in java
Use modulus operator to find odd numbers in Java
Iterate through the array of numbers
Use modulus operator (%) to check if a number is odd (number % 2 != 0)
Add the odd numbers to a separate list or print them
Q30. Explain collection framework
Collection framework in Java provides a set of interfaces and classes to store and manipulate groups of objects.
Provides interfaces like List, Set, Map for storing collections of objects
Classes like ArrayList, LinkedList, HashSet, HashMap implement these interfaces
Allows easy manipulation and iteration over collections
Provides algorithms like sorting and searching for collections
Enhanced performance and memory management compared to traditional arrays
Q31. Define Bug life cycle
Bug life cycle is the process of a bug from identification to resolution in software testing.
Bug is identified by QA Engineer
Bug is reported in bug tracking tool
Bug is assigned to developer for fixing
Developer fixes the bug
QA Engineer retests the bug
Bug is closed if fixed or reopened if not
Q32. sort an array sort
Sorting an array of strings in alphabetical order
Use a sorting algorithm like quicksort or mergesort
Ensure the sorting is case-insensitive if needed
Handle special characters or numbers appropriately
Example: ['banana', 'apple', 'cherry'] should be sorted as ['apple', 'banana', 'cherry']
Top HR Questions asked in Zangoh
Interview Process at Zangoh
Top QA Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month