Capgemini Engineering
Tripjack Interview Questions and Answers
Q1. Do you use console to locate elements in a web page?
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.
Q2. Do you use the console to locate elements in web page?
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.
Q3. How do you compare two databases and two files?
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
Q4. How do you exit recursion in programming?
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.
Q5. How do you automate email and one time passcode?
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
Q6. How do you authenticate and API?
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.
Q7. How to pass data in testng tags?
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:
Interview Process at Tripjack
Top Sdet Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month