Filter interviews by
posted on 10 Jun 2021
I applied via Recruitment Consultant and was interviewed in May 2021. There were 3 interview rounds.
Parameters in protractor.conf.js are used to configure Protractor for running tests.
The 'specs' parameter specifies the location of the test files.
The 'capabilities' parameter defines the browser and platform to run the tests on.
The 'baseUrl' parameter specifies the base URL for the application being tested.
The 'onPrepare' parameter is used to set up the test environment.
The 'framework' parameter specifies the testing ...
Abstract class is a class that cannot be instantiated and Interface is a blueprint of a class.
Abstract class can have both abstract and non-abstract methods while Interface can only have abstract methods.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract class can have constructors while Interface cannot.
Abstract class can have instance variables while Interface cannot.
Abstr...
Mutable objects can be changed after creation, while immutable objects cannot be changed.
Mutable objects: lists, dictionaries, sets, byte arrays, etc.
Immutable objects: numbers, strings, tuples, etc.
Changing a mutable object affects all references to it, while changing an immutable object creates a new object.
Immutable objects are often used for keys in dictionaries and elements in sets.
Operator overloading is not applicable in Protractor as it is a JavaScript testing framework.
Protractor is a JavaScript testing framework and JavaScript does not support operator overloading.
Operator overloading is a feature of object-oriented programming languages like C++ and Java.
In languages that support operator overloading, operators like +, -, *, / can be overloaded to work with custom objects.
However, in JavaSc...
isDisplayed checks if element is visible on the page while isPresent checks if element is present in the DOM.
isDisplayed returns true only if the element is visible on the page and has a height and width greater than 0.
isPresent returns true if the element is present in the DOM, regardless of whether it is visible or not.
isDisplayed throws an exception if the element is not present on the page while isPresent does not.
...
Top trending discussions
posted on 5 Jul 2022
Reverse a linked list and find all possible subsequences in a given array.
To reverse a linked list, iterate through the list and change the next pointers of each node to the previous node.
To find all possible subsequences in an array, use recursion and generate all possible combinations of elements.
For example, given the array [1, 2, 3], the possible subsequences are [], [1], [2], [3], [1, 2], [1, 3], [2, 3], [1, 2, 3]
posted on 7 Jun 2021
I applied via Recruitment Consultant and was interviewed in May 2021. There was 1 interview round.
posted on 22 Jul 2021
I applied via Referral and was interviewed before Jul 2020. There was 1 interview round.
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
posted on 11 Dec 2024
Java coding question with moderate level
Testing a lift system involves multiple steps to ensure its functionality and safety.
1. Verify the lift system's basic functionality such as going up and down smoothly.
2. Test emergency stop functionality to ensure safety measures are in place.
3. Check for proper alignment of doors and sensors to prevent accidents.
4. Conduct load testing to ensure the lift can handle its maximum capacity.
5. Test communication systems b...
I have worked on various projects involving test automation, performance testing, and quality assurance.
Developed automated test scripts using Selenium WebDriver for web applications
Conducted performance testing using JMeter to identify bottlenecks and optimize system performance
Implemented quality assurance processes to ensure software meets requirements and standards
Oops Concepts are fundamental principles of object-oriented programming such as Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability of a function to behave differently based on the object it is acting upon.
Abstraction: Hiding t...
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
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 t
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.
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 c...
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.
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:
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 p...
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.
Great experience it was really smooth process
Great Experience it was a smooth process
Software Engineer
7
salaries
| ₹7 L/yr - ₹17.5 L/yr |
Senior Engineer
4
salaries
| ₹16 L/yr - ₹24 L/yr |
Devops Engineer
3
salaries
| ₹8.8 L/yr - ₹11 L/yr |
Accenture
Capgemini
HCLTech
Teleperformance