Sdet

Sdet Interview Questions and Answers for Freshers

Updated 26 Apr 2024

Popular Companies

search-icon

Q1. Given a singly linked list, write a recursive method to reverse every 3 nodes in the list. He asked me to inform if I have seen the question

Ans.

Reverse every 3 nodes in a singly linked list using recursion.

  • Create a recursive method that takes the head of the linked list as input.

  • If the head is null or there are less than 3 nodes remaining, return the head.

  • Reverse the first 3 nodes by swapping their pointers.

  • Recursively call the method on the next 3 nodes and update the pointers accordingly.

  • Return the new head of the reversed linked list.

Q2. Write an extended method, which will accept locator and timeout, if method is visible before timeout, return success else return failure

Ans.

Create a method to check if element is visible within a specified timeout

  • Create a method that accepts a locator and timeout as parameters

  • Use a loop to check if the element is visible within the specified timeout

  • Return success if the element is visible before timeout, else return failure

Q3. Simple xpath without using Index reverse strings with words separately

Ans.

Reverse strings with words separately using simple xpath without using index

  • Use XPath function to split the string into words

  • Reverse each word individually using XPath function

  • Concatenate the reversed words back together

Q4. why Snapdeal

Ans.

Snapdeal is a leading e-commerce platform in India, offering a wide range of products and services.

  • Snapdeal has a vast product catalog, providing customers with a wide variety of options.

  • The platform offers competitive prices and frequent discounts, making it attractive for customers.

  • Snapdeal has a user-friendly interface and a seamless shopping experience.

  • The company has a strong logistics network, ensuring timely delivery of products.

  • Snapdeal has a robust customer support s...read more

Sdet Jobs

SDET 1-4 years
SAS Research and Developement (India) Pvt Ltd
4.4
Pune
Cognizant is Hiring For SDET!! 6-11 years
Cognizant
3.8
Chennai
SDET (Selenium + Java) 2-5 years
Diamond pick
4.1
Bangalore / Bengaluru
Are these interview questions helpful?
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

4.1
 • 4.9k Interviews
3.6
 • 2.3k Interviews
3.7
 • 866 Interviews
3.3
 • 737 Interviews
4.0
 • 308 Interviews
3.4
 • 83 Interviews
4.0
 • 70 Interviews
4.1
 • 24 Interviews
View all

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Sdet Interview Questions
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
65 L+

Reviews

4 L+

Interviews

4 Cr+

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