Premium Employer

i

This company page is being actively managed by HCLTech Team. If you also belong to the team, you can get access from here

HCLTech Verified Tick

Compare button icon Compare button icon Compare
3.5

based on 34.8k Reviews

Filter interviews by

HCLTech Automation Lead Interview Questions and Answers

Updated 2 Jun 2022

HCLTech Automation Lead Interview Experiences

1 interview found

I applied via Naukri.com and was interviewed in May 2022. There were 3 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Selenium and Java questions..coding questions .
Round 2 - Technical 

(1 Question)

  • Q1. Again 1 program coding and selenium questions and Java questions.framework and all they will ask..api testing rest assured
Round 3 - One-on-one 

(1 Question)

  • Q1. Normal HR round .salary and location discussions..after 3-4 days they rolled out the offer

Interview Preparation Tips

Interview preparation tips for other job seekers - Java coding questions
Selenium
And Xpath writing

Interview questions from similar companies

Automation Lead Interview Questions & Answers

Cognizant user image Sangeetha Vijayakumar

posted on 28 Jul 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(1 Question)

  • Q1. About profile and responsibilities
Round 2 - Technical 

(1 Question)

  • Q1. About project and technical
Round 3 - HR 

(1 Question)

  • Q1. About joining,salary discussion
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. Tell know what all tools you have worked upon
  • Q2. What is the challenge you faced in your job
Round 3 - HR 

(1 Question)

  • Q1. Why are you leaving your current job

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident and attend multiple interviews without losing hope
Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Jun 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Technical 

(4 Questions)

  • Q1. What are some of the code words in the test runner file in cucumber?
  • Ans. 

    Code words in test runner file in Cucumber

    • Cucumber uses Gherkin syntax for writing feature files

    • Test runner file specifies the location of feature files and step definitions

    • Code words in test runner file include 'feature', 'glue', 'tags', 'plugin', 'monochrome', etc.

  • Answered by AI
  • Q2. What does "Monochrome" & "pretty" do in Cucumber?
  • Ans. 

    Monochrome and pretty are formatting options in Cucumber to make the output more readable.

    • Monochrome removes colors from the output to make it easier to read in black and white.

    • Pretty formats the output in a more human-readable way with indentation and line breaks.

    • Both options can be used together or separately.

    • Example: 'cucumber --format pretty --monochrome'

    • Example: 'cucumber --format progress --no-monochrome'

  • Answered by AI
  • Q3. How do you configure Jenkins to run your automation suite?
  • Ans. 

    Configure Jenkins with necessary plugins and create a Jenkins job to run the automation suite.

    • Install necessary plugins like Selenium, TestNG, etc.

    • Create a Jenkins job and configure it to run the automation suite

    • Specify the location of the automation suite in the Jenkins job configuration

    • Set up the build triggers and post-build actions as required

  • Answered by AI
  • Q4. What is your framework in a nutshell?
  • Ans. 

    My framework is a hybrid framework that combines data-driven and keyword-driven approaches.

    • My framework uses Excel sheets to store test data and keywords.

    • It uses Selenium WebDriver for web automation and Appium for mobile automation.

    • It has a modular structure with reusable functions and libraries.

    • It generates HTML reports with detailed test results.

    • It supports parallel execution for faster test runs.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - I was rejected in LTI even when it was a very very simple type of interview.
I attended interviews 20 times tougher and got selected,
but I'm not sure why I was rejected.
Just FYI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Dec 2024.

Round 1 - Technical 

(7 Questions)

  • Q1. Write code to implement and explicit wait in Selenium
  • Q2. Write code to implement Robot class in java
  • Q3. How would you locate the Xpath for the "Today's Deal" menu item on Amazon
  • Q4. What will be the memory allocation for the code String str1 = "Automation"; String str2 = new String("Automation");
  • Q5. What is the difference between str1==str2 and str1.equals(str2)
  • Q6. Meaning of status code 401 and 502
  • Q7. Print first 4 letter and last 4 letter of String str="www.amazon.com"
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via LinkedIn and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Can you explain the Maven build lifecycle?
  • Ans. 

    Maven build lifecycle consists of phases like compile, test, package, install, deploy.

    • Maven build lifecycle consists of three main phases: clean, default, and site.

    • Each phase consists of a series of goals that are executed in a specific order.

    • Some common goals in Maven build lifecycle include compile, test, package, install, and deploy.

    • The clean phase removes all files generated by the previous build.

    • The default phase ...

  • Answered by AI
  • Q2. What is the code to reverse a sentence?
  • Ans. 

    Code to reverse a sentence using array of strings.

    • Split the sentence into an array of words

    • Reverse the array

    • Join the array back into a sentence

  • Answered by AI
  • Q3. What is static block in java?
  • Ans. 

    Static block in Java is a block of code that is executed only once when the class is loaded.

    • Static block is used to initialize static variables of a class.

    • It is executed before the main method.

    • Syntax: static { // code to be executed }

    • Example: static { System.out.println("Static block executed"); }

  • Answered by AI
  • Q4. What is exclude and include in TestNG?
  • Ans. 

    Exclude and include in TestNG are used to specify which test methods to run or skip during test execution.

    • Exclude attribute is used to specify which test methods to skip during test execution

    • Include attribute is used to specify which test methods to run during test execution

    • Both attributes can be used in the testng.xml file or in the @Test annotation

    • Example: @Test(groups = {"smoke"}, excludeGroups = {"regression"})

  • Answered by AI
  • Q5. What is code for reverse a digit?
  • Ans. 

    To reverse a digit, convert it to a string and then reverse the string.

    • Convert the digit to a string

    • Use built-in functions to reverse the string

    • Convert the reversed string back to a digit if needed

  • Answered by AI
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - One-on-one 

(7 Questions)

  • Q1. What is a constructor and it's purpose?
  • Ans. 

    A constructor is a special type of method in a class that is automatically called when an object of that class is created.

    • Constructors have the same name as the class they belong to

    • They are used to initialize the object's state or perform any necessary setup

    • Constructors can have parameters to customize the initialization process

    • Example: public class Car { public Car(String color) { this.color = color; } }

  • Answered by AI
  • Q2. Can you override a Static Method?
  • Ans. 

    Yes, a static method can be overridden in Java using the concept of method hiding.

    • In Java, static methods cannot be overridden in the traditional sense like instance methods.

    • When a subclass defines a static method with the same signature as a static method in the superclass, it is called method hiding.

    • Method hiding does not follow polymorphism and is resolved at compile time based on the reference type.

    • Example: class...

  • Answered by AI
  • Q3. Can you create a Static local variable inside a Static method
  • Ans. 

    Yes, a static local variable can be created inside a static method.

    • Yes, a static local variable can be declared inside a static method in programming languages like C++.

    • Static local variables retain their values between function calls.

    • Example: static void myStaticMethod() { static int count = 0; count++; }

  • Answered by AI
  • Q4. What is the memory allocation for a String?
  • Ans. 

    String memory allocation is dynamic and depends on the length of the string.

    • String memory allocation is dynamic and can change based on the length of the string.

    • In Java, a String object is stored in the heap memory.

    • Each character in a String typically takes up 2 bytes of memory.

    • String objects in Java are immutable, meaning once a String object is created, it cannot be changed.

  • Answered by AI
  • Q5. Can you create a Static method inside an Abstract class or Interface?
  • Ans. 

    Yes, you can create a static method inside an abstract class or interface.

    • Static methods can be defined in interfaces since Java 8.

    • Static methods in interfaces are used for providing utility methods that are not tied to any specific instance of the interface.

    • Static methods in abstract classes can be used for common functionality that does not require an instance of the class.

  • Answered by AI
  • Q6. What is the Parent class of Java?
  • Ans. 

    The parent class of Java is the Object class.

    • All classes in Java are directly or indirectly derived from the Object class.

    • The Object class is the root class in Java's class hierarchy.

    • It provides methods that are common to all objects in Java, such as toString(), equals(), and hashCode().

  • Answered by AI
  • Q7. What is Window Handles in Selenium?
  • Ans. 

    Window Handles in Selenium are unique identifiers used to handle multiple browser windows in a Selenium test script.

    • Window Handles are unique alphanumeric strings assigned to each browser window opened by Selenium.

    • They are used to switch between different browser windows during a test script execution.

    • Window Handles can be obtained using getWindowHandles() method in Selenium.

    • Example: Set handles = driver.getWindowHandl

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Mphasis Automation Test Engineer interview:
  • Selenium
  • Java
  • OOPS
  • Manual Testing
Interview preparation tips for other job seekers - Nowadays, the interviewers expect the same Java language of a Developer as a Tester. But, how will that be possible? If a Tester has the same knowledge as a Developer, then why would he/she become a Tester instead of a Developer? Please open up your thoughts to the Interviewer, so that they can think before confusing with the deep logical knowledge.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. Write java program to print sum of digits from a given string eg: "abcd23"
  • Ans. 

    Java program to print sum of digits from a given string

    • Iterate through each character in the string

    • Check if the character is a digit using Character.isDigit() method

    • Convert the digit character to integer using Character.getNumericValue() method

    • Sum up all the digits found in the string

  • Answered by AI
  • Q2. Explain oops concepts used in your framework with example?
  • Ans. 

    OOPs concepts used in the framework include inheritance, polymorphism, encapsulation, and abstraction.

    • Inheritance is used to create a parent-child relationship between classes. For example, a base class 'Page' can be inherited by 'HomePage' and 'LoginPage' classes.

    • Polymorphism allows objects of different classes to be treated as objects of a common superclass. For instance, a 'click' method can be implemented different...

  • Answered by AI
  • Q3. Explain polymorphism
  • Ans. 

    Polymorphism is the ability of a single function or method to operate on different types of data.

    • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

    • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

    • Example of compile-time polymorphism: function overloading in Java.

    • Example of runtime polymorphism: method overriding in Java

  • Answered by AI
  • Q4. Java program to print the sum of elements in string array eg: String[] arr = {"1","2","3"}
  • Ans. 

    Java program to print the sum of elements in a string array.

    • Convert each element in the string array to an integer using Integer.parseInt()

    • Sum up all the integers to get the total sum

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Basic selenium and Basic Java
Round 2 - Technical 

(1 Question)

  • Q1. Java Program - Reverse a string Selenium - stale element
  • Ans. 

    Reverse a string using Java program and handle stale element in Selenium

    • Create a Java program to reverse a string using StringBuilder or char array

    • In Selenium, handle stale element exception by refreshing the element or using WebDriverWait

    • Example: Java program - input: 'hello', output: 'olleh'; Selenium - handle stale element by refreshing the element before interacting with it

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. What is your expected salary
  • Ans. 

    My expected salary is based on my experience, skills, and the market rate for Automation Test Engineers.

    • I have researched the average salary range for Automation Test Engineers in this location.

    • I am looking for a competitive salary that reflects my expertise in automation testing.

    • I am open to negotiation based on the overall compensation package offered.

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I was interviewed in May 2024.

Round 1 - Technical 

(10 Questions)

  • Q1. Basics of Selenium(Windowhandles,Screenshot,Actions class,Selector Class,) with syntax
  • Q2. Asked to write Automation Framework architecture
  • Q3. What are the different gherkin words
  • Ans. 

    Gherkin words are keywords used in Gherkin syntax for writing test scenarios in Behavior Driven Development (BDD).

    • Feature

    • Scenario

    • Given

    • When

    • Then

    • And

    • But

  • Answered by AI
  • Q4. What we will use in plugin
  • Ans. 

    Plugins are used to extend the functionality of a software application.

    • Plugins are additional software components that can be added to an existing application to provide new features or functionalities.

    • They can be used to customize the behavior of the application without modifying its core code.

    • Examples of plugins include browser extensions, WordPress plugins, and Adobe Photoshop filters.

  • Answered by AI
  • Q5. How to run runner class
  • Ans. 

    To run a runner class, you can use a test runner tool like JUnit or TestNG in your automation testing framework.

    • Use a test runner tool like JUnit or TestNG to execute the runner class

    • Add the @RunWith annotation in JUnit or specify the runner class in TestNG XML file

    • Make sure the runner class includes the necessary setup and teardown methods for test execution

  • Answered by AI
  • Q6. Java oops, strings , exception handling
  • Q7. How to run parallel mode in testng,groups,priority
  • Ans. 

    TestNG allows running tests in parallel mode using groups and priorities.

    • Use 'parallel' attribute in testng.xml file to specify parallel mode (e.g. )

    • Use 'groups' attribute in testng.xml file to group tests that should run in parallel (e.g. )

    • Use 'priority' attribute in testng.xml file to specify the order in which tests should run (e.g.

  • Answered by AI
  • Q8. Write Merge Sort Programme
  • Ans. 

    Merge Sort is a divide and conquer algorithm that divides the input array into two halves, sorts them, and then merges them back together.

    • Divide the array into two halves recursively

    • Sort each half using Merge Sort recursively

    • Merge the sorted halves back together

  • Answered by AI
  • Q9. Write Reverse a string programme
  • Ans. 

    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

  • Answered by AI
  • Q10. Write syntax of data driven testing (XSSF Workbook) Syntax
  • Ans. 

    Data driven testing syntax using XSSF Workbook

    • Create XSSFWorkbook object

    • Get the sheet from the workbook

    • Iterate through rows and columns to fetch test data

    • Use test data in your test cases

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Selenium basics ( window handles , screenshot,reports, file upload and download, Add extension, Headless mode)

Interview Preparation Tips

Interview preparation tips for other job seekers - I would say it is easy to crack Service based Companies. Just prepare all the concepts of Selenium, Java,TestNG,Maven,GitHub and basic 20 Programmes.

For Selenium and BDD(Cucumber)Learn Rahul Shetty Udemy course
For Java search and learn top 200 interview questions.
Basic programmes like ( Duplicate characters,reverse string,unique characters, string anagram, Bubble sort , merge sort, quick sort and some more) .

How I switched from my current company.
Do’s
Uninstall social media apps.
Stop watching movies.
Stop eating Junk food.
Study at least 1-2 hours daily.
Listen motivational songs.
Make connections on LinkedIn.
Make single page resume by creating on overleaf website.

How to apply to companies.
Don’t apply directly on company website(Big mistake)
Send resumes to hr directly(u will get their mails on some posts on LinkedIn)
Ask referral on LinkedIn.
Update Naukri daily 9am and put notice period to 30 or 15days.

Skills evaluated in this interview

HCLTech Interview FAQs

How many rounds are there in HCLTech Automation Lead interview?
HCLTech interview process usually has 3 rounds. The most common rounds in the HCLTech interview process are Technical and One-on-one Round.
How to prepare for HCLTech Automation Lead interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at HCLTech. The most common topics and skills that interviewers at HCLTech expect are Automation Testing, Selenium, Agile, Alm and Automation.
What are the top questions asked in HCLTech Automation Lead interview?

Some of the top questions asked at the HCLTech Automation Lead interview -

  1. Again 1 program coding and selenium questions and Java questions.framework and ...read more
  2. Normal HR round .salary and location discussions..after 3-4 days they rolled ou...read more
  3. Selenium and Java questions..coding question...read more

Tell us how to improve this page.

Join HCLTech Find your spark and discover what drives you forward

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.3k Interviews
Accenture Interview Questions
3.9
 • 8.1k Interviews
Infosys Interview Questions
3.7
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.5k Interviews
Capgemini Interview Questions
3.8
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.9
 • 3k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
HCLTech Automation Lead Salary
based on 20 salaries
₹9.8 L/yr - ₹27 L/yr
34% more than the average Automation Lead Salary in India
View more details

HCLTech Automation Lead Reviews and Ratings

based on 2 reviews

3.7/5

Rating in categories

1.7

Skill development

4.3

Work-life balance

1.7

Salary

4.3

Job security

3.7

Company culture

1.7

Promotions

3.7

Work satisfaction

Explore 2 Reviews and Ratings
Software Engineer
22.8k salaries
unlock blur

₹1.2 L/yr - ₹8 L/yr

Technical Lead
20.9k salaries
unlock blur

₹6.9 L/yr - ₹25 L/yr

Senior Software Engineer
15.6k salaries
unlock blur

₹4 L/yr - ₹16.6 L/yr

Lead Engineer
14.8k salaries
unlock blur

₹4.2 L/yr - ₹14 L/yr

Analyst
14k salaries
unlock blur

₹1.3 L/yr - ₹6.7 L/yr

Explore more salaries
Compare HCLTech with

TCS

3.7
Compare

Wipro

3.7
Compare

Accenture

3.9
Compare

Cognizant

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview