i
GlobalLogic
Filter interviews by
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
Cucumber hooks are blocks of code that run before or after each scenario in Cucumber tests.
Cucumber hooks allow for setup and teardown actions before and after scenarios
They can be used to perform actions like opening a browser before a scenario and closing it after
Hooks can be defined at different levels such as global, scenario, or feature level
Program to store characters of a string in an arraylist and print it.
Create an ArrayList to store characters
Iterate through the string and add each character to the ArrayList
Print the ArrayList
A dry run is a rehearsal or practice of a process or procedure to ensure it works correctly without actually executing it.
Dry run is a simulation of a process or procedure to identify any potential issues before actual execution.
It helps in testing the logic and flow of a program without actually running it.
Commonly used in software testing to ensure the code functions as expected.
Can also be used in manufacturing to t...
TDD focuses on testing the functionality of individual units of code, while BDD focuses on testing the behavior of the system as a whole.
TDD stands for Test-Driven Development, where tests are written before the code is implemented to drive the development process.
BDD stands for Behavior-Driven Development, where tests are written in a human-readable format to describe the behavior of the system.
TDD is more focused on ...
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Selenium is a widely used open-source tool for web automation testing, while Cypress is a newer tool known for its fast and reliable testing capabilities.
Selenium is more established and has a larger community support
Cypress is known for its fast test execution times
Cypress has built-in support for modern web technologies like React and Angular
Selenium supports multiple programming languages like Java, Python, and C#
Cy...
Cypress can be installed using npm package manager.
Install Node.js if not already installed
Open terminal and run 'npm install cypress'
Once installation is complete, run 'npx cypress open' to open Cypress Test Runner
Reverse a string in Javascript
Use the split() method to convert the string into an array of characters
Use the reverse() method to reverse the order of the characters
Use the join() method to convert the array back into a string
I applied via Naukri.com and was interviewed in Nov 2020. There was 1 interview round.
GlobalLogic interview questions for designations
Top trending discussions
posted on 5 Jun 2024
Reverse a given string
Create a new string and iterate through the original string in reverse order, appending each character to the new string
Use built-in functions like reverse() or StringBuilder in languages like Java
In Python, you can use string slicing [::-1] to reverse the string
A program to find palindromes in a given array of strings.
Iterate through each string in the array
Check if the string is equal to its reverse to determine if it is a palindrome
Store palindromes in a separate array for output
Example: Input - ['madam', 'hello', 'level'], Output - ['madam', 'level']
I have experience using Selenium WebDriver framework for automated testing.
Utilized Selenium WebDriver for writing automated test scripts
Implemented Page Object Model design pattern for better test maintenance
Integrated with TestNG for test execution and reporting
I applied OOPS concepts in my framework by using inheritance, encapsulation, polymorphism, and abstraction to create reusable and modular code.
Used inheritance to create parent classes with common functionality that child classes can inherit.
Implemented encapsulation by hiding internal implementation details and exposing only necessary methods and properties.
Leveraged polymorphism to allow objects of different classes ...
posted on 24 Sep 2024
Packet flow in routers involves data transmission through different layers of the OSI model.
Packet flow starts at the network layer where packets are routed based on IP addresses.
Packets then move to the data link layer where MAC addresses are used for communication.
Finally, packets are transmitted physically through the network interface.
OSI model consists of 7 layers: Physical, Data Link, Network, Transport, Session,
I applied via Walk-in and was interviewed in Mar 2024. There was 1 interview round.
Code to print prime numbers
Iterate through numbers and check if each number is prime
Use a nested loop to check divisibility by numbers less than the current number
Print the number if it is prime
based on 3 interviews
1 Interview rounds
based on 13 reviews
Rating in categories
Associate Analyst
3.9k
salaries
| ₹1 L/yr - ₹7.2 L/yr |
Senior Software Engineer
3.3k
salaries
| ₹5.2 L/yr - ₹22 L/yr |
Analyst
3.1k
salaries
| ₹1 L/yr - ₹5.5 L/yr |
Software Engineer
3k
salaries
| ₹3 L/yr - ₹13 L/yr |
Associate Consultant
2.8k
salaries
| ₹9.2 L/yr - ₹33.9 L/yr |
TCS
Wipro
Infosys
HCLTech