Bosch Global Software Technologies
20+ Karma Healthcare Ltd Interview Questions and Answers
STLC is a systematic process for testing software applications from planning to closure.
STLC involves planning, designing, executing, and reporting on tests.
Phases include requirement analysis, test planning, test design, test execution, and closure.
Each phase has specific deliverables and goals to ensure quality software.
Example: In requirement analysis, testers review requirements to identify testable features.
JUnit annotations like @Before, @Test, @After are commonly used with Selenium for test automation.
Annotations like @Before are used to set up preconditions before each test method
Annotations like @Test are used to mark a method as a test method
Annotations like @After are used to clean up after each test method
Manual testing is done by humans executing test cases without automation tools, while automated testing is done using scripts and tools.
Manual testing requires human intervention to execute test cases, while automated testing uses scripts and tools to run tests.
Manual testing is time-consuming and prone to human error, while automated testing is faster and more reliable.
Manual testing is suitable for exploratory testing and ad-hoc testing, while automated testing is ideal for...read more
Best practices in test automation include proper planning, selecting the right tools, maintaining test scripts, and continuous integration.
Proper planning before starting test automation to define goals, scope, and strategy.
Selecting the right tools based on project requirements and team expertise.
Maintaining test scripts regularly to keep them up-to-date and relevant.
Implementing continuous integration to automate the build and test process.
Using version control for test scr...read more
Use a subquery to find the second highest salary in SQL.
Use a subquery to select the maximum salary from the table.
Then use another subquery to select the maximum salary that is less than the maximum salary found in the first step.
This second maximum salary will be the second highest salary in the table.
Selenium is a popular testing tool for web applications due to its flexibility, compatibility with multiple browsers, and robust features.
Selenium supports multiple programming languages such as Java, Python, and C#, making it versatile for different teams and projects.
It is compatible with various browsers like Chrome, Firefox, and Safari, ensuring comprehensive test coverage.
Selenium offers a wide range of features for automated testing, including record and playback functi...read more
You can run a selected test from a group of tests in Cucumber by using tags and the cucumber command line interface.
Add tags to the scenarios you want to run, for example @smokeTest or @regressionTest
Use the cucumber command line interface to specify the tags you want to run, for example cucumber --tags @smokeTest
You can also use regular expressions to run multiple tests based on specific criteria
Selenium has different components like Selenium IDE, Selenium WebDriver, Selenium Grid, and Selenium RC.
Selenium IDE is a record and playback tool for creating test scripts without coding.
Selenium WebDriver is a powerful tool for automating web applications across different browsers.
Selenium Grid is used for parallel testing across multiple machines and browsers.
Selenium RC (Remote Control) is a deprecated tool that allows executing test scripts on different browsers.
Selenium is a tool used for automating web browsers, while Cucumber is a tool used for behavior-driven development.
Selenium is a testing framework used for automating web browsers to perform testing on web applications.
Cucumber is a tool that supports behavior-driven development (BDD) by allowing tests to be written in plain language.
Selenium can be used with programming languages like Java, Python, etc., while Cucumber uses Gherkin syntax for writing test cases.
Selenium focu...read more
Agile testing is important for ensuring continuous feedback, adapting to changes quickly, and delivering high-quality software.
Agile testing allows for continuous feedback from stakeholders, leading to early detection and resolution of issues.
It enables teams to adapt to changes quickly and efficiently, ensuring that the software meets evolving requirements.
By incorporating testing throughout the development process, agile testing helps in delivering high-quality software in ...read more
SQL privileges control access to database objects such as tables, views, and procedures.
SQL privileges are permissions granted to users to perform specific actions on database objects.
Privileges include SELECT, INSERT, UPDATE, DELETE, and EXECUTE.
Users can be granted privileges at the database, table, or column level.
Examples: GRANT SELECT ON table_name TO user_name, REVOKE INSERT ON table_name FROM user_name.
There are five aggregate functions available in SQL: COUNT, SUM, AVG, MIN, and MAX.
COUNT: Returns the number of rows that match a specified condition.
SUM: Calculates the sum of a set of values.
AVG: Calculates the average of a set of values.
MIN: Returns the minimum value in a set of values.
MAX: Returns the maximum value in a set of values.
ALIAS command in SQL is used to give a table or column a temporary name.
ALIAS is used to make SQL queries more readable and concise.
It is commonly used when joining tables to avoid ambiguity in column names.
Example: SELECT e.employee_id, e.employee_name FROM employees AS e;
Q14. which tool you have used to perform unit testing please elaborate
I have used JUnit for performing unit testing in Java projects.
JUnit is a popular unit testing framework for Java
It provides annotations like @Test to define test methods
JUnit assertions like assertEquals are used to verify expected results
Q15. What does you Hil environment consists of ?
My Hil environment consists of various tools and technologies for testing and automation.
We use tools like Selenium, Appium, JMeter, and SoapUI for testing.
We also use Jenkins for continuous integration and deployment.
Our environment includes both physical and virtual machines for testing.
We have a variety of operating systems and browsers for testing compatibility.
We use various scripting languages like Java, Python, and Ruby for automation.
We have a dedicated team for perfo...read more
Q16. Sample program in Capl to send a message cyclically.
A sample Capl program to send a message cyclically.
Use the 'on timer' event to send the message at a fixed interval
Create a message object and set its data and length
Use the 'output' function to send the message
Use the 'setTimer' function to set the timer for the next cycle
Annotations in Cucumber are tags used to define the behavior of the test methods.
Annotations in Cucumber are used to mark a method as a step definition or a hook.
Annotations help Cucumber to understand the relationship between the code and the feature file.
Examples of annotations in Cucumber include @Given, @When, @Then for step definitions, and @Before, @After for hooks.
Triggers in SQL are special stored procedures that are automatically executed or fired when certain events occur in a database.
Triggers can be used to enforce business rules, maintain referential integrity, audit changes, and automate tasks.
There are two main types of triggers: BEFORE triggers and AFTER triggers.
Example: A trigger can be set to automatically update a timestamp column whenever a row is inserted or updated in a table.
Q19. how do you perform unit testing
Unit testing is performed by writing test cases for individual units or components of the software to ensure they work as expected.
Write test cases for each unit or component of the software
Execute the test cases to verify the functionality of the unit
Check for expected outcomes and compare with actual results
Use testing frameworks like JUnit, NUnit, or PyTest
Automate unit tests to run them regularly during development
Q20. what is unit testing
Unit testing is a software testing method where individual units or components of a software are tested in isolation.
Unit testing helps in identifying bugs early in the development process
It ensures that each unit of code is working as expected
Unit tests are usually automated and run frequently during development
Examples of unit testing frameworks include JUnit for Java, NUnit for .NET, and pytest for Python
More about working at Bosch Global Software Technologies
Interview Process at Karma Healthcare Ltd
Top Senior Test Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month