Add office photos
Capgemini Engineering logo
Employer?
Claim Account for FREE

Capgemini Engineering

3.5
based on 2.2k Reviews
Filter interviews by
Sdet
Clear (1)

Capgemini Engineering Sdet Interview Questions and Answers

Updated 23 Oct 2024

Q1. Do you use console to locate elements in a web page?

Ans.

Yes, I use console to locate elements in a web page for debugging and testing purposes.

  • Yes, I use console commands like document.querySelector() or document.getElementById() to locate elements on a web page.

  • Console is helpful for quickly testing and verifying element selectors before implementing them in automated tests.

  • Using console to locate elements can help in identifying issues with element selection and improve test script efficiency.

Add your answer
right arrow

Q2. Do you use the console to locate elements in web page?

Ans.

Yes, I use the console to locate elements in web pages for debugging and testing purposes.

  • I use the console to inspect elements and identify unique attributes like IDs, classes, or XPath.

  • I can use commands like document.getElementById(), document.querySelector(), or $() to locate elements.

  • I also use the console to test CSS selectors and verify if elements are being correctly identified.

Add your answer
right arrow

Q3. How do you compare two databases and two files?

Ans.

Comparing two databases and two files involves analyzing their structure, content, and integrity.

  • Compare the schema of the databases to ensure they have the same tables, columns, and relationships.

  • Check the data in the databases and files to identify any discrepancies or missing information.

  • Use checksums or hash functions to compare the contents of the files for differences.

  • Consider using tools like SQL queries, file comparison software, or scripting languages for efficient c...read more

Add your answer
right arrow

Q4. How do you exit recursion in programming?

Ans.

To exit recursion in programming, a base case is defined to stop the recursive calls.

  • Define a base case that will stop the recursive calls.

  • Ensure that the base case is reached during the recursion.

  • Return a value or perform an action when the base case is met.

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

Q5. How do you automate email and one time passcode?

Ans.

Automating email and one time passcode involves using automation tools and scripting to send emails and generate passcodes.

  • Use automation tools like Selenium or Puppeteer to automate the process of logging into email accounts and sending emails.

  • Utilize scripting languages like Python or JavaScript to generate one time passcodes and send them via email.

  • Implement API calls to interact with email servers and send emails programmatically.

  • Consider using third-party services like T...read more

Add your answer
right arrow

Q6. How do you authenticate and API?

Ans.

API authentication can be done using various methods like API keys, OAuth tokens, and JWT tokens.

  • Use API keys to authenticate requests by including the key in the request header.

  • Implement OAuth for secure authorization and authentication.

  • Utilize JWT tokens for stateless authentication by generating tokens upon successful login.

Add your answer
right arrow

Q7. How to pass data in testng tags?

Ans.

TestNG tags can pass data using parameters in testng.xml file or through DataProviders.

  • Use parameters in testng.xml file to pass data to test methods

  • Use DataProviders to pass data dynamically to test methods

  • Example:

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 Capgemini Engineering Sdet

based on 1 interviews
Interview experience
5.0
Excellent
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

Bharti Airtel Logo
4.0
 • 11 Interview Questions
Google Logo
4.4
 • 11 Interview Questions
View all
Recently Viewed
INTERVIEWS
Capgemini Engineering
No Interviews
INTERVIEWS
Capgemini Engineering
No Interviews
SALARIES
HDFC Ergo General Insurance
SALARIES
ACKO
SALARIES
ACKO
INTERVIEWS
Capgemini Engineering
No Interviews
INTERVIEWS
ACKO
No Interviews
INTERVIEWS
Capgemini Engineering
No Interviews
JOBS
Ultra Media and Entertainment
No Jobs
INTERVIEWS
Capgemini Engineering
No Interviews
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