Wipro
Viaana Jewels Interview Questions and Answers
Q1. 1) how to fetch first 50% data from table? 2) about pop up in selenium 3) string question by giving code 4) GitHub commands 5) BDD related questions
Answers to interview questions for QA Engineer position
1) To fetch first 50% data from a table, you can use SQL queries with LIMIT and OFFSET clauses.
2) In Selenium, handling pop-ups can be done using the Alert class or by switching to the pop-up window using window handles.
3) Please provide the specific string question with code to answer it.
4) GitHub commands include git clone, git add, git commit, git push, etc.
5) BDD (Behavior-Driven Development) related questions may inc...read more
Q2. how to validate db connection with selenium
To validate db connection with Selenium, use JDBC driver to connect to the database and execute a query to verify the connection.
Use JDBC driver to establish connection to the database
Execute a query to verify the connection
Check for any exceptions or errors during the connection process
Q3. difference b/w POM design pattern and POM Pagefactor
POM design pattern is a design pattern for organizing Selenium tests, while POM PageFactory is an extension that helps initialize elements in Page Object Model.
POM design pattern is a design pattern used to create Page Object Model for Selenium tests.
POM PageFactory is an extension of POM design pattern that helps in initializing elements in Page Object Model using @FindBy annotations.
POM design pattern promotes code reusability and maintainability by separating test logic fr...read more
Q4. WAP to run same test case 100 times
Write a program to run the same test case 100 times
Use a loop to iterate 100 times
Call the test case function inside the loop
Track the results of each iteration if needed
Q5. WAP to get duplicate char count
A program to count the number of duplicate characters in an array of strings.
Iterate through each string in the array
For each string, iterate through each character and count the occurrences
Store the count of each character in a map or dictionary
Return the characters with count greater than 1
Q6. Expectation about package
I expect a competitive salary, benefits, opportunities for growth, and a positive work environment.
Competitive salary based on industry standards
Benefits such as health insurance, retirement plans, and paid time off
Opportunities for career growth and skill development
Positive work environment with supportive colleagues and management
Q7. Testng xml describe
TestNG XML is a configuration file used to define test suites, test cases, and test parameters for TestNG framework.
TestNG XML file is used to organize and configure test cases and test suites.
It allows defining test classes, test methods, test groups, dependencies, and parameters.
TestNG XML can be used to run tests in parallel, set up data providers, and configure listeners.
Example:
Q8. Define framework
A framework is a set of guidelines, libraries, and tools that help in developing and structuring software applications.
Provides a structure for organizing code and implementing best practices
Offers reusable components and modules for faster development
Facilitates automation testing by providing libraries and utilities
Examples: Selenium WebDriver for web automation testing, TestNG for test management
Interview Process at Viaana Jewels
Top QA Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month