i
HCLTech
Filter interviews by
Clear (1)
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Frames in Selenium are handled using switchTo() method to navigate between frames within a webpage.
Use driver.switchTo().frame() method to switch to a frame by index, name, or WebElement
To switch back to the default content, use driver.switchTo().defaultContent()
Nested frames can be handled by switching to parent frame first before switching to child frame
Example: driver.switchTo().frame(0); // Switch to frame by index
Handling windows in automation testing involves identifying and interacting with different types of windows that appear during test execution.
Use window handles to switch between different windows
Identify windows using unique attributes like title or handle
Interact with windows by sending keys or clicking on elements within the window
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Java program to sort an array in ascending order and find fourth highest number in an array without using any built in methods
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
Program to find 2nd highest number in array without sorting.
Iterate through array to find highest and second highest numbers
Initialize variables to store highest and second highest numbers
Compare each element with highest and second highest numbers
Program to add values into a hashmap in Java.
Create a new HashMap object.
Use the put() method to add key-value pairs into the hashmap.
Keys must be unique, values can be duplicated.
Example: HashMap
Main concepts of OOPS in Java include inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class. Example: class B extends class A.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.
Polymorphism: Ability of a method to do different things ba...
Different HTTP codes used in Rest Assured
200 - OK: Request was successful
201 - Created: Request was successful and a new resource was created
400 - Bad Request: Request was invalid
401 - Unauthorized: Request requires user authentication
404 - Not Found: Requested resource was not found
500 - Internal Server Error: Server encountered an unexpected condition
Code using Rest Assured for checking status code
Import Rest Assured library
Use given() method to specify the base URI
Use when() method to specify the HTTP method and endpoint
Use then() method to validate the status code
HCLTech interview questions for designations
In Selenium, OOPs concepts like inheritance, polymorphism, encapsulation, and abstraction can be implemented using classes and objects.
Selenium supports object-oriented programming principles like inheritance, where one class can inherit properties and methods from another class.
Polymorphism can be achieved in Selenium by using method overloading or overriding.
Encapsulation is implemented in Selenium by hiding the inte...
In Selenium, OOPs concept refers to using Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.
Selenium supports OOPs concepts like inheritance, where one class can inherit properties and methods from another class.
Encapsulation is achieved in Selenium by using access modifiers to restrict access to certain methods and variables.
Polymorphism allows Selenium to perform di...
Get interview-ready with Top HCLTech Interview Questions
I applied via Naukri.com and was interviewed in Jan 2021. There were 4 interview rounds.
What people are saying about HCLTech
Yes, I can remove all the pcs from the lab and keep them in another lab right now.
Ensure all the necessary equipment and tools are available for the move
Coordinate with the lab staff to ensure a smooth transition
Label and document each PC for easy identification and setup in the new lab
Ensure proper packaging and handling to prevent any damage during the move
Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.
The first two numbers of the series are always 0 and 1
The next number is the sum of the previous two numbers
The series goes on infinitely: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ...
Pseudo code: 1. Initialize variables a=0, b=1, c=0 2. Print a and b 3. Repeat steps 4-6 until desired number of terms 4. c=a+b 5. Pr
Algorithm for matrix multiplication
Create a result matrix with dimensions of the two input matrices
Iterate through each row and column of the result matrix
For each element in the result matrix, multiply corresponding row in first matrix with corresponding column in second matrix
Add the products obtained in the previous step to get the final value for the element
I worked on a project that involved sentiment analysis of customer reviews using Naive Bayes algorithm.
The project involved collecting customer reviews from various sources.
Preprocessing the data by removing stop words, stemming, and tokenizing.
Used Naive Bayes algorithm for sentiment analysis.
The algorithm was chosen because of its simplicity and effectiveness in text classification tasks.
The accuracy of the model was
Developed a web-based project management system for a construction company.
Used PHP and MySQL for backend development
Implemented user authentication and authorization
Designed a responsive UI using Bootstrap
Integrated Google Maps API for location tracking
Enabled file uploads and downloads for project documents
EXTC and IT are not mutually exclusive fields. My knowledge in EXTC complements my skills in IT.
My knowledge in EXTC gives me a strong foundation in electronics and communication, which are essential in the IT industry.
I have also gained programming skills through my coursework and projects in EXTC.
IT is a rapidly growing field with a lot of opportunities, and I believe my skills and knowledge make me a strong candidat...
Yes, I am open to relocation for the right opportunity.
I am willing to relocate for a position that aligns with my career goals
I am excited about the prospect of exploring a new city and culture
I am flexible and adaptable to new environments
I am familiar with several programming languages.
Java
Python
C++
JavaScript
SQL
A leader inspires and motivates while a manager plans and organizes.
Leaders focus on the big picture while managers focus on details
Leaders lead by example while managers delegate tasks
Leaders inspire and motivate while managers enforce rules and policies
Leaders are visionaries while managers are implementers
Examples of leaders: Steve Jobs, Martin Luther King Jr. Examples of managers: Tim Cook, COO of Apple
Yes, I am open to relocation for the right opportunity.
I am willing to relocate for the right job opportunity
I am open to exploring new places and cultures
I understand that relocation may come with challenges, but I am prepared to face them
I am excited about the prospect of starting fresh in a new location
I'm sorry, I don't have that information.
N/A
The TCS aptitude test was challenging but fair.
The test covered a wide range of topics including math, logic, and English.
The questions were designed to test problem-solving skills and critical thinking.
Time management was crucial as there were many questions to answer in a limited time.
Overall, the test was a good indicator of one's aptitude for software engineering.
I am a software engineer with 5 years of experience in developing web applications using Java, Spring Boot, and Angular.
5 years of experience in software development
Proficient in Java, Spring Boot, and Angular
Strong problem-solving skills
MindTree's focus on innovation, culture of learning, and diverse opportunities make it an ideal fit for my career growth.
Strong focus on innovation and cutting-edge technologies
Culture of continuous learning and development
Diverse opportunities for growth and career advancement
I am currently focusing on gaining practical experience in the software engineering field, but I may consider pursuing higher studies in the future.
Currently focusing on gaining practical experience in software engineering
Open to considering higher studies in the future
Higher studies could include a Master's degree in Computer Science or related field
based on 7 interviews
1 Interview rounds
based on 38 reviews
Rating in categories
Software Engineer
23.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
21.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
15.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Lead Engineer
15k
salaries
| ₹0 L/yr - ₹0 L/yr |
Analyst
14.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Wipro
Accenture
Cognizant