Premium Employer

Infosys

3.7
based on 37.8k Reviews
Filter interviews by

20+ Raymond Lifestyle Limited Interview Questions and Answers

Updated 11 Jun 2024
Popular Designations

Q1. 3. What are different types of waits in selenium.

Ans.

Different types of waits in Selenium include implicit, explicit, and fluent waits.

  • Implicit wait: waits for a certain amount of time before throwing an exception if the element is not found

  • Explicit wait: waits for a certain condition to be met before proceeding with the next step

  • Fluent wait: waits for a certain condition to be met within a specified time frame, polling at regular intervals

  • Examples: WebDriverWait, ExpectedConditions

View 1 answer

Q2. 2.How to execute test cases in parallel.

Ans.

Test cases can be executed in parallel by using tools like Selenium Grid or TestNG.

  • Use a tool like Selenium Grid to distribute test cases across multiple machines

  • Use TestNG to run tests in parallel by specifying the number of threads

  • Ensure that the test cases are independent and do not have any dependencies

  • Use a continuous integration tool like Jenkins to manage and execute parallel tests

  • Monitor the test execution and analyze the results to identify any issues

  • Parallel executi...read more

View 1 answer

Q3. 1. Automation Framework used in project.

Ans.

We used a hybrid automation framework that combined data-driven and keyword-driven approaches.

  • The framework was built using Selenium WebDriver and TestNG.

  • We used Excel sheets to store test data and Apache POI library to read/write data from/to Excel.

  • The framework had reusable functions and libraries for common actions like login, logout, etc.

  • We also used Jenkins for continuous integration and execution of automated tests.

  • The framework was designed to be scalable and maintaina...read more

View 1 answer

Q4. how to handle broken links in selenium

Ans.

To handle broken links in Selenium, we can use the HTTPURLConnection class to check the response code of the link.

  • Get all the links on the page using findElements() method

  • Iterate through each link and get the href attribute

  • Create a URL object for the href attribute

  • Open a connection using HTTPURLConnection class

  • Get the response code using getResponseCode() method

  • If the response code is not 200, mark the link as broken

Add your answer
Discover Raymond Lifestyle Limited interview dos and don'ts from real experiences

Q5. Which method you use to remove spaces in the string

Ans.

One method to remove spaces in a string is by using the replace() method in JavaScript.

  • Use the replace() method with a regular expression to replace all spaces with an empty string

  • Example: str.replace(/\s/g, '') will remove all spaces from the string 'hello world'

  • Another method is to use the split() method to split the string by spaces and then join the array elements without spaces

Add your answer

Q6. What kind of bugs you will encounter in API testing

Ans.

Common bugs in API testing include incorrect data formats, authentication issues, and performance problems.

  • Incorrect data formats such as missing or incorrect parameters

  • Authentication issues like invalid tokens or permissions

  • Performance problems such as slow response times or timeouts

Add your answer
Are these interview questions helpful?

Q7. Write java locator to get all elements in the webpage

Ans.

Use Selenium WebDriver to find all elements on a webpage using Java locators

  • Use findElements method to locate all elements on the webpage

  • Use By class to specify the locator strategy (e.g. By.xpath, By.id, By.className)

  • Store the located elements in a List

Add your answer

Q8. 4.Limitation of selenium.

Ans.

Selenium has limitations in handling non-web-based applications and requires technical expertise.

  • Selenium cannot automate desktop applications or mobile apps

  • It requires technical knowledge to handle dynamic web elements

  • Selenium scripts can be brittle and require maintenance

  • It cannot handle CAPTCHA or OTP verification

  • Selenium does not have built-in reporting capabilities

View 1 answer
Share interview questions and help millions of jobseekers 🌟

Q9. How to check the password is encrypted

Ans.

Check the password encryption by verifying the hashing algorithm used and comparing the encrypted password with a known hash value.

  • Check the hashing algorithm used to encrypt the password (e.g. MD5, SHA-256)

  • Compare the encrypted password with a known hash value for the same password

  • Ensure that the encryption process is irreversible, meaning the original password cannot be easily obtained from the encrypted version

Add your answer

Q10. Where u used oops concepts in ur framework

Ans.

I used OOPs concepts in my framework for creating reusable components, inheritance, and encapsulation.

  • Used inheritance to create a base test class with common methods and properties

  • Implemented encapsulation to hide the internal details of the test cases

  • Utilized polymorphism for creating different types of test cases using the same interface

Add your answer

Q11. 5.Enum in java.

Ans.

Enum is a special data type in Java used to define a set of constants.

  • Enums can be used to create a set of related constants that can be used throughout the code.

  • Enums can have constructors, methods, and fields like a regular class.

  • Enums can be used in switch statements.

  • Example: enum Color { RED, GREEN, BLUE }

  • Example: Color c = Color.RED;

Add your answer

Q12. how postman helps for api testing

Ans.

Postman helps in API testing by providing a user-friendly interface to send requests, automate testing, and analyze responses.

  • Postman allows testers to easily send requests to APIs and view responses in a user-friendly interface.

  • It provides features for automating API testing, such as creating test scripts and running collections of tests.

  • Postman also offers tools for analyzing responses, including detailed logs and test reports.

  • It supports various authentication methods, env...read more

