Dassault Systemes
10+ Lakshita Fashions Interview Questions and Answers
Q1. 7)how do you drive your data in automation , how do you validate whether your data is accurate and precise?
Data is driven in automation through input files or databases. Validation is done through assertions and comparing expected vs actual results.
Data can be driven through input files like CSV, Excel or databases like MySQL, Oracle
Assertions can be used to validate data accuracy and precision
Expected vs actual results can be compared to ensure data correctness
Data can also be validated through manual inspection or using tools like SQL queries
Q2. 6)What do you do when your automation script fails , debug process?
When automation script fails, debug process involves identifying the root cause and fixing it.
Check the error logs and identify the line of code where the script failed
Verify the test data and environment setup
Re-run the script with debug mode enabled to identify the issue
Fix the issue and re-run the script to ensure it passes
Update the test case and report the issue to the development team if necessary
Q3. What is Regression testing and what is regression defects?
Regression testing is retesting of software to ensure that recent changes have not adversely affected existing features. Regression defects are bugs that reappear after changes.
Regression testing is performed to make sure that new code changes have not introduced any new bugs or caused existing functionalities to break.
It involves re-executing test cases that cover the impacted areas of the software.
Regression defects are bugs that were previously fixed but resurface after ne...read more
Q4. how you will validate the input you are giving while login if its correct but not with the success message and algorithm for it
Validate input by checking for specific error messages instead of success message
Check for error messages related to incorrect input (e.g. 'Invalid username/password')
Verify the response code or status returned after login attempt
Look for any specific patterns in the error messages that indicate incorrect input
Q5. Find the xpath of "Google Search tab" & "Voice search button"?
Use xpath to locate Google Search tab and Voice search button on the webpage.
For Google Search tab: //input[@name='btnK']
For Voice search button: //div[@aria-label='Search by voice']
Q6. main method in java ,whether it can be overloaded , overrided? why it cannot be overrided?
The main method in Java can be overloaded but not overridden.
Main method can be overloaded by defining multiple main methods with different parameters.
Overloading allows multiple methods with the same name but different parameters.
Main method cannot be overridden because it is a static method and static methods cannot be overridden.
Q7. How frequently do you run the Regression Test?
Regression tests are run after every significant code change or new feature implementation.
Regression tests are typically run after every significant code change or new feature implementation to ensure that existing functionalities are not affected.
The frequency of running regression tests may vary depending on the project timeline and release cycle.
In Agile development, regression tests are often run as part of the continuous integration process, triggered by code commits.
Au...read more
Q8. Which libraries use for the verifying test cases?
Some common libraries used for verifying test cases are JUnit, TestNG, Selenium, and RestAssured.
JUnit is a popular Java testing framework for unit testing.
TestNG is another Java testing framework that supports parameterized and data-driven testing.
Selenium is a widely used tool for automating web browsers for testing purposes.
RestAssured is a Java library for testing RESTful APIs.
Q9. Write a java program for reverse string without pre defined method.
Java program to reverse a string without using predefined methods.
Create a char array from the input string.
Use two pointers, one at the start and one at the end, to swap characters.
Continue swapping characters until the pointers meet in the middle.
Q10. How to select 5 th dropdown option?
To select the 5th dropdown option, locate the dropdown element and choose the 5th option.
Locate the dropdown element using its unique identifier or class name
Use a method like 'selectByIndex' or 'selectByVisibleText' to choose the 5th option
Verify that the correct option has been selected
Q11. how to select dropdown in selenium
To select a dropdown in Selenium, use the Select class and its methods like selectByVisibleText, selectByValue, or selectByIndex.
Use the Select class from org.openqa.selenium.support.ui package
Identify the dropdown element using findElement method
Create a new Select object by passing the dropdown element as a parameter
Use selectByVisibleText, selectByValue, or selectByIndex methods to choose an option
Q12. Diff between findelement vs findelements
findelement is used to find a single element on a webpage, while findelements is used to find multiple elements.
findelement returns the first matching element on the webpage
findelements returns a list of all matching elements on the webpage
Example: driver.findElement(By.id("elementId")) vs driver.findElements(By.className("elementClass"))
Q13. oops concepts used in framework
Object-oriented programming concepts used in framework design
Inheritance: Allows classes to inherit attributes and methods from other classes
Encapsulation: Bundling data and methods that operate on the data into a single unit
Polymorphism: Ability to present the same interface for different data types
Abstraction: Hiding the complex implementation details and showing only the necessary features
Q14. Verification vs Validation?
Verification ensures the product is built right, while validation ensures the right product is built.
Verification focuses on process, validation focuses on product
Verification answers 'Are we building the product right?'
Validation answers 'Are we building the right product?'
Verification is done before validation
Interview Process at Lakshita Fashions
Top QA Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month