Add office photos
Amazon logo
Engaged Employer

Amazon

Verified
4.1
based on 25.3k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Sdet
Clear (1)

Amazon Sdet Interview Questions and Answers

Updated 18 Oct 2024

Q1. what happen between, when you enter a URL into a browser address bar and hit enter to actually page gets loaded ?

Ans.

When entering a URL and hitting enter, the browser performs DNS lookup, establishes a TCP connection, sends an HTTP request, receives the response, and renders the page.

  • Browser performs DNS lookup to resolve the domain name to an IP address

  • Browser establishes a TCP connection with the server

  • Browser sends an HTTP request to the server

  • Server processes the request and sends back an HTTP response

  • Browser receives the response and starts rendering the page

Add your answer
right arrow

Q2. how will you check that each page of amazon.com is having its logo or not.he also asked me to write code for this also

Ans.

To check if each page of Amazon.com has its logo, we can use automated testing with Selenium WebDriver.

  • Use Selenium WebDriver to navigate to each page of Amazon.com

  • Locate the logo element on each page using its XPath or CSS selector

  • Verify that the logo element is displayed on each page

Add your answer
right arrow

Q3. what are the basic features you will add into your own test framework

Ans.

A test framework should have features like test case management, test data management, reporting, and integration with CI/CD tools.

  • Test case management: Ability to create, organize, and execute test cases.

  • Test data management: Ability to manage test data and generate test data sets.

  • Reporting: Ability to generate detailed test reports with metrics and logs.

  • Integration with CI/CD tools: Ability to integrate with tools like Jenkins for continuous integration and delivery.

  • Paralle...read more

Add your answer
right arrow

Q4. Have you worked on any automation framework or not?

Ans.

Yes, I have worked on automation frameworks.

  • I have experience in developing and maintaining automation frameworks using tools like Selenium, TestNG, and Cucumber.

  • I have also worked on customizing existing frameworks to meet specific project requirements.

  • I am familiar with both data-driven and keyword-driven frameworks.

  • I have integrated automation frameworks with CI/CD pipelines for continuous testing.

  • One example of a project where I worked on an automation framework was for a...read more

Add your answer
right arrow
Discover Amazon interview dos and don'ts from real experiences

Q5. 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.

Add your answer
right arrow

Q6. Maximum Subsequent distinct & contiguous sub array in a character array

Ans.

Find the maximum subsequent distinct and contiguous subarray in a character array.

  • Use a sliding window approach to iterate through the array.

  • Keep track of the distinct characters in the current subarray.

  • Update the maximum length and subarray as necessary.

Add your answer
right arrow

Q7. Make a stack using 2 given queue

Ans.

Create a stack using 2 given queues.

  • Push elements into one queue until it is full.

  • When the first queue is full, push new elements into the second queue.

  • To pop an element, remove all elements from the non-empty queue except the last one.

  • Switch the non-empty queue to the other one when it becomes empty.

Add your answer
right arrow

Q8. Current Technology i am working in

Ans.

I am currently working with Java and Selenium for test automation.

  • Using Java programming language for writing test scripts

  • Using Selenium WebDriver for automating web applications

  • Integrating with CI/CD tools like Jenkins for continuous testing

  • Working with frameworks like TestNG for test management

  • Using tools like Maven for project management

Add your answer
right arrow

Q9. First and last occurrence of an element in an array

Ans.

Find the first and last occurrence of a specific element in an array of strings.

  • Iterate through the array and keep track of the index of the first and last occurrence of the element.

  • Return the index of the first and last occurrence of the element.

Add your answer
right arrow

More about working at Amazon

Back
Awards Leaf
AmbitionBox Logo
Top Rated Mega Company - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated Company for Women - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated Internet/Product Company - 2024
Awards Leaf
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Amazon Sdet

based on 1 interviews
Interview experience
5.0
Excellent
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Sdet Interview Questions from Similar Companies

Bharti Airtel Logo
4.0
 • 11 Interview Questions
Google Logo
4.4
 • 11 Interview Questions
View all
Recently Viewed
SALARIES
iEnergizer
SALARIES
ZTE Corporation
SALARIES
Firstsource Solutions
SALARIES
The Catalysts Group
SALARIES
1point1 Solutions
SALARIES
Infosys BPM
REVIEWS
Bharti Airtel
No Reviews
REVIEWS
Statestreet HCL Services
No Reviews
SALARIES
Capgemini
SALARIES
Cognizant
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
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