Add your answer

Q13. Http operation you worked on

Ans.

I have worked on Http operations for testing web applications.

  • I have experience in testing Http GET, POST, PUT, DELETE methods.

  • I have tested Http status codes like 200, 404, 500, etc.

  • I have used tools like Postman and RestAssured for Http testing.

  • I have tested Http requests and responses for RESTful APIs.

  • I have worked on Http cookies and sessions testing.

  • Example: I tested Http operations for a banking web application.

  • Example: I tested Http operations for an e-commerce web app...read more

Add your answer

Q14. How to get URL of webpage

Ans.

To get the URL of a webpage, you can use the window.location object in JavaScript.

  • Use window.location.href to get the full URL of the webpage

  • Use window.location.hostname to get the domain of the webpage

  • Use window.location.pathname to get the path of the webpage

  • Use window.location.protocol to get the protocol of the webpage (http or https)

Add your answer

Q15. Why string immutable in java ?

Ans.

String is immutable in Java to ensure security, thread safety, and optimization.

  • Immutable strings prevent accidental modification of data.

  • Immutable strings can be safely shared among multiple threads.

  • Immutable strings allow for efficient memory allocation and caching.

  • Immutable strings are used in various security-related operations.

  • Immutable strings enable the use of string pooling for optimization.

Add your answer

Q16. Agile Process (Agile vs Waterfall model)

Ans.

Agile is iterative and flexible, while Waterfall is sequential and rigid.

  • Agile involves continuous feedback and adaptation, while Waterfall follows a linear approach.

  • Agile allows for changes throughout the development process, while Waterfall requires detailed planning upfront.

  • Agile promotes collaboration and communication among team members, while Waterfall has distinct phases with limited interaction.

  • Agile is better suited for projects with evolving requirements, while Wate...read more

Add your answer

Q17. Threads in soap ui

Ans.

Threads in SoapUI are used to simulate concurrent user requests to a web service.

  • Threads allow for testing the performance and scalability of a web service

  • Multiple threads can be created to simulate concurrent user requests

  • Each thread can have its own set of test data and assertions

  • Thread properties can be configured in the SoapUI project settings

View 1 answer

Q18. How to handle POPUPS

Ans.

Handle popups by using automation tools, handling alerts, switching to popup windows, and using explicit waits.

  • Use automation tools like Selenium to handle popups

  • Handle alerts using switchTo().alert() method

  • Switch to popup windows using switchTo().window() method

  • Use explicit waits to ensure popup elements are loaded before interacting with them

Add your answer

Q19. What is polymorphism

Ans.

Polymorphism is the ability of a function or method to behave differently based on the object it is called with.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

  • It enables a single interface to be used for different data types or classes.

  • Examples include method overloading and method overriding in object-oriented programming.

Add your answer

Q20. What is interface

Ans.

An interface in programming is a contract that defines the methods that a class must implement.

  • Interfaces in programming are used to define a set of methods that a class must implement.

  • They provide a way to achieve abstraction and multiple inheritance in programming languages.

  • Interfaces are used to define the behavior of a class without specifying how it is implemented.

  • In languages like Java, classes can implement multiple interfaces to inherit the behavior of each interface....read more

Add your answer

Q21. Selenium vs Selenium Webdriver

Ans.

Selenium is a suite of tools for web automation testing, while Selenium WebDriver is a tool specifically for automating web browsers.

  • Selenium is a suite of tools that includes Selenium WebDriver, Selenium IDE, and Selenium Grid.

  • Selenium WebDriver is a tool for automating web browsers and is the most commonly used component of Selenium.

  • Selenium WebDriver allows testers to write tests in various programming languages like Java, Python, C#, etc.

  • Selenium WebDriver provides a more...read more

Add your answer

Q22. what is postman

Ans.

Postman is a popular API testing tool used for testing and debugging APIs.

  • Postman allows users to send requests to APIs and receive responses

  • It provides a user-friendly interface for creating and managing API requests

  • Postman can be used for automated testing of APIs

  • It supports various request types such as GET, POST, PUT, DELETE, etc.

Add your answer

Q23. Describe Your Framework

Ans.

My framework is a data-driven framework using Selenium WebDriver and TestNG for automated testing.

  • Data-driven approach for test data management

  • Integration of Selenium WebDriver for web automation

  • Utilization of TestNG for test case management and reporting

Add your answer

Q24. Locators in Selenium

Ans.

Locators in Selenium are used to identify web elements on a webpage for automation testing purposes.

  • Locators include ID, class name, name, tag name, link text, partial link text, and xpath.

  • ID is the most efficient locator as it is unique for each element.

  • Xpath is powerful but can be slow and brittle if not used correctly.

  • Using CSS selectors is preferred over xpath for better performance.

  • Locators can be used with findElement() and findElements() methods in Selenium.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Raymond Lifestyle Limited

based on 9 interviews
2 Interview rounds
Technical Round - 1
Technical Round - 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Automation Test Engineer Interview Questions from Similar Companies

3.8
 • 58 Interview Questions
3.7
 • 54 Interview Questions
3.8
 • 33 Interview Questions
3.9
 • 20 Interview Questions
4.2
 • 12 Interview Questions
3.8
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter