CGI Interview Questions

CGI Overview

  • Montreal, QC (Canada)
  • 10000+ employees
  • 1976
  • Public (GIB) Company
  • Consulting
  • ₹500+ billion (INR) per year
  • IBM, Accenture

CGI Interview Questions: The most important part of preparing for an interview is practice. Knowing what job interview questions you might be asked is essential – that way, you can craft your answers well in advance and feel confident in your responses when the pressure is on.

Wouldn’t it be great if you knew precisely what interview questions are asked for the Test Engineer and QA for Manual & Automation Positions? Unfortunately, we can’t read minds, but we’ll give you the next best thing: a list of previously asked CGI interview questions and answers.

Post On:CGI Interview Questions
Post Type:Interview Questions
Published On:www.softwaretestingo.com
Applicable For:Freshers & Experience

We have tried to share some of the manual testing interview questions, selenium interview questions, and testing interview questions, but we recommend spending some quality time getting comfortable with what might be asked when you go for the CGI interview.

Still, we need your love and support to make this platform more helpful to our fellow testers. So please share your recent interview questions and experience with us. You Can share those details by connecting with us at softwaretestingo.com@gmail.com.

CGI Automation Testing Interview Questions

Company Location: Bangalore
Updated on: 13.12.2024

  • Among all the given locator which locator is fastest of all?
  • If the method fails to find the element which of the two methods throws you the expectations?
  • What is selenium?
  • How to execute multiple Test cases at a time in TestNG?
  • Which method allows you to change control from one window to other?
  • Which annotations executed first?
  • Which open source tolls allows us to read and write Ms Excel file using Java?
  • How many types of XPath are there in selenium?
  • In selenium 4,which of the following method allows us to take screenshot of a specific web element?
  • Which language use in gherkins?
  • When you only want to access a single element on a webpage which method will you use?
  • Which class is used for drop-down in selenium?
  • Which component of selenium is most important?
  • Which keywords use in gherkins?
  • How many locators does selenium has?
  • Which exception is shown in selenium when there is a delay in the loading time of the elements with which we are interacting?
  • Write correct syntax for absolute path
  • What is Ui testing?
  • Which XPath search dissimilar nodes in XML document from the current node
  • What do you mean by open source software
  • Which of following browser support selenium?
  • Which method are present in POM to locate webelement?
  • Which type of wait command waits for a certain amount of time before it throws an exception?
  • Which tool you will use to manage and organised jar and lib in automation?
  • _ is a type of change related testing performed after fixing a defect to confirm that a failure caused by the defect does not reoccur
  • Which type of XPath start with a double forward slash?
  • Which type of XPath start with a single forward slash?
  • How many types of wait commands does the selenium web driver provide?
  • Which of the following waits takes timeout and polling frequency as it’s parameter?

Round: 1st Round (Karate Framework)
Company Location: Bangalore
Updated on: 21.08.2024

  • What is a selenium WebDriver?
  • What are the functions of the interface? WebDriver as an interface where those functions are implemented?
  • There is a text filed in a page, that text filed name is Jyoti, I want to cross check whether the text filed is Jyoti or not? How can we do that?
  • Do you know how to use assets?
  • In karate, I want to verify 404. What kind of steps do I need to write?
  • You are given credentials on what kind of automation that is.
  • What are the inbuilt assertions in karate?
  • Have you used a match and contain?
  • I have a user ID, I want to use all the scenarios, so how can you use that so it will work across the scenarios?
  • Is it possible to write the steps for the breakground keyword used?
  • You are executing one scenario, and you will get a response that you must pass in another scenario.
  • What type of Response do you validate (response code)?
  • How to handle dynamic data? (You are getting an account number or any data that keeps changing)
  • Do you know how to set the timeout in karate steps?
  • I have a dropdown, and the dropdown has different values each time. Sometimes it is 5, sometimes 8, sometimes 9 like that. I want to select the 2nd last value always from the bottom. What is the logic here so it will always select the 2nd last?
  • I want to launch the browser in incognito mode. How to do that.

Round: Technical
Company Location: Bangalore
Updated on: 21.06.2024

  • Self Introduction
  • Roles and Responsibilities
  • TestNG Explanation and Annotations
  • How to Get Extent Reports in TestNG
  • POM.xml File Structure
  • Why We Use Maven Projects
  • How to Pass Text Without Using sendKeys
  • Consider if a WebTable Has a Lot of Data Like Strings, Integers, and Links, How Can We Fetch Only Links
  • What is Assert and Verify
  • What is the Difference Between Hybrid and Cucumber Frameworks
  • Why We Use Cucumber Rather Than a Hybrid Framework
  • What is an Exception and How to Handle Exceptions
  • How to Read Excel Data in a TestNG Framework

Company Name: CGI
Position: Test Engineer
Company Location: Bangalore
Updated on: 05.06.2024

  • Explain the .m2 file
  • What is a Feature file
  • Asked for different TestNG Annotations
  • What are the various Listeners you have used in your project?
  • String code:- “Army” to “Mary”
  • What is Pom.xml
  • How will you handle .xml files
  • How you can handle Broken links
  • Find web element of 4.1* from Flipkart
  • Git merge, Git rebase
  • Jenkins
  • Groups, parallel testing
  • Write the program Compare two string values.
  • Write the program for Reverse string
  • Write Joined query
  • Write the program for Scroll up and down.
  • There are multiple options in the drop-down, such as 1-50, for which we want to output the 45 number’s value. Write the code for those.
  • What is oops, and where is it used in your automation project?

Company Name: CGI
Updated on: 02.03.2022

  • What is epic?
  • What are the priority and severity?
  • What are the different testing approaches followed in your project?
  • Write an XPath for the checkbox.
  • What is encapsulation
  • What final class? Why is it used?
  • Why do we need to use an abstract class?
  • Explain the try-catch block.
  • Can we write a program without a catch block?
  • What is method overriding and overloading with an example?
  • Which framework is used in your Project?
  • What is the POM Design Model? Briefly Explain
  • How to read data from Excel
  • Program: Write a program to reverse integer number
  • How do you check duplicate values in SQL? Write down queries
  • How do you handle dynamic web elements?
  • How do you handle multiple window popups? What is the return type?
  • What is Synchronization? Explain the waits.
  • What are all dependencies in your POM?
  • Coding Exercise: Set the first and last names, generate the person names randomly, and display the duplicate person with a similar first and last name. What will be the time complexity?
  • Coding Exercise: Given one Array with some values(3, 1, 2, 3, 4, 5) and need to remove the value randomly of the user’s choice
  • Program: Write a program that takes a List of Strings as input and returns a list of unique strings.
  • Find the missing number in the array of length n-1 and integers in the 1 to n.
  • Program: Write a program to remove duplicates from the given array without using the set. Given char array [a,b,b,c,d,f]
  • How to find the Average price program in Java
  • What is the thread invocation count method
  • What is the rule keyword in cucumber?

About CGI

Serving clients from hundreds of locations worldwide, CGI is a leading IT and business consulting services firm focused on being a partner, employer, and investment of choice.

CGI se classe parmi les plus importantes entreprises de services-conseils en TI et en management et s’engage à être un partenaire, un employeur et un investissement de choix.

Our 40 years of continuous profitable growth are a testament to our clients’ confidence in us, our members’ commitment, and the growth that provides our shareholders with a return on their investment.

As clients become more digital, securing data and systems and addressing regulatory compliance are higher priorities. Meanwhile, budget and investment trends point to decreased cost pressure and an expanded appetite to invest for growth.

Avatar for Softwaretestingo Editorial Board

I love open-source technologies and am very passionate about software development. I like to share my knowledge with others, especially on technology that's why I have given all the examples as simple as possible to understand for beginners. All the code posted on my blog is developed, compiled, and tested in my development environment. If you find any mistakes or bugs, Please drop an email to softwaretestingo.com@gmail.com, or You can join me on Linkedin.

Leave a Comment