Qualitest
Rajveer Construction Pvt Ltd Ranchi Jharkhand Interview Questions and Answers
Q1. Where you used oops concepts in your projects
I have used OOPs concepts in my projects to create reusable code, improve code organization, and enhance code readability.
Used inheritance to create a base class with common functionalities and derived classes with specific functionalities
Implemented encapsulation to hide internal details of a class and expose only necessary information through methods
Utilized polymorphism to allow objects of different classes to be treated as objects of a common superclass
Applied abstraction...read more
Q2. how can you avoid merge conflicts in git
To avoid merge conflicts in git, use branches effectively, communicate with team members, and regularly pull changes from the remote repository.
Create feature branches for each new feature or bug fix
Regularly pull changes from the remote repository to stay up to date with the latest changes
Communicate with team members about the files you are working on to avoid conflicting changes
Use tools like git rebase to integrate changes from one branch to another without creating unnec...read more
Q3. how can we convert array to arraylist
Use Arrays.asList() method to convert array to ArrayList.
Use Arrays.asList() method to convert array to ArrayList.
Example: String[] array = {"apple", "banana", "orange"}; ArrayList
list = new ArrayList<>(Arrays.asList(array));
Q4. what is stale element exception
Stale Element Exception occurs when an element is no longer attached to the DOM.
Occurs when an element is located in the DOM, but it has been removed or modified
Commonly encountered in automated testing when trying to interact with elements that have changed
Can be resolved by re-locating the element or refreshing the page
Q5. how can we access web table
Web tables can be accessed using various methods like XPath, CSS selectors, and Selenium WebDriver commands.
Use XPath to locate the table element on the web page
Identify rows and columns within the table using XPath or CSS selectors
Use Selenium WebDriver commands to interact with the table data, such as getting text from cells or clicking on links within the table
Q6. Difference between regression and retest
Regression testing is testing the entire application after changes, while retesting is testing specific areas affected by changes.
Regression testing involves testing the entire application to ensure that new changes have not affected existing functionality
Retesting focuses on testing specific areas that were affected by recent changes to ensure they are working as expected
Regression testing is usually automated to save time and effort
Retesting is often done manually to ensure...read more
Q7. define hooks in cucumber
Hooks in Cucumber are blocks of code that run before or after each scenario in a feature file.
Hooks are used to set up preconditions and clean up after tests
They can be used to initialize test data, open/close browser, log in/out, etc.
Hooks can be defined at the global level or at the scenario level
More about working at Qualitest
Top Automation Test Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month