Siemens Gamesa Renewable Power Private Limited
10+ Innodata India Private Limited Interview Questions and Answers
Q1. If you are not meeting the requirement in your testcase then what the documentation format you follow.
If not meeting requirement in testcase, follow documentation format like updating test case steps, expected results, and defect details.
Update the test case steps to accurately reflect the actual steps taken during testing
Update the expected results to reflect the actual results observed during testing
Document the defect details including steps to reproduce, screenshots, and any additional information
Assign a severity and priority to the defect based on its impact on the syst...read more
Q2. Can you tell me how to fetch data from table row dynamically .
To fetch data from a table row dynamically, use a unique identifier to locate the row and extract the data.
Identify a unique identifier for the row, such as an ID or class name
Use a query selector or XPath to locate the row based on the identifier
Extract the data from the row using appropriate methods or functions
Q3. What are the technologies you used in your testcases.
I have used technologies like Selenium, JUnit, TestNG, Cucumber, and Jenkins in my testcases.
Selenium
JUnit
TestNG
Cucumber
Jenkins
Q4. WAP to print the occurrence of the character present in the given string.
The program will count and print the occurrence of each character in a given string.
Create an array to store the count of each character (initialize with 0)
Iterate through the string and increment the count of each character in the array
Print the count of each character along with the character itself
Q5. What types of locators you used in ur project.
I have used various types of locators in my project, including ID, name, class name, xpath, and CSS selectors.
ID locator: Used to locate elements by their unique ID attribute.
Name locator: Used to locate elements by their name attribute.
Class name locator: Used to locate elements by their class name attribute.
XPath locator: Used to locate elements using XPath expressions.
CSS selector locator: Used to locate elements using CSS selectors.
Q6. What are the types of hooks present in bdd.
Types of hooks in BDD include Before, After, BeforeStep, AfterStep, BeforeFeature, AfterFeature, BeforeScenario, AfterScenario.
Before - runs before each scenario
After - runs after each scenario
BeforeStep - runs before each step in a scenario
AfterStep - runs after each step in a scenario
BeforeFeature - runs before each feature
AfterFeature - runs after each feature
BeforeScenario - runs before each scenario
AfterScenario - runs after each scenario
Q7. What is method overloading and overriding concept.
Method overloading is when multiple methods in the same class have the same name but different parameters. Method overriding is when a subclass provides a specific implementation of a method that is already provided by its superclass.
Method overloading involves creating multiple methods in the same class with the same name but different parameters.
Method overriding occurs when a subclass provides a specific implementation of a method that is already provided by its superclass...read more
Q8. Write one step definition by seeing the feature file.
The step definition should match the steps in the feature file for automation testing.
Read the step from the feature file
Create a corresponding step definition in the automation testing framework
Ensure the step definition accurately performs the desired action
Q9. WAP to swap the two integer without using third variable.
Swapping two integers without using a third variable in a programming language.
Use bitwise XOR operation to swap two integers without using a third variable.
Example: int a = 5, b = 10; a = a ^ b; b = a ^ b; a = a ^ b; // Now a = 10, b = 5
Q10. How to create job for CI/CD in jenkins.
To create a job for CI/CD in Jenkins, you can use the Jenkins interface to configure a new job with the necessary build and deployment steps.
Navigate to Jenkins dashboard and click on 'New Item' to create a new job
Select the type of job you want to create (Freestyle project, Pipeline, etc.)
Configure the job settings such as source code repository, build triggers, build steps, and post-build actions
Set up the job to be triggered automatically by changes in the source code repo...read more
Q11. What is boundary value analysis.
Boundary value analysis is a software testing technique used to identify errors at boundaries of input ranges.
Focuses on testing at the boundaries of input ranges
Helps identify errors that occur at the boundaries
Tests values at the lower and upper limits of valid ranges
Reduces the number of test cases needed for thorough testing
Q12. Write a xpath on the traversing xpath.
Traversing XPath is used to navigate through the elements in a structured way.
Use '//' to select all elements in the document, regardless of their location
Use '/' to select direct child elements
Use '[@attribute='value']' to select elements based on their attribute value
Use 'following-sibling::' to select siblings that come after the current element
Use 'preceding-sibling::' to select siblings that come before the current element
Q13. Absolute and relative xpath differences
Absolute xpath starts from the root node, while relative xpath starts from any node.
Absolute xpath starts with a single forward slash (/) and is more brittle as any changes in the structure of the DOM can break the xpath.
Relative xpath starts with a double forward slash (//) and is more flexible as it can start from any node in the DOM.
Absolute xpath is faster than relative xpath as it directly navigates to the element from the root node.
Relative xpath is easier to maintain a...read more
Q14. Keywords on feature file.
Keywords on feature file are used to define the behavior of the scenarios in BDD testing.
Keywords like Given, When, Then, And, But are used to structure the scenarios
Keywords help in writing clear and concise test cases
Examples: Given I am on the login page, When I enter valid credentials, Then I should be logged in
Interview Process at Innodata India Private Limited
Top Qa Automation Testing Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month