i
IBM
Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards
Filter interviews by
Java code examples demonstrating different logic implementations for automation testing.
1. Conditional Statements: Use 'if' and 'else' to execute code based on conditions. Example: if (a > b) { System.out.println(a); }
2. Loops: Implement 'for' and 'while' loops to iterate over arrays. Example: for (int i = 0; i < array.length; i++) { System.out.println(array[i]); }
3. Exception Handling: Use 'try-catch' block...
Reverse a string in Java using StringBuilder's reverse method.
Create a StringBuilder object with the input string
Use the reverse() method of StringBuilder to reverse the string
Convert the reversed StringBuilder object back to a string using toString()
An interface in software development is a contract that defines the methods that a class must implement.
Interfaces in programming languages like Java, C#, and TypeScript provide a way to achieve abstraction and multiple inheritance.
Classes implementing an interface must provide concrete implementations for all the methods defined in the interface.
Interfaces allow for loose coupling between components, making code ...
A Java program to reverse a string
Create a char array from the input string
Use two pointers to swap characters from start and end of the array
Convert the char array back to a string and return
What people are saying about IBM
To read data from Excel, we can use libraries like Apache POI or OpenCSV.
Create a FileInputStream object to read the Excel file
Create a Workbook object using the FileInputStream object
Get the sheet from the Workbook object using sheet name or index
Iterate through rows and columns to read data
Close the Workbook and FileInputStream objects
Framework design involves creating a structured approach to automate testing.
Identify the testing requirements and objectives
Choose a suitable automation tool
Create a modular and reusable code structure
Implement error handling and reporting mechanisms
Integrate with version control and continuous integration systems
Ensure scalability and maintainability
Examples: Keyword-driven, Data-driven, Hybrid frameworks
Sample codes for automation using Selenium WebDriver, Maven, Git, Jenkins
Selenium WebDriver: driver.findElement(By.id("elementID")).sendKeys("text")
Maven: mvn clean install
Git: git clone https://github.com/username/repository.git
Jenkins: create a new job and configure it to run the automation tests
Reverse a string in Java using StringBuilder's reverse method.
Create a StringBuilder object with the input string
Use the reverse() method of StringBuilder to reverse the string
Convert the reversed StringBuilder object back to a string using toString()
An interface in software development is a contract that defines the methods that a class must implement.
Interfaces in programming languages like Java, C#, and TypeScript provide a way to achieve abstraction and multiple inheritance.
Classes implementing an interface must provide concrete implementations for all the methods defined in the interface.
Interfaces allow for loose coupling between components, making code more ...
I applied via Naukri.com and was interviewed in Nov 2023. There was 1 interview round.
A Java program to reverse a string
Create a char array from the input string
Use two pointers to swap characters from start and end of the array
Convert the char array back to a string and return
I applied via Recruitment Consulltant and was interviewed before Nov 2023. There were 3 interview rounds.
Java code examples demonstrating different logic implementations for automation testing.
1. Conditional Statements: Use 'if' and 'else' to execute code based on conditions. Example: if (a > b) { System.out.println(a); }
2. Loops: Implement 'for' and 'while' loops to iterate over arrays. Example: for (int i = 0; i < array.length; i++) { System.out.println(array[i]); }
3. Exception Handling: Use 'try-catch' blocks to ...
I applied via Campus Placement
Coding test Whit box testing black book testing Gray Box testing
Hashmaps, inheritance, webdriver, cucumber, testng framework, maven dependencies,extent reports, excel handling
Sample codes for automation using Selenium WebDriver, Maven, Git, Jenkins
Selenium WebDriver: driver.findElement(By.id("elementID")).sendKeys("text")
Maven: mvn clean install
Git: git clone https://github.com/username/repository.git
Jenkins: create a new job and configure it to run the automation tests
I applied via Company Website and was interviewed in Jun 2022. There were 2 interview rounds.
Framework, cucumber, BDD
I applied via LinkedIn and was interviewed before Jul 2020. There were 4 interview rounds.
I applied via Company Website and was interviewed before Oct 2020. There were 3 interview rounds.
based on 6 interview experiences
Difficulty level
Duration
based on 84 reviews
Rating in categories
Application Developer
12.5k
salaries
| ₹5.1 L/yr - ₹26 L/yr |
Software Engineer
5.9k
salaries
| ₹8.1 L/yr - ₹26.1 L/yr |
Software Developer
5.7k
salaries
| ₹13.8 L/yr - ₹35.2 L/yr |
Senior Software Engineer
5.4k
salaries
| ₹12.5 L/yr - ₹36 L/yr |
Advisory System Analyst
5.2k
salaries
| ₹9.5 L/yr - ₹27 L/yr |
Oracle
TCS
Cognizant
Accenture