i
Tech Mahindra
Filter interviews by
I applied via Referral and was interviewed in Dec 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.
typeAndWait is used to wait for a specific element to appear before proceeding, while type does not wait.
typeAndWait is used in Selenium WebDriver to wait for a specific element to appear before typing into it
type does not wait for the element to appear and may cause errors if the element is not present
typeAndWait is useful for dynamic web pages where elements may take time to load
To change window size in Selenium, you can use the set_window_size() method of the WebDriver class.
Use driver.set_window_size(width, height) to change the window size
Specify the width and height in pixels as parameters
Example: driver.set_window_size(800, 600) will set the window size to 800x600 pixels
TestNG provides different listeners to customize test execution and reporting.
TestNG provides several built-in listeners such as IInvokedMethodListener, ITestListener, ISuiteListener, etc.
Listeners can be used to perform actions before or after test methods, suites, or entire test runs.
Listeners can be implemented by creating classes that extend the corresponding listener interfaces.
Listeners can be configured in the t...
I applied via Naukri.com
posted on 29 Nov 2024
I was interviewed in May 2024.
Java program to create and manipulate an array of strings
Declare and initialize an array of strings: String[] arrayName = new String[] {"string1", "string2", "string3"};
Access elements in the array using index: String element = arrayName[index];
Modify elements in the array: arrayName[index] = "newString";
Iterate through the array using a loop: for(String element : arrayName) { // do something with element }
Java program to manipulate an array of strings
Use a for loop to iterate through the array of strings
Use string methods like substring, indexOf, or replace to manipulate the strings
Use StringBuilder for efficient string manipulation
Java code to find a substring in an array of strings
Use the contains() method to check if a string contains the substring
Iterate through the array of strings and check each string for the substring
Use the indexOf() method to find the index of the substring within the string
Write getter setter for a scenario in a Senior QA Engineer interview
Create private variables for the data you want to get and set
Create public getter methods to access the private variables
Create public setter methods to modify the private variables
I was interviewed in Oct 2024.
Interviewer gave a java program and asked output.
I applied via Referral and was interviewed in Mar 2024. There was 1 interview round.
I applied via Job Portal
Time frame one hour, 60 questions
I applied via LinkedIn and was interviewed in Sep 2023. There were 4 interview rounds.
Work on jva concepts
Array and link list questions.
based on 5 reviews
Rating in categories
Software Engineer
26.3k
salaries
| ₹2 L/yr - ₹9 L/yr |
Senior Software Engineer
21.3k
salaries
| ₹5.5 L/yr - ₹22.7 L/yr |
Technical Lead
11.6k
salaries
| ₹9.5 L/yr - ₹37 L/yr |
Associate Software Engineer
5.2k
salaries
| ₹1.8 L/yr - ₹6 L/yr |
Team Lead
4.9k
salaries
| ₹5.2 L/yr - ₹17 L/yr |
Infosys
Cognizant
Accenture
Wipro