i
Infosys
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Dec 2023. There was 1 interview round.
Use Selenium WebDriver to capture screenshot on test case failure
Use Selenium WebDriver's getScreenshotAs method to capture screenshot
Save the screenshot to a specified location on the system
Include the screenshot capture code in the test case failure handling logic
Selenium can be integrated with JIRA using JIRA API and Selenium WebDriver to automate test case execution and report defects directly from Selenium scripts.
Use JIRA API to interact with JIRA from Selenium scripts
Utilize Selenium WebDriver to automate test case execution and report defects
Integrate Selenium with JIRA to create a seamless testing and defect tracking process
Challenges include conflicts with other developers' changes, incorrect file paths, and forgetting to add files.
Conflicts with other developers' changes
Incorrect file paths
Forgetting to add files
I applied via LinkedIn and was interviewed in Dec 2023. There were 2 interview rounds.
Program to reverse a string using array of characters.
Create an array of characters from the input string.
Iterate through the array in reverse order and append each character to a new string.
Return the reversed string as the output.
I applied via Naukri.com and was interviewed in Jun 2022. There were 3 interview rounds.
I am an Automation Test Engineer with knowledge of STLC, test plan, test case, test scenario, Selenium framework, and writing Selenium test cases.
STLC stands for Software Testing Life Cycle and is a process followed to ensure quality in software testing.
Test plan is a document that outlines the testing strategy, objectives, and scope of testing.
Test case is a set of steps and conditions that are executed to verify the ...
Asking quetions on selenium, testNG and java
1.Tell me about yourself
2.Difference between Find Elements and find element
3.Difference between implicity and explicity wait.
4.syntax for explicity wait.
5.How to invoke browser.
6.What is testNg Annotations.
7.How to read excel file in selenium.
8.How to do parallel Testing.
9.Which tools using in selenium framework.
10.Exceptions in selenium.
11.What is stale exceptions.
12.How to do drag and drop in selenium.
13.WAP for two largest numbers
14.What is collection.
15.differencee between final and finaliy.
16.what is constructor.
17.what is defect bug cycle.
18.What is SDLC.
19Access modifiers in java.
20.Checked and unchecked exception.
21.how to handle alerts in selenium.
22.how to handle frames.
Challenges in Selenium include browser compatibility, dynamic elements, and test maintenance.
Browser compatibility issues can arise due to differences in browser versions and configurations.
Dynamic elements can cause tests to fail if not handled properly.
Test maintenance can be challenging due to changes in the application under test.
Synchronization issues can occur when the test script runs faster than the application...
List of common WebDriver exceptions
NoSuchElementException - When an element is not found in the DOM
TimeoutException - When a command takes too long to complete
StaleElementReferenceException - When an element is no longer attached to the DOM
ElementNotVisibleException - When an element is present in the DOM but not visible
ElementNotInteractableException - When an element is present in the DOM but not interactable
InvalidE...
Infosys interview questions for designations
Get interview-ready with Top Infosys Interview Questions
What people are saying about Infosys
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Absolute Xpath starts from the root element, while relative Xpath starts from any node in the DOM structure.
Absolute Xpath starts with a single forward slash (/) and starts selection from the root node.
Relative Xpath starts with a double forward slash (//) and starts selection from the current node or any node in the DOM structure.
Absolute Xpath is more brittle and prone to breaking if the structure of the page changes...
The return would be the number of tabs open in the browser.
The return value would be an integer representing the count of open tabs.
For example, if there are 5 tabs open, the return value would be 5.
Types of waits in Selenium include Implicit Wait, Explicit Wait, and Fluent Wait.
Implicit Wait: Waits for a certain amount of time before throwing a NoSuchElementException.
Explicit Wait: Waits for a certain condition to occur before proceeding further in the code.
Fluent Wait: Waits for a condition to be true with a defined polling frequency.
Example: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
Exceptions in Selenium are errors that occur during test execution, disrupting the flow of the test script.
Exceptions are thrown when there is an unexpected behavior in the application under test or in the test script itself.
Common exceptions in Selenium include NoSuchElementException, ElementNotVisibleException, TimeoutException, and StaleElementReferenceException.
Handling exceptions in Selenium can be done using try-...
Feature files contain high-level description of the functionality to be tested, while step definitions are the implementation of the steps in the feature file using code.
Feature files are written in Gherkin syntax and describe the behavior of the application in plain text.
Step definitions are written in programming languages like Java, Ruby, etc., and map the steps in the feature file to automation code.
Feature files a...
Data can be input in Cucumber using feature files and step definitions.
Data can be input in feature files using scenarios and scenario outlines
Step definitions can be used to define the actions to be taken with the input data
Data tables can be used in feature files to input structured data
Examples keyword can be used in scenario outlines to provide multiple sets of input data
Test case is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements. Test plan is a document outlining the scope, approach, resources, and schedule of testing activities. Test scenarios are detailed descriptions of possible interactions with the system.
Test case: specific conditions to be tested, expected results, steps to execute
Test plan: overall strate...
Hooks in Java are methods that allow subclasses to override or extend the behavior of a superclass.
Hooks are commonly used in frameworks like JUnit and TestNG for test automation.
They are often used for setup and teardown operations before and after test methods.
Examples include @Before, @After, @BeforeClass, and @AfterClass annotations in JUnit.
posted on 16 Sep 2024
I was interviewed in Feb 2024.
posted on 26 Dec 2023
I applied via campus placement at Teegala Krishna Reddy Engineering College, Ranga Reddy and was interviewed before Oct 2023. There were 3 interview rounds.
C, java, Software Engineering, mathematics,logical ,one program
based on 61 reviews
Rating in categories
Technology Analyst
56.3k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
49.8k
salaries
| ₹2.8 L/yr - ₹8 L/yr |
System Engineer
39k
salaries
| ₹2.5 L/yr - ₹5.3 L/yr |
Technical Lead
30.7k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.2k
salaries
| ₹4.3 L/yr - ₹16.7 L/yr |
TCS
Wipro
Cognizant
Accenture