i
Amadeus
Filter interviews by
Top trending discussions
posted on 28 Nov 2024
Constructors are special methods in a class used to initialize objects. There are default, parameterized, copy, and static constructors.
Constructors have the same name as the class and do not have a return type.
Default constructors are automatically created by the compiler if no constructor is defined.
Parameterized constructors accept parameters to initialize object properties.
Copy constructors create a new object as a...
findElements method in Selenium returns a list of WebElements or an empty list if no elements are found.
findElements method returns a list of WebElements
If no elements are found, it returns an empty list
Return type is List
Webdriver is a tool used for automating web application testing.
Webdriver is a popular automation tool used for testing web applications.
It allows testers to automate interactions with a web browser.
Webdriver supports multiple programming languages such as Java, Python, and C#.
It can simulate user interactions like clicking buttons, entering text, and navigating through pages.
Webdriver is commonly used in QA automation...
Logic to find duplicate numbers and their count in a given list.
Iterate through the list and store each number in a hashmap with its count
If a number is already in the hashmap, increment its count
After iterating, check the hashmap for numbers with count greater than 1 to find duplicates
Factorial using recursion is a mathematical function that calculates the product of all positive integers up to a given number.
Define a function that takes an integer parameter n
Base case: if n is 0, return 1
Recursive case: return n multiplied by the factorial of n-1
Example: factorial(5) = 5 * factorial(4) = 5 * 4 * factorial(3) = 5 * 4 * 3 * factorial(2) = 5 * 4 * 3 * 2 * factorial(1) = 5 * 4 * 3 * 2 * 1 = 120
I applied via Naukri.com and was interviewed in Apr 2024. There were 3 interview rounds.
In this first round it was of 45mins which included MCQ question and 1 coding question.
Answers to common interview questions for Automation Test Engineer position.
Const is used for constant values that cannot be reassigned, var is used for variable declaration, and char is a data type for storing characters in programming languages.
OOPs concepts include inheritance, encapsulation, polymorphism, and abstraction. Example: Inheritance allows a class to inherit properties and methods from another class.
JavaS...
Type coercion is the process of converting one data type to another in programming.
Type coercion can happen implicitly or explicitly in programming languages.
Implicit type coercion occurs when the language automatically converts data types during operations.
Explicit type coercion occurs when the programmer manually converts data types using functions or operators.
Example: In JavaScript, the addition operator (+) can pe...
Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class. Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Inheritance allows for code reusability by defining a new class based on an existing class.
Polymorphism enables flexibility in programming by allowing objects to be treated as instances of their pare...
API error codes are unique identifiers used to indicate specific errors in an API response.
API error codes are typically numeric or alphanumeric codes that correspond to specific errors in the API.
Each error code should have a corresponding explanation in the API documentation to help developers understand the issue.
Examples of API error codes include 400 Bad Request, 401 Unauthorized, and 404 Not Found.
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
General aptitude and out put realted questions
Face to face dsa and string manipulations
posted on 15 Sep 2023
I applied via Naukri.com and was interviewed in Aug 2023. There were 3 interview rounds.
Identifying webelement using xpath involves locating elements based on their attributes and hierarchy in the HTML structure.
Use unique attributes like id, class, name, etc. to create xpath expressions
Avoid using absolute xpaths as they are prone to breaking with changes in the HTML structure
Use relative xpaths that are more robust and flexible
Consider using xpath axes like ancestor, descendant, sibling, etc. for comple
Convert a given number to its equivalent Roman numeral representation.
Create a mapping of numbers to Roman numerals (e.g. 1 -> 'I', 5 -> 'V', 10 -> 'X', etc.)
Iterate through the mapping in descending order and subtract the largest possible numeral from the given number until it reaches 0.
Handle special cases like 4, 9, 40, 90, etc. by using subtraction rules.
Combine the Roman numerals obtained in the process to form th
Considerations for designing automation framework
Identify the scope and objectives of automation
Choose the right tools and technologies based on project requirements
Design a modular and scalable framework for easy maintenance
Implement best practices for code reusability and readability
Include error handling and reporting mechanisms for better debugging
Consider integration with CI/CD pipelines for continuous testing
Plan...
posted on 12 Mar 2023
I applied via LinkedIn and was interviewed in Feb 2023. There were 2 interview rounds.
posted on 17 Jul 2024
I applied via Company Website and was interviewed before Jul 2023. There were 4 interview rounds.
Space and time complexities were asked for program
posted on 17 Nov 2022
I applied via Naukri.com and was interviewed before Nov 2021. There were 4 interview rounds.
Python program demonstrating string, list, and OOP concepts.
Create a class with attributes and methods
Use string methods like split(), join(), and replace()
Manipulate lists using append(), pop(), and slicing
Demonstrate inheritance and polymorphism
Senior Software Engineer
518
salaries
| ₹11.6 L/yr - ₹33.3 L/yr |
Member Technical Staff
310
salaries
| ₹11 L/yr - ₹42.5 L/yr |
Software Engineer
222
salaries
| ₹6 L/yr - ₹20 L/yr |
Senior Business Analyst
186
salaries
| ₹10.5 L/yr - ₹25 L/yr |
Software Development Engineer II
183
salaries
| ₹12.5 L/yr - ₹25 L/yr |
Sabre
Travelport
Expedia Group
Booking Holdings