Add office photos
Employer?
Claim Account for FREE

Xylem Water Solutions

4.2
based on 194 Reviews
Filter interviews by

10+ TelesourceNow Interview Questions and Answers

Updated 23 Jun 2024

Q1. How you can validate the button present on the UI is actually blue in colour

Ans.

To validate the button color, inspect the CSS properties or use a color picker tool.

  • Inspect the CSS properties of the button element to check the color value

  • Use a color picker tool to sample the color of the button on the UI

  • Compare the sampled color with the expected blue color value

Add your answer

Q2. How you can print numbers from one to 1000 without using any loop

Ans.

Use recursion to print numbers from 1 to 1000 without using loops

  • Create a recursive function that takes a number as input

  • Print the number and call the function with the next number until 1000 is reached

Add your answer

Q3. How you can validate the data with any value is present in the table in selenium

Ans.

You can validate data presence in a table using Selenium by locating the table element and then searching for the desired value.

  • Locate the table element using Selenium WebDriver

  • Iterate through the rows and columns of the table to find the desired value

  • Use assertions to validate if the value is present in the table

Add your answer

Q4. Can we overload/override function having same signatures but have different return types in java!

Ans.

No, in Java you cannot overload/override functions based on return types.

  • In Java, method overloading is based on the number and type of parameters, not the return type.

  • Method overriding is based on the method signature, which includes the method name, parameter types, and order, but not the return type.

  • Attempting to overload or override a method based solely on return type will result in a compilation error.

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

Q5. Difference between abstract and interface. Create an object for an abstract class.

Ans.

Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.

  • Abstract class can have constructors, fields, and non-abstract methods along with abstract methods.

  • Interfaces can only have abstract methods and constants, no constructors or fields.

  • An abstract class can provide a default implementation for some methods, while an interface cannot.

  • An abstract class can be extended by another class using 'extends', while an interface c...read more

Add your answer

Q6. Program to remove white spaces from string without any inbuilt function and explain

Ans.

Program to remove white spaces from string without any inbuilt function

  • Iterate through each character in the string

  • Create a new string and add non-white space characters to it

  • Return the new string without white spaces

Add your answer
Are these interview questions helpful?

Q7. Difference between regression and integration testing

Ans.

Regression testing ensures that new code changes do not adversely affect existing functionality, while integration testing checks if different modules work together correctly.

  • Regression testing focuses on retesting existing functionality after code changes

  • Integration testing checks if different modules work together as expected

  • Regression testing is usually automated to save time and effort

  • Integration testing may involve manual testing to ensure all components work together se...read more

Add your answer

Q8. How to validate the checkbox is checked

Ans.

To validate if a checkbox is checked, use Selenium WebDriver to locate the checkbox element and then use the isSelected() method to check if it is checked.

  • Locate the checkbox element using Selenium WebDriver

  • Use the isSelected() method to check if the checkbox is checked

  • Assert the result to validate if the checkbox is checked

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Difference between findelement and findelements

Ans.

findelement returns the first matching element on the page, findelements returns a list of all matching elements.

  • findelement returns a single WebElement, findelements returns a list of WebElements

  • findelement throws NoSuchElementException if no element is found, findelements returns an empty list

  • Example: driver.findElement(By.id("exampleId")) vs driver.findElements(By.className("exampleClass"))

Add your answer

Q10. Test scenarios for facebook login page

Ans.

Test scenarios for Facebook login page

  • Verify login with valid credentials

  • Verify login with invalid credentials

  • Verify login with empty username and password fields

  • Verify login with incorrect password

  • Verify login with incorrect username

  • Verify login with special characters in username and password

  • Verify login with locked account

  • Verify login with expired password

  • Verify login with CAPS LOCK on

  • Verify login with multiple login attempts leading to account lockout

Add your answer

Q11. Difference between put and patch

Ans.

PUT is used to update or replace an entire resource, while PATCH is used to update or modify a part of a resource.

  • PUT is idempotent, meaning multiple identical requests will have the same effect as a single request.

  • PATCH is not necessarily idempotent, as multiple identical requests may have different effects.

  • PUT requires the client to send the entire updated resource, while PATCH only requires the client to send the specific changes to be made.

  • PUT is typically used for updati...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top QA Engineer Interview Questions from Similar Companies

3.9
 • 18 Interview Questions
3.9
 • 13 Interview Questions
3.2
 • 13 Interview Questions
3.9
 • 12 Interview Questions
4.9
 • 10 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
Get AmbitionBox app

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