GlobalLogic
Wipro Interview Questions and Answers
Q1. What is the difference between TDD and BDD?
TDD focuses on testing the functionality of individual units of code, while BDD focuses on testing the behavior of the system as a whole.
TDD stands for Test-Driven Development, where tests are written before the code is implemented to drive the development process.
BDD stands for Behavior-Driven Development, where tests are written in a human-readable format to describe the behavior of the system.
TDD is more focused on the technical aspects of the code, ensuring that individua...read more
Q2. Write a program to store the characters of a string in arraylist and print the arraylist.
Program to store characters of a string in an arraylist and print it.
Create an ArrayList to store characters
Iterate through the string and add each character to the ArrayList
Print the ArrayList
Q3. What are Cucumber hooks?
Cucumber hooks are blocks of code that run before or after each scenario in Cucumber tests.
Cucumber hooks allow for setup and teardown actions before and after scenarios
They can be used to perform actions like opening a browser before a scenario and closing it after
Hooks can be defined at different levels such as global, scenario, or feature level
Q4. What is dry run?
A dry run is a rehearsal or practice of a process or procedure to ensure it works correctly without actually executing it.
Dry run is a simulation of a process or procedure to identify any potential issues before actual execution.
It helps in testing the logic and flow of a program without actually running it.
Commonly used in software testing to ensure the code functions as expected.
Can also be used in manufacturing to test production processes before full-scale implementation.
Q5. How do you install cypress
Cypress can be installed using npm package manager.
Install Node.js if not already installed
Open terminal and run 'npm install cypress'
Once installation is complete, run 'npx cypress open' to open Cypress Test Runner
Q6. Reverse a string in Javascript
Reverse a string in Javascript
Use the split() method to convert the string into an array of characters
Use the reverse() method to reverse the order of the characters
Use the join() method to convert the array back into a string
Q7. selenium vs cypress
Selenium is a widely used open-source tool for web automation testing, while Cypress is a newer tool known for its fast and reliable testing capabilities.
Selenium is more established and has a larger community support
Cypress is known for its fast test execution times
Cypress has built-in support for modern web technologies like React and Angular
Selenium supports multiple programming languages like Java, Python, and C#
Cypress has a simpler and more user-friendly API compared to...read more
Interview Process at Wipro
Top QA Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month