TCS
10+ Forever Living Products Interview Questions and Answers
Q1. What are your day to day activities as Automation Tester?
As an Automation Tester, my day to day activities include writing and executing automated test scripts, analyzing test results, identifying bugs, and collaborating with developers to resolve issues.
Writing and executing automated test scripts using tools like Selenium or Appium
Analyzing test results and identifying bugs in the software
Collaborating with developers to resolve issues and improve the quality of the software
Participating in daily stand-up meetings to discuss prog...read more
Q2. Introduction, how to find list of elements in selenium
To find a list of elements in Selenium, you can use various methods like findElements() and XPath.
Use findElements() method to locate multiple elements based on a locator strategy
Use XPath to find elements based on their attributes or hierarchy
Store the list of elements in a List
variable for further manipulation
Q3. 1.what is differnt hande and handels
Hande is not a word in English. Handles are used to grip or manipulate objects.
Hande is not a word in English, it may be a misspelling of handle.
Handles are used to grip or manipulate objects, such as a door handle or a tool handle.
Q4. 2. what is xpath and how do u find xpath
XPath is a language used to navigate and select elements in an XML or HTML document.
XPath stands for XML Path Language
It uses path expressions to select nodes or sets of nodes in an XML or HTML document
XPath expressions can be used in various programming languages such as Java, Python, and Ruby
To find XPath, you can use browser developer tools or tools like Firebug and Chrome DevTools
Q5. what method can be inherited by the child class
Methods that can be inherited by a child class include public and protected methods from the parent class.
Public methods in the parent class can be inherited by the child class.
Protected methods in the parent class can also be inherited by the child class.
Private methods in the parent class cannot be inherited by the child class.
Q6. What is meant by functional testing?
Functional testing is a type of software testing where the system is tested against the functional requirements/specifications.
Tests the functionality of the software application
Focuses on what the system does
Verifies that the system behaves as expected based on the requirements
Does not concern with how the system works internally
Examples: testing login functionality, search feature, data validation
Q7. What is software testing?
Software testing is the process of evaluating a software application or system to find defects and ensure it meets the specified requirements.
Testing is done to identify defects or bugs in the software
It ensures that the software meets the specified requirements
Testing can be done manually or using automated tools
Types of testing include functional, performance, security, and usability testing
Testing is an iterative process that continues throughout the software development l...read more
Q8. How to send keys using JSE
Sending keys using JSE in QA testing
Use the sendKeys() method to send keyboard input to a web element
Locate the element using findElement() method before sending keys
Example: driver.findElement(By.id("username")).sendKeys("example@gmail.com")
Q9. What is RCA document?
RCA document stands for Root Cause Analysis document, which is used to identify the underlying cause of a problem or issue.
RCA document is a detailed report that outlines the steps taken to investigate and determine the root cause of a problem.
It includes information on the problem, the impact it had, the investigation process, findings, and recommendations for preventing similar issues in the future.
RCA documents are commonly used in quality assurance and problem-solving pro...read more
Q10. Strings to remove duplicates and count
Remove duplicates from array of strings and count occurrences of each string
Iterate through array and use a Set to remove duplicates
Use a HashMap to count occurrences of each string
Return the unique strings and their counts
Q11. how do you find locators?
Locators can be found using browser developer tools, inspecting elements, using unique attributes, and writing efficient XPath or CSS selectors.
Use browser developer tools to inspect elements on the webpage
Look for unique attributes like IDs, classes, or data attributes
Write efficient XPath or CSS selectors to locate elements
Consider using relative locators for dynamic elements
Q12. what is security testing.
Security testing is the process of identifying vulnerabilities and weaknesses in a system to ensure it is secure from potential threats.
It involves testing the system for potential security breaches and vulnerabilities
It includes testing for authentication and authorization mechanisms
It also involves testing for data encryption and decryption
Examples include penetration testing, vulnerability scanning, and risk assessment
The goal is to ensure the system is secure from potenti...read more
Q13. What is abstract mety
An abstract method is a method that is declared without an implementation in the class, and must be implemented by subclasses.
Abstract methods are declared using the 'abstract' keyword.
Classes containing abstract methods must also be declared as abstract classes.
Subclasses of abstract classes must provide implementations for all abstract methods.
Abstract classes cannot be instantiated, only subclasses can be instantiated.
Abstract methods are useful for defining a common inter...read more
Q14. What is manual testing
Manual testing is the process of manually testing software for defects without the use of automation tools.
Involves testers executing test cases manually
Requires human intervention to observe and verify the results
Time-consuming but necessary for certain scenarios
Examples: exploratory testing, ad-hoc testing
Q15. What is Circular Linked List
Circular linked list is a data structure where the last node points back to the first node, forming a circle.
Each node in a circular linked list contains a data element and a pointer to the next node.
Traversal in a circular linked list starts at any node and continues until the starting node is reached again.
Circular linked lists are used in applications where elements need to be accessed in a circular manner, such as round-robin scheduling.
Q16. Array Sorting using java
Sorting an array of strings using Java
Use Arrays.sort() method to sort the array of strings
You can also use a custom Comparator to define the sorting order
Example: String[] arr = {"apple", "banana", "cherry"}; Arrays.sort(arr);
Q17. What is Api testing
API testing is a type of software testing that involves testing APIs directly to ensure they meet functionality, reliability, performance, and security requirements.
API testing involves testing the functionality, reliability, performance, and security of APIs
It focuses on verifying the communication between different software systems
API testing can be done using tools like Postman, SoapUI, or custom scripts
Examples of API testing include testing RESTful APIs, SOAP APIs, and w...read more
Q18. strings to remove duplicate
Remove duplicate strings from an array
Iterate through the array and store each string in a set to keep track of duplicates
Create a new array with unique strings by checking if the set already contains the string
Return the new array without duplicates
Q19. locators in selenium
Locators in Selenium are used to identify web elements on a webpage for automation testing.
Locators include ID, name, class name, tag name, link text, partial link text, CSS selector, and XPath.
ID is the most efficient locator as it is unique for each element.
XPath is powerful but slower as it traverses the entire DOM.
CSS selector is faster than XPath and can be used for complex selections.
Using unique locators helps in creating stable and reliable automation scripts.
More about working at TCS
Interview Process at Forever Living Products
Top QA Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month