Premium Employer

Infosys

3.6
based on 40.5k Reviews
Filter interviews by

NLEY Consultants Interview Questions and Answers

Updated 26 Jan 2025
Popular Designations

Q1. How do we automate the Multiple pages in API testing

Ans.

To automate multiple pages in API testing, use test scripts to navigate through different endpoints and validate responses.

  • Create test scripts to call different API endpoints for each page

  • Use data-driven testing to iterate through multiple pages with different inputs

  • Implement assertions to validate responses from each page

  • Utilize automation tools like Postman or Selenium for API testing

Add your answer

Q2. Java program to alternate words in a string

Ans.

Java program to alternate words in a string

  • Split the input string into an array of words

  • Iterate through the array and alternate the words

  • Join the modified array back into a single string

Add your answer

Q3. Difference between TOSCA and Selenium

Ans.

TOSCA is a comprehensive test automation tool that supports multiple technologies, while Selenium is specifically for web applications.

  • TOSCA is a model-based test automation tool that allows for end-to-end testing of various technologies and applications.

  • Selenium is a widely used open-source tool specifically designed for automating web applications.

  • TOSCA provides a more comprehensive solution with features like test case design, test data management, and reporting.

  • Selenium r...read more

Add your answer

Q4. Interface vs abstraction

Ans.

Interface defines a contract for a class, while abstraction hides the implementation details.

  • Interface is a blueprint of a class that defines what methods a class must implement.

  • Abstraction is a concept where only the necessary details are shown and the rest are hidden.

  • Interfaces can be implemented by multiple classes, while abstraction is achieved through abstract classes or interfaces.

  • Example: Interface - 'Runnable' in Java, Abstraction - Abstract class in C#.

Add your answer
Discover NLEY Consultants interview dos and don'ts from real experiences

Q5. Java Code for reverse string

Ans.

Java code to reverse a string using StringBuilder

  • Create a StringBuilder object with the input string

  • Use the reverse() method of StringBuilder to reverse the string

  • Convert the reversed StringBuilder object back to a string using toString()

Add your answer

Q6. Maximzise screen in webpage

Ans.

To maximize screen in a webpage, use CSS properties like 'width: 100%' and 'height: 100vh'.

  • Set 'width: 100%' to make the content fill the entire width of the screen

  • Use 'height: 100vh' to make the content fill the entire height of the viewport

  • Consider using media queries for responsive design

Add your answer

Q7. Explain your framework

Ans.

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

  • Uses Selenium WebDriver for interacting with web elements

  • Utilizes TestNG for test case management and reporting

  • Employs data-driven approach for test data separation and reusability

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

Interview Process at NLEY Consultants

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

Top Automation Engineer Interview Questions from Similar Companies

4.0
 • 17 Interview Questions
3.7
 • 17 Interview Questions
3.7
 • 11 Interview Questions
3.5
 • 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
75 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