Cognizant
10+ OSB India Interview Questions and Answers
Q1. What tools have you used for test automation ?
I have used Selenium, Appium and JMeter for test automation.
Selenium for web application testing
Appium for mobile application testing
JMeter for performance testing
Created test scripts using Java programming language
Integrated with CI/CD tools like Jenkins
Used Page Object Model design pattern for maintainability
Implemented data-driven and keyword-driven testing
Executed tests on multiple browsers and devices
Q2. What Tosca Version are you using ?
We are currently using Tosca version 13.3.2.
Our team has been using this version for the past year.
It has proven to be stable and reliable for our testing needs.
Some of the new features we have been utilizing include the improved reporting capabilities and the enhanced test case design.
We have also found the integration with JIRA to be seamless and efficient.
Overall, we are very satisfied with our experience using Tosca version 13.3.2.
Q3. 1.What is polymorphism?
Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as the same type.
Polymorphism is a fundamental concept in object-oriented programming.
It enables code reusability and flexibility.
Polymorphism can be achieved through method overriding and method overloading.
Example: A parent class Animal can have multiple child classes like Dog, Cat, and Bird. They can all be treated as Animal objects.
Example: A method can acc...read more
Q4. What is string builder?
StringBuilder is a class in Java that allows for efficient manipulation of strings.
StringBuilder is mutable, meaning that it can be modified without creating a new object.
It is more efficient than concatenating strings using the '+' operator.
StringBuilder methods include append(), insert(), delete(), and replace().
Q5. WHAT IS CORRELATION?
Correlation is a statistical measure that shows the relationship between two variables.
Correlation measures the strength and direction of the relationship between two variables.
It ranges from -1 to 1, where -1 indicates a perfect negative correlation, 0 indicates no correlation, and 1 indicates a perfect positive correlation.
Correlation does not imply causation.
Examples of correlated variables include age and income, height and weight, and education level and job performance.
Q6. What is inheritance
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows a class to reuse code from another class.
The existing class is called the parent class or superclass, and the new class is called the child class or subclass.
The child class inherits all the properties and methods of the parent class.
The child class can also add new properties and methods or override existing ones.
Inheritance ...read more
Q7. What is abstraction
Abstraction is the process of hiding complex details and presenting only the essential features of an object or system.
Abstraction helps in reducing complexity and making things easier to understand.
It allows us to focus on the important aspects of an object or system.
For example, a car can be abstracted as a mode of transportation without going into the details of its internal workings.
Abstraction is used in programming to create abstract classes and interfaces.
It is also us...read more
Q8. Framework explanation
A framework is a set of guidelines, tools, and libraries that provide structure and support for software development.
A framework helps in organizing and structuring code.
It provides reusable components and libraries.
Frameworks can be specific to a programming language or domain.
Examples include Selenium for web testing, JUnit for unit testing.
Frameworks promote code reusability and maintainability.
Q9. FUNCTION USED IN CORRELATION
Correlation function is used to find the relationship between two variables.
Correlation function measures the strength of the linear relationship between two variables.
It returns a value between -1 and 1, where -1 indicates a perfect negative correlation, 0 indicates no correlation, and 1 indicates a perfect positive correlation.
Examples of correlation functions include Pearson correlation coefficient, Spearman's rank correlation coefficient, and Kendall's tau coefficient.
Q10. SOFTWARE TESTING LIFE CYCLE
Software Testing Life Cycle (STLC) is a process followed to ensure quality in software development.
STLC includes planning, designing, executing, and reporting phases.
It starts with requirement analysis and ends with post-release testing.
STLC ensures that the software meets the specified requirements and is bug-free.
It involves various types of testing such as unit testing, integration testing, system testing, and acceptance testing.
STLC is an iterative process that involves c...read more
Q11. Oops concepts in jave
Oops concepts in Java
Encapsulation - hiding implementation details
Inheritance - reusing code and extending functionality
Polymorphism - multiple forms of a method or object
Abstraction - focusing on essential features and ignoring the rest
Q12. TOOLS USED IN PT
Various tools are used in Penetration Testing (PT) such as Nmap, Metasploit, Burp Suite, Wireshark, etc.
Nmap is used for network scanning and mapping
Metasploit is used for exploiting vulnerabilities
Burp Suite is used for web application testing
Wireshark is used for network traffic analysis
Other tools like Nessus, Acunetix, etc. are also used depending on the requirements
Q13. Types of Testing
Types of testing include functional testing, non-functional testing, manual testing, automated testing, regression testing, and performance testing.
Functional testing: Testing the functionality of the software against the requirements.
Non-functional testing: Testing aspects like performance, usability, and security.
Manual testing: Testing performed manually by testers.
Automated testing: Testing performed using automation tools.
Regression testing: Testing to ensure that new co...read more
More about working at Cognizant
Interview Process at OSB India
Top Test Analyst Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month