Filter interviews by
Database connection in UFT can be established using ADO or ODBC.
Use ADO or ODBC connection string to connect to the database
Create a connection object and open the connection
Execute SQL queries using the connection object
Close the connection after use
To read text from Excel file, use a library like Apache POI or OpenCSV.
Use a library like Apache POI or OpenCSV to read Excel files
Identify the sheet and cell containing the text to be read
Extract the text using the appropriate method
Store the text in an array of strings
Reverse a string without using strRev function.
Create an empty string to store the reversed string.
Loop through the original string from the end to the beginning.
Append each character to the empty string.
Return the reversed string.
Alternatively, convert the string to an array of characters, reverse the array, and then join the characters back into a string.
Debugging UFT scripts involves identifying and resolving errors in the code.
Use the UFT Debug Viewer to step through the script and identify errors
Check the application under test for any issues that may be causing errors
Use breakpoints to pause the script at specific points and examine variables
Review the UFT log files for error messages and stack traces
Use the UFT Object Spy to verify object properties and identify a
I applied via Naukri.com and was interviewed before Sep 2021. There were 3 interview rounds.
What people are saying about HCL Group
I applied via Company Website and was interviewed in Jun 2024. There were 2 interview rounds.
Yes, constructors are non-static methods used to initialize objects of a class.
Constructors are special methods used to initialize objects of a class.
They are non-static, meaning they are called on an instance of the class.
Constructors have the same name as the class and do not have a return type.
Example: public class Test { public Test() { // constructor code } }
To get elements from a drop down, I use Selenium WebDriver's Select class
Use Select class from Selenium WebDriver to interact with drop down elements
Identify the drop down element using its locator
Instantiate a Select object with the drop down element
Use Select object's methods like selectByVisibleText(), selectByValue(), selectByIndex() to choose an option
Select is a class in Selenium WebDriver.
Select is used for handling dropdowns in Selenium WebDriver.
It provides methods to select options by visible text, value, or index.
Example: Select dropdown = new Select(driver.findElement(By.id("dropdown")));
Example: dropdown.selectByVisibleText("Option 1");
To read data from Excel, use libraries like Apache POI or Openpyxl in Python.
Use libraries like Apache POI or Openpyxl in Python to read data from Excel files
Identify the Excel file and specify the sheet and cell from which to read data
Use appropriate methods provided by the library to extract data from the specified cell or range
I have used various types of test automation frameworks including data-driven, keyword-driven, and behavior-driven frameworks.
Data-driven framework: Used to separate test data from test scripts, allowing for easier maintenance and scalability. Example: TestNG with Excel or CSV files.
Keyword-driven framework: Utilizes keywords to represent actions or operations, making test scripts more readable and reusable. Example: R...
Array is a fixed-size data structure while ArrayList is a dynamic-size data structure in Java.
Array is a fixed-size data structure in Java, while ArrayList is a dynamic-size data structure.
Arrays can hold primitive data types and objects, while ArrayList can only hold objects.
Arrays require a specified size during initialization, while ArrayList can dynamically resize itself.
Arrays use square brackets [] for declaratio...
Array list stores elements in contiguous memory locations, while linked list stores elements in nodes with pointers to the next node.
Array list allows random access to elements based on index, while linked list requires traversal from the beginning to access elements.
Insertions and deletions are faster in linked list as it only requires updating pointers, while in array list it may require shifting elements.
Array list ...
Challenges in automation include complex test scenarios, maintenance of scripts, and compatibility issues.
Complex test scenarios require thorough planning and execution.
Maintenance of scripts is essential to keep them up-to-date with application changes.
Compatibility issues arise when automation tools do not support all technologies used in the application.
Different types of exceptions include checked, unchecked, runtime, and custom exceptions.
Checked exceptions are checked at compile time and must be handled using try-catch or throws keyword.
Unchecked exceptions are not checked at compile time and can be handled using try-catch or left unhandled.
Runtime exceptions are unchecked exceptions that occur at runtime, such as NullPointerException or ArrayIndexOutOfBoundsExcept...
I use a combination of tools such as Jira, TestRail, and Excel for reporting.
Jira for tracking bugs and issues
TestRail for test case management and execution results
Excel for creating customized reports and data analysis
Assert is used to validate the expected result while verify is used to check the actual result without stopping the execution.
Assert is used to validate the expected result and if the assertion fails, the test is marked as failed and stops execution.
Verify is used to check the actual result against the expected result but does not stop the execution even if the verification fails.
Assert is commonly used for critical ch...
Pushing code to GitHub involves using Git commands to add, commit, and push changes to a remote repository.
Use 'git add .' to stage all changes
Use 'git commit -m 'Your commit message here'' to commit changes
Use 'git push origin master' to push changes to the master branch on GitHub
Selenium is a popular open-source automation testing tool used for web application testing.
Selenium is used for automating web browsers.
It supports multiple programming languages like Java, C#, Python, etc.
Selenium WebDriver is the most commonly used component for writing test scripts.
Selenium IDE is a record and playback tool for creating quick tests.
Selenium Grid is used for parallel testing across different browsers
In Selenium, waits are used to make the automation scripts wait for a certain amount of time before executing the next step.
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.
Fluent Wait: Waits for a condition to be true with a specified polling frequency.
Thread.sleep(): Pauses the execution for a spe
Oops concepts in Java are the principles of Object Oriented Programming such as Inheritance, Polymorphism, Encapsulation, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Allows objects to be treated as instances of their parent class.
Encapsulation: Hides the internal state of an object and only exposes necessary functionality.
Abstraction: Shows only essent...
Program to duplicate elements in array of strings
Iterate through the array and check for duplicate elements
Store duplicate elements in a separate array
Return the array of duplicate elements
Defect tracking is the process of identifying, documenting, prioritizing, and resolving issues or bugs in software.
Defect tracking involves recording details of defects found during testing.
Each defect is assigned a unique identifier for tracking purposes.
Defects are categorized based on severity and priority to determine the order in which they should be fixed.
Defect tracking tools like Jira, Bugzilla, or HP ALM are c...
Regression testing is the process of retesting a software application to ensure that new code changes have not adversely affected existing functionality.
Regression testing is performed after code changes to verify that the existing functionality still works correctly.
It helps in identifying any defects introduced by new code changes.
Automated testing tools are often used for regression testing to save time and effort.
R...
Test scenarios for an elevator to ensure proper functionality and safety
Test the elevator buttons for all floors
Test emergency stop button functionality
Test door opening and closing mechanism
Test elevator capacity by loading it with maximum weight limit
Test response time for elevator arrival at different floors
Code to reverse a string using building function
I applied via Naukri.com and was interviewed in Nov 2022. There were 5 interview rounds.
I have 8 years of experience as a Senior Test Engineer.
I have worked in the software testing industry for 8 years.
I have experience in designing and executing test cases.
I have expertise in test automation using tools like Selenium.
I have worked on various projects and have experience in different testing methodologies.
I have strong problem-solving and analytical skills.
I have experience in leading and mentoring junior
To find xpath, design POM classes and test classes for Senior Test Engineer role.
Use browser developer tools to inspect elements and find xpath
Design POM classes to represent web pages and their elements
Create test classes to write test cases and execute them
Use testing frameworks like TestNG or JUnit for test automation
Use tools like Selenium WebDriver for browser automation
Test scenarios and cases are identified based on requirements and specifications.
Identify functional and non-functional requirements
Create test scenarios based on requirements
Write test cases for each scenario
Include positive and negative test cases
Consider boundary conditions and edge cases
Perform exploratory testing
Use automation tools for repetitive tests
I prefer to work in a location that offers a good work-life balance and opportunities for professional growth.
I value a location that has a strong tech industry and a supportive community of professionals.
A location with a diverse range of industries can provide interesting testing opportunities.
Access to good transportation options and amenities is important for convenience and quality of life.
Consider mentioning any ...
based on 45 reviews
Rating in categories
Software Engineer
3.6k
salaries
| ₹2 L/yr - ₹9.5 L/yr |
Technical Lead
3.4k
salaries
| ₹7 L/yr - ₹25 L/yr |
Senior Software Engineer
2.8k
salaries
| ₹4 L/yr - ₹14.7 L/yr |
Lead Engineer
2.6k
salaries
| ₹4.3 L/yr - ₹13.5 L/yr |
Senior Analyst
2.1k
salaries
| ₹1.6 L/yr - ₹8 L/yr |
HCLTech
TCS
Tata Group
Wipro