Cigniti Technologies
30+ YuppTV Interview Questions and Answers
Q1. Can we override interface. If yes how its done and if not why not
Yes, interfaces can be overridden in Java using the 'default' keyword.
Interfaces can be overridden in Java 8 or later using the 'default' keyword.
The 'default' keyword allows us to provide a default implementation for a method in an interface.
If a class implements an interface with a default method, it can choose to override the default implementation.
Overriding a default method is done by simply providing a new implementation in the implementing class.
Overriding a default me...read more
Q2. 3. WAP to print all the alphabets only from the below string - I/p: "selenium 123java456", o/p: "seleniumjava"
Write a program to print all the alphabets from a given string.
Loop through each character in the string
Check if the character is an alphabet using isalpha() function
If it is an alphabet, add it to a new string
Print the new string
Q3. What is manual and automation testing What type of bug occure doing project Different type of http method Sanity testing Functional testing Retesting Regression testing Just testing How to handle iframe How to ...
read moreExplaining manual and automation testing, types of bugs, HTTP methods, sanity testing, functional testing, retesting, regression testing, iframe and multiple windows handling.
Manual testing is done manually by a tester, while automation testing is done using tools and scripts.
Bugs can be functional, performance, security, usability, etc.
HTTP methods include GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE.
Sanity testing is done to check if the basic functionalities of th...read more
Q4. Write a code to show overiding in java with real world solution
Code example of method overriding in Java
Create a parent class with a method
Create a child class that extends the parent class and overrides the method
Instantiate the child class and call the method to see the overridden behavior
Q5. Framework explanation and Technologies usage
Frameworks are tools that provide structure and guidelines for developing software applications. Technologies are the specific tools and languages used in development.
Frameworks like Angular, React, and Spring provide pre-built components and architecture for web development.
Technologies like HTML, CSS, JavaScript, Java, and SQL are commonly used in software development.
Choosing the right framework and technologies depends on the project requirements and team expertise.
Q6. Java program in Array , highest profit on being and selling books. {1,7,4,9,5} . Buy books on monday, Tuesday...Friday for 1 rs, 7 rs, ...5rs respectfully. Sold then on any day eg Thursday you sold by buing on ...
read moreJava program to find maximum profit from buying and selling books on different days.
Create an array to store the prices of books on different days
Iterate through the array to find the maximum profit by buying on one day and selling on another
Calculate profit by subtracting buying price from selling price
Return the maximum profit obtained
Q7. What is Scenario Outline? What is Background and how it is different from Hooks?
Scenario Outline is used in Gherkin to run the same scenario multiple times with different inputs. Background sets up preconditions for all scenarios. Hooks are used for setup and teardown tasks.
Scenario Outline is used to run the same scenario with different inputs by using placeholders in the steps.
Background is used to set up preconditions that apply to all scenarios in a feature file.
Hooks are used for setup and teardown tasks that run before and after scenarios or featur...read more
Q8. How to extract data from CSV when there is no JSON available to input API
Use a CSV parser library to extract data from CSV files.
Use a CSV parser library like Apache Commons CSV or OpenCSV to read and extract data from CSV files.
Identify the structure of the CSV file (e.g. delimiter, headers) to properly parse the data.
Iterate through the CSV file to extract the desired data fields.
Handle any data formatting or transformations needed during extraction.
Store the extracted data in a suitable data structure for further processing.
Q9. What is singleton pattern and where did you use in your framework
Singleton pattern is a design pattern that restricts the instantiation of a class to one object.
Singleton pattern ensures that a class has only one instance and provides a global point of access to it.
It is commonly used in scenarios where only a single instance of a class is needed, such as managing database connections or configuration settings.
In a test automation framework, singleton pattern can be used to create a single instance of a driver object for browser automation...read more
Q10. What is run-time polymorphism and where did you use in your framework
Run-time polymorphism is the ability of a method to do different things based on the object it is acting upon.
Run-time polymorphism is achieved through method overriding in inheritance.
It allows a subclass to provide a specific implementation of a method that is already provided by its superclass.
An example of run-time polymorphism is when a parent class reference variable is used to refer to a child class object.
Q11. 5. How do u start designing framework?
Designing a framework involves identifying the scope, selecting the right tools, creating a structure, and implementing it.
Identify the scope of the framework
Select the right tools and technologies
Create a structure for the framework
Implement the framework and test it
Ensure the framework is scalable and maintainable
Q12. Technologies worked on and solutions provided for load testing
I have worked on various load testing tools and technologies such as JMeter, LoadRunner, and Gatling.
Experience in creating and executing load test scenarios
Expertise in analyzing test results and identifying performance bottlenecks
Provided solutions for improving application performance
Familiarity with cloud-based load testing solutions like BlazeMeter and LoadNinja
Q13. Features of java8 and uses in the project
Java8 features include lambda expressions, streams, and functional interfaces.
Lambda expressions provide concise syntax for functional programming.
Streams allow for efficient processing of large data sets.
Functional interfaces enable the use of lambda expressions.
Optional class helps to avoid null pointer exceptions.
Default methods allow for adding new methods to interfaces without breaking existing implementations.
Q14. What is the difference between let, var and const?
let, var and const are all used to declare variables in JavaScript, but they have different scopes and mutability.
let is block-scoped and can be reassigned, var is function-scoped and can be reassigned, const is block-scoped and cannot be reassigned
Using let:
let x = 10;
x = 20; // valid
Using var:
var y = 5;
y = 10; // valid
Using const:
const z = 15;
z = 25; // error, cannot reassign a const variable
Q15. Why use dimension and point class How to take screenshots in selenium What is sychronisation What is paramiterization Different between variable and string
Answering questions related to software quality analysis
Dimension and Point classes are used in software testing to represent the size and location of objects on a screen
Screenshots in Selenium can be taken using the TakesScreenshot interface and getScreenshotAs() method
Synchronization is the process of ensuring that the application waits for a certain condition to be met before proceeding with the next step
Parameterization is the process of passing values as parameters to a ...read more
Q16. 2. WAP to reverse a string using while loop.
WAP to reverse a string using while loop.
Declare a string variable and initialize it with the input string
Declare an empty string variable to store the reversed string
Use a while loop to iterate through the input string from the end to the beginning
Append each character to the empty string variable
Print the reversed string
Q17. How do you bill customer in SAP ISU and tell us about different meter reads
Billing customers in SAP ISU involves creating billing documents based on meter reads.
Billing in SAP ISU involves creating billing documents using transaction code EA16
Different meter reads include actual reads, estimated reads, and manual reads
Actual reads are readings taken directly from the meter, estimated reads are calculated based on previous consumption patterns, and manual reads are entered by the user
Q18. From a String extract letters, digits, Special characters and display as individual strings
Extract letters, digits, and special characters from a string and display as individual strings
Use regular expressions to extract letters, digits, and special characters
Split the string based on the extracted characters
Store the individual strings in an array
Q19. What is full form of RPA How many robot types are there etc Tq
RPA stands for Robotic Process Automation. It is a technology that uses software robots to automate repetitive tasks.
RPA is a technology that uses software robots to automate repetitive tasks.
It helps in streamlining business processes and improving efficiency.
There are three types of robots in RPA: Attended robots, Unattended robots, and Hybrid robots.
Attended robots work alongside humans and assist them in completing tasks.
Unattended robots work independently without human ...read more
Q20. Why automation is more efficient than manual testing.
Automation is more efficient than manual testing due to faster execution, repeatability, scalability, and coverage.
Automation allows for faster execution of test cases compared to manual testing.
Automated tests can be easily repeated multiple times without human error.
Automation can be scaled to run tests on multiple configurations and environments simultaneously.
Automated tests can cover a wider range of scenarios and edge cases compared to manual testing.
Automation reduces ...read more
Q21. What are the T codes you have used in SAP ISU
I have used T codes such as FBL5N, FBL1N, FB50, FB60, FB70 in SAP ISU for various testing purposes.
FBL5N - Display Customer Line Items
FBL1N - Display Vendor Line Items
FB50 - G/L Account Posting
FB60 - Vendor Invoice Posting
FB70 - Customer Invoice Posting
Q22. What is the need for callback hell
Callback hell arises from nested callbacks in asynchronous JavaScript code, leading to unreadable and difficult-to-maintain code.
Nested callbacks in asynchronous code can lead to deeply nested code structures, making it hard to follow the flow of the program.
Error handling becomes more complex in callback hell, as errors need to be propagated through multiple levels of callbacks.
Callback hell can also result in code that is difficult to debug and maintain over time.
Using prom...read more
Q23. Explain about performance testing and engineering concepts
Performance testing involves evaluating the speed, responsiveness, and stability of a system under various conditions.
Performance testing is used to identify bottlenecks, assess system capacity, and ensure reliability.
It involves simulating real-world scenarios to measure the system's response time, throughput, and resource utilization.
Performance engineering focuses on optimizing system performance through design, development, and testing.
Common tools for performance testing...read more
Q24. Explain challenges and explain frameworks
Challenges in implementing frameworks and how they can be overcome
Challenges include resistance to change, lack of resources, and difficulty in implementation
Frameworks provide structure and guidance for addressing challenges
Examples of frameworks include Agile, Six Sigma, and ITIL
Q25. Framework explaination and implementations
Framework explanation and implementations
A framework is a set of tools, libraries, and best practices used to develop software applications
Frameworks provide a structure for developers to build upon, reducing the need to reinvent the wheel
Examples of frameworks include React for front-end web development and Django for back-end web development
Q26. 1. Explain current project framework
Our current project framework is based on Selenium WebDriver and TestNG.
We use Selenium WebDriver for automating web application testing.
TestNG is used for test management and reporting.
We follow Page Object Model design pattern for better code maintainability.
We use Maven for project build and dependency management.
We integrate with Jenkins for continuous integration and deployment.
Q27. Complex logical program (1 or 2)
The question is asking about the ability to write complex logical programs.
Demonstrate understanding of complex logical structures like loops, conditionals, and functions
Provide examples of solving complex problems using logical programming
Discuss experience with debugging and optimizing logical programs
Q28. What is closure?
Closure is the process of finalizing or resolving something, often involving emotional healing or acceptance.
Closure is the act of coming to terms with a situation or relationship that has ended.
It involves accepting the reality of the situation and moving forward.
Closure can help individuals find peace and emotional healing after a difficult experience.
Examples of closure include talking things out with a friend after a disagreement, or attending a funeral to say goodbye to ...read more
Q29. What is event loop?
Event loop is a mechanism in programming that allows for asynchronous execution of code by continuously checking and processing events.
Event loop is commonly used in JavaScript to handle asynchronous operations.
It allows for non-blocking I/O operations by delegating tasks to the operating system.
Event loop processes events from the event queue and executes associated callback functions.
Example: setTimeout() function in JavaScript uses event loop to schedule the execution of a...read more
Q30. Explain about Agile vs SAFe agile
Agile is a flexible and iterative approach to project management, while SAFe agile is a framework for scaling Agile to larger organizations.
Agile focuses on individual teams working in short iterations, while SAFe agile extends this to multiple teams and departments working together.
Agile values individuals and interactions over processes and tools, while SAFe agile emphasizes alignment, collaboration, and delivery across multiple teams.
Agile encourages adaptability and respo...read more
Q31. Write programs (1 or 2)
Write programs in Python and Java to demonstrate basic programming skills.
Write a program in Python to calculate the factorial of a number.
Write a program in Java to find the sum of all elements in an array.
Q32. what is regression testing
Regression testing is the process of retesting a software application to ensure that new code changes have not adversely affected existing functionality.
Regression testing is performed after code changes to verify that the existing features still work correctly.
It helps in identifying any defects introduced by new code changes.
Automated testing tools are often used for regression testing to save time and effort.
Examples of regression testing include running test cases that co...read more
Q33. Duplicates in String
Find duplicates in a string
Iterate through the string and keep track of the frequency of each character
If the frequency of a character is greater than 1, it is a duplicate
Return the list of duplicate characters
Q34. What is M2 in Maven?
M2 in Maven refers to the directory where Maven stores all the downloaded dependencies for a project.
M2 is the default directory where Maven stores all the downloaded dependencies for a project.
It is located in the user's home directory under a folder named '.m2'.
This directory contains subdirectories like 'repository' where all the project dependencies are stored.
Q35. tools used for data base testing
Tools commonly used for database testing include SQL Server Management Studio, MySQL Workbench, and Oracle SQL Developer.
SQL Server Management Studio
MySQL Workbench
Oracle SQL Developer
Q36. define test life cycle
Test life cycle is the process of planning, designing, executing, and evaluating tests throughout the software development life cycle.
Includes test planning, test design, test execution, and test closure
Involves creating test cases, executing them, and analyzing results
Ensures that software meets quality standards and requirements
Iterative process that may involve multiple cycles of testing
Q37. Overall testing experience
I have 8 years of experience in QA testing, including manual and automated testing.
Experience in creating test plans, test cases, and test scripts
Proficient in using testing tools like Selenium, JIRA, and TestRail
Strong knowledge of different testing methodologies (e.g., black box, white box, regression)
Experience in testing web applications, mobile apps, and APIs
Familiarity with Agile and Scrum methodologies
Experience in leading a team of QA testers
Ability to identify and re...read more
More about working at Cigniti Technologies
Top HR Questions asked in YuppTV
Interview Process at YuppTV
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month