i
CGI Group
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Job Portal and was interviewed in Nov 2024. There was 1 interview round.
Selenium framework is a test automation tool used for web applications.
Selenium framework allows for automated testing of web applications.
It supports multiple programming languages like Java, Python, C#, etc.
Selenium WebDriver is a key component for interacting with web elements.
Test scripts can be written using Selenium IDE, WebDriver, or Grid.
Selenium framework can be integrated with tools like TestNG, JUnit, etc.,
I applied via Naukri.com
Program to print vowels in a string
Iterate through each character in the string
Check if the character is a vowel (a, e, i, o, u)
Print the vowel if it is found
Program to verify if a given word is an anagram
Create a function that takes in two strings as input
Sort the characters of both strings
Compare the sorted strings to check if they are equal
Return true if they are anagrams, false otherwise
Create a POJO class for a given API request
Define a class with fields corresponding to the request parameters
Add getters and setters for each field
Implement toString method for easy debugging
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
Reversing string "I am Rahul"
CGI Group interview questions for designations
I applied via Naukri.com
I applied via Naukri.com and was interviewed in Aug 2022. There were 3 interview rounds.
One coding question with java implementation and difficulty level is easy to moderate
Awesome experience with different types of questions and responses
I applied via Naukri.com and was interviewed in Mar 2022. There were 2 interview rounds.
I applied via Referral and was interviewed before Mar 2023. There was 1 interview round.
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.
1 Interview rounds
based on 10 reviews
Rating in categories
Software Engineer
8k
salaries
| ₹3.8 L/yr - ₹13.8 L/yr |
Senior Software Engineer
7.1k
salaries
| ₹6 L/yr - ₹22 L/yr |
Lead Analyst
3.1k
salaries
| ₹9.9 L/yr - ₹29.5 L/yr |
Associate Software Engineer
1.8k
salaries
| ₹2.5 L/yr - ₹6.6 L/yr |
Senior Test Engineer
1.2k
salaries
| ₹6 L/yr - ₹20.2 L/yr |
TCS
Infosys
Wipro
HCLTech