Filter interviews by
I applied via Job Portal
Constructors are special methods that are used to initialize objects in a class.
Constructors have the same name as the class.
They are called automatically when an object is created.
They can be used to set default values for object properties.
Constructors can be overloaded to accept different parameters.
Example: public class Car { public Car() { // constructor code here } }
A super interface in Selenium WebDriver is an interface that extends multiple interfaces.
A super interface allows a class to inherit methods and variables from multiple interfaces.
It provides a way to achieve multiple inheritance in Java.
For example, the WebDriver interface is a super interface that extends multiple interfaces like SearchContext and TakesScreenshot.
Locators are used in Selenium Automation to identify elements on a web page.
ID Locator: Uses the 'id' attribute of an element
Name Locator: Uses the 'name' attribute of an element
Class Name Locator: Uses the 'class' attribute of an element
Tag Name Locator: Uses the HTML tag name of an element
Link Text Locator: Uses the text of a link element
Partial Link Text Locator: Uses a partial text of a link element
CSS Selector Loc...
There are several reporting tools available for Selenium WebDriver.
TestNG
JUnit
ExtentReports
Allure Reports
Custom reporting using log4j or Apache log4j
Waits are used to synchronize the test execution with the application's response.
Implicit Wait
Explicit Wait
Fluent Wait
Thread.sleep()
WebDriverWait
Top trending discussions
Consultant
112
salaries
| ₹3.6 L/yr - ₹12.3 L/yr |
Associate Consultant
90
salaries
| ₹2.8 L/yr - ₹8.5 L/yr |
Senior Consultant
63
salaries
| ₹7.8 L/yr - ₹18 L/yr |
Lead Consultant
51
salaries
| ₹9 L/yr - ₹19.7 L/yr |
Software Engineer
40
salaries
| ₹2.4 L/yr - ₹9 L/yr |
TCS
Infosys
Wipro
HCLTech