Add office photos
Bharti Airtel logo
Employer?
Claim Account for FREE

Bharti Airtel

4.0
based on 13.8k Reviews
Video summary
Filter interviews by
Sdet
Experienced
Skills
Clear (1)

10+ Bharti Airtel Sdet Interview Questions and Answers

Updated 11 Apr 2024

Q1. How to achieve parallel execution of test cases in testNG?

Ans.

Parallel execution of test cases in TestNG can be achieved using TestNG's parallel attribute in the testng.xml file.

  • Set the 'parallel' attribute in the testng.xml file to 'methods', 'classes', or 'tests' to specify the level of parallelism.

  • Use the 'thread-count' attribute to specify the number of threads to be used for parallel execution.

  • Ensure that the test classes are thread-safe to avoid any conflicts during parallel execution.

Add your answer
right arrow

Q2. Write test cases of an API that creates User's profile by accepting First name, Last name and mobile number

Ans.

Test cases for API creating User's profile with First name, Last name, and mobile number

  • Verify that a user profile is created successfully with valid First name, Last name, and mobile number

  • Test with invalid First name (empty, special characters, numbers)

  • Test with invalid Last name (empty, special characters, numbers)

  • Test with invalid mobile number (empty, alphabets, special characters, less than 10 digits)

  • Verify that duplicate profiles are not created for the same mobile num...read more

Add your answer
right arrow

Q3. What are the reasons for 500 - Internal Server Error

Ans.

500 Internal Server Error is a generic error message indicating a problem with the server.

  • Server misconfiguration

  • Server overload

  • Programming errors in server-side code

  • Database connection issues

  • Insufficient server resources

Add your answer
right arrow

Q4. Write a program to reverse the words in a string I/P: My name is abc O/P: abc is name My

Ans.

Program to reverse words in a string

  • Split the input string into an array of words

  • Reverse the array of words

  • Join the reversed array back into a string

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

Q5. Write a program to count the character in a string

Ans.

A program to count the characters in a string

  • Iterate through each character in the string and increment the count for each character

  • Use a hashmap to store the count of each character

  • Handle edge cases like empty string or null input

Add your answer
right arrow

Q6. Amazon: Add Cart feature - Write Selenium code

Ans.

Use Selenium to automate adding items to cart on Amazon website.

  • Locate the 'Add to Cart' button on the product page using Selenium's findElement method

  • Click on the 'Add to Cart' button to add the item to the cart

  • Verify that the item has been successfully added to the cart by checking the cart contents

Add your answer
right arrow
Are these interview questions helpful?

Q7. UI test cases of Upload document

Ans.

UI test cases for uploading a document

  • Verify that the 'Upload' button is functional

  • Check if the correct file types are allowed for upload

  • Ensure that the progress bar is displayed during upload

  • Confirm that the document is successfully uploaded and visible on the UI

Add your answer
right arrow

Q8. UI test cases of a Form

Ans.

UI test cases for a Form

  • Verify all required fields are displayed

  • Test validation messages for invalid inputs

  • Check if form submission is successful

  • Test the functionality of reset button

Add your answer
right arrow
Share interview questions and help millions of jobseekers 🌟
man with laptop

Q9. Explain automation framework

Ans.

Automation framework is a set of guidelines, tools, and processes used to automate testing of software applications.

  • Automation framework provides structure and guidelines for creating and executing automated tests.

  • It helps in organizing test scripts, managing test data, and generating test reports.

  • Examples of automation frameworks include Selenium, TestNG, and Cucumber.

  • Frameworks can be data-driven, keyword-driven, or hybrid in nature.

Add your answer
right arrow

Q10. Test cases of Login API

Ans.

Test cases for Login API

  • Verify valid username and password login successfully

  • Verify invalid username and password combination fails to login

  • Verify login with empty username or password fails

  • Verify login with special characters in username or password fails

Add your answer
right arrow

Q11. Regression vs Sanity

Ans.

Regression testing ensures existing functionality still works after changes, while sanity testing checks if new functionality works as expected.

  • Regression testing is performed to make sure that new code changes do not adversely affect existing functionality.

  • Sanity testing is a cursory testing to make sure that the new functionality is working as expected.

  • Regression testing is usually automated and covers a wide range of test cases.

  • Sanity testing is usually done manually and f...read more

Add your answer
right arrow
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 Bharti Airtel Sdet

based on 2 interviews
Interview experience
4.0
Good
View more
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

Google Logo
4.4
 • 11 Interview Questions
View all
Recently Viewed
REVIEWS
Bharti Airtel
No Reviews
SALARIES
Bharti Airtel
SALARIES
HGS
SALARIES
Concentrix Corporation
SALARIES
iEnergizer
SALARIES
iEnergizer
SALARIES
Altruist Technologies
SALARIES
iEnergizer
INTERVIEWS
Microsoft Corporation
No Interviews
SALARIES
Bharti Airtel
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