Ness Digital Engineering
40+ Infor Global Solution Interview Questions and Answers
Q1. What are package.json consists of and what are dependencies and dev dependencies
package.json is a file that contains metadata about a project and its dependencies.
package.json is used in Node.js projects to manage dependencies
Dependencies are packages required for the project to run
Dev dependencies are packages required for development and testing
Dependencies and dev dependencies are listed separately in package.json
Example: "dependencies": {"express": "^4.17.1"}, "devDependencies": {"nodemon": "^2.0.7"}
Q2. Program to find no. of repeating characters in given string (use collections)
Program to find the number of repeating characters in a given string using collections.
Use a HashMap to store the characters as keys and their count as values.
Iterate through the string and update the count in the HashMap for each character.
Finally, iterate through the HashMap and count the characters with a count greater than 1.
Q3. Second largest number in an array
Find the second largest number in an array of strings
Convert the array of strings to an array of integers
Sort the array in descending order
Return the second element in the sorted array
Q4. How to execute feature file in parallel in BDD Cucumber Framework
To execute feature files in parallel in BDD Cucumber Framework, we can use tools like Maven Surefire plugin or Cucumber-JVM-Parallel-Plugin.
Use Maven Surefire plugin to run tests in parallel by adding
and tags in pom.xml file Use Cucumber-JVM-Parallel-Plugin to run tests in parallel by adding @CucumberOptions(plugin = {"json:target/cucumber-report/cucumber.json", "com.github.temyers:cucumber-jvm-parallel-plugin:5.0.0"}, threads = 3) annotation in the runner class
Ensure that ...read more
Q5. Write selenium automation code for login yatra.com and add to cart
Selenium code to login and add to cart on yatra.com
Launch the yatra.com website
Enter login credentials and click on login button
Search for desired product and add to cart
Verify the product is added to cart
Q6. How do you create ROLE BASED SECURITY through SSAS
Role based security can be created in SSAS by defining roles and assigning permissions to them.
Create roles in SSAS and define permissions for each role
Assign users or groups to each role
Use Windows authentication or custom authentication to manage access to roles
Test the security model thoroughly to ensure it is working as expected
Q7. DAX, different types of Functions in DAX, table dax functions
DAX is a formula language used in Power BI. It has different types of functions including table DAX functions.
DAX stands for Data Analysis Expressions
DAX functions can be categorized into different types such as aggregation, time intelligence, filter, etc.
Table DAX functions are used to manipulate tables in Power BI
Examples of table DAX functions include FILTER, SUMMARIZE, ADDCOLUMNS, etc.
Q8. What is Interface. What are the interface in selenium
An interface is a contract between two entities defining the communication between them. In Selenium, interfaces are used to define the behavior of web elements.
An interface defines a set of methods that a class implementing it must implement
In Selenium, the WebElement interface is used to interact with web elements on a page
Other interfaces in Selenium include WebDriver, TakesScreenshot, and JavascriptExecutor
Interfaces allow for abstraction and modularity in code
Q9. How to handle Multiple popups in selenium?
To handle multiple popups in Selenium, we can use getWindowHandles() and switchTo() methods.
Use getWindowHandles() method to get all the window handles
Switch to the desired window using switchTo() method
Perform actions on the popup window
Switch back to the main window using switchTo() method
Q10. How to get all the options in a DropDown?
To get all options in a dropdown, use the getOptions() method and store the values in an array of strings.
Locate the dropdown element using any of the locators
Create a Select class object by passing the dropdown element as a parameter
Use the getOptions() method to get all the options in the dropdown
Store the options in an array of strings
Q11. Character frequency counting using different methods.
Character frequency counting can be done using methods like hashmap, array, or sorting.
Use hashmap to store characters as keys and their frequencies as values.
Use an array to store frequencies of each character based on their ASCII values.
Sort the input string and count consecutive characters to find frequencies.
Q12. Define O2C process
O2C process stands for Order to Cash process, which involves all the steps from receiving an order to receiving payment.
O2C process starts with receiving an order from a customer.
It involves order processing, invoicing, and fulfillment of the order.
The final step is receiving payment from the customer.
It is a crucial process for businesses to ensure timely delivery and payment.
Example: An e-commerce company following O2C process for online orders.
Q13. What is main function in Java
Main function in Java is the entry point of any Java program.
Main function is declared as public static void main(String[] args)
It is the starting point of execution for any Java program
All the code inside main function is executed sequentially
Example: public static void main(String[] args) { System.out.println("Hello World!"); }
Q14. What is the Page Object Model
Page Object Model is a design pattern used in test automation to create an object repository for web UI elements.
It helps in reducing code duplication and improves code maintainability.
Each web page is represented as a separate class and the web elements on the page are defined as variables in the class.
The methods in the class perform actions on the web elements.
It separates the test logic from the page-specific logic.
It makes the tests more readable and easier to maintain.
E...read more
Q15. How to send credentials via URL?
Credentials can be sent via URL by appending them to the URL as query parameters.
Append the username and password as query parameters to the URL
Encode the username and password using Base64 encoding
Example: http://example.com/login?username=admin&password=encoded_password
Q16. how would you approach connection issue with a client and remotely advise them to fix the problem (during covid)
I would use remote access tools to troubleshoot the connection issue with the client and guide them through the steps to fix it.
Initiate a remote session using tools like TeamViewer or AnyDesk to access the client's computer
Identify the root cause of the connection issue by checking network settings, firewall configurations, or internet connectivity
Guide the client through troubleshooting steps such as resetting the router, checking cables, or updating drivers
Provide clear in...read more
Q17. Api testing you know or not
Yes, I am familiar with API testing.
API testing involves testing the functionality, reliability, performance, and security of APIs.
It includes verifying the response data, status codes, headers, and error handling.
Tools like Postman, SoapUI, or cURL can be used for API testing.
Examples of API testing include testing RESTful APIs, web services, and microservices.
Test cases can be created to validate input/output, authentication, authorization, and data integrity.
Q18. How to Scroll page to desired ocation?
To scroll page to desired location, use JavaScriptExecutor and scrollTo() method.
Create an instance of JavaScriptExecutor
Use executeScript() method to execute scrollTo() method
Pass the desired location as arguments to scrollTo() method
Example: ((JavascriptExecutor) driver).executeScript("window.scrollTo(0, document.body.scrollHeight)");
Q19. Difference between Explicit wait and Fluent Wait?
Explicit wait waits for a specific condition while Fluent wait waits for a condition with polling interval.
Explicit wait waits for a specific condition to occur before proceeding further
Fluent wait waits for a condition with a polling interval and ignores exceptions
Explicit wait is used when we know the condition and the maximum time to wait for it
Fluent wait is used when we don't know the maximum time to wait for a condition
Example of explicit wait: WebDriverWait wait = new ...read more
Q20. Dif bwn min,minA,minX and max,maxA,maxX
min, minA, minX, max, maxA, maxX are functions in Power BI used to calculate minimum and maximum values.
min: Returns the smallest value in a column or expression.
minA: Returns the smallest non-null value in a column or expression.
minX: Returns the smallest value in a column or expression, considering a specified filter context.
max: Returns the largest value in a column or expression.
maxA: Returns the largest non-null value in a column or expression.
maxX: Returns the largest v...read more
Q21. What is xpath . type of xpath
XPath is a language used to navigate and select elements in an XML or HTML document.
XPath stands for XML Path Language
It uses path expressions to select nodes or sets of nodes in an XML or HTML document
There are two types of XPath: Absolute and Relative
Absolute XPath starts from the root node and selects the nodes based on the complete path
Relative XPath starts from the current node and selects the nodes based on the path relative to the current node
Q22. how to initialize chrome driver?
To initialize Chrome driver, create an instance of ChromeDriver class.
Create an instance of ChromeDriver class
Set the path of ChromeDriver executable file
Use the instance to interact with the browser
Q23. Tell the process flow flow for resources management
The process flow for resource management involves identifying needs, allocating resources, monitoring usage, and optimizing efficiency.
Identify resource needs based on project requirements
Allocate resources based on availability and skill set
Monitor resource usage to ensure optimal utilization
Optimize resource efficiency through regular evaluation and adjustments
Q24. Write program for reverse string
Program to reverse a string
Create an empty string to store the reversed string
Loop through the original string from end to start
Append each character to the empty string
Return the reversed string
Q25. What is server less architecture ? What is Partition Key in cosmos ? How to connect cosmos db?
Serverless architecture is a cloud computing model where the cloud provider manages the infrastructure and automatically scales resources.
Serverless architecture eliminates the need for managing servers and infrastructure
It allows developers to focus on writing code and deploying applications
Resources are provisioned and scaled automatically based on demand
Examples of serverless services include AWS Lambda, Azure Functions, and Google Cloud Functions
Q26. What is the difference between final, finally, and finalized?
final, finally, and finalized are keywords in Java with different meanings.
final is a keyword used to declare a constant value or to prevent a variable from being modified.
finally is a block used in exception handling to ensure a piece of code is always executed, regardless of whether an exception is thrown or not.
finalized is a method in Java's Object class used for garbage collection, called before an object is destroyed.
Q27. Connectivity modes in power bi
Power BI supports multiple connectivity modes for data sources.
DirectQuery mode allows real-time data access from the source system.
Import mode imports data into Power BI for faster performance.
Live Connection mode connects to an external Analysis Services model.
Power BI Gateway enables on-premises data access.
Power BI Dataflows allows data preparation and transformation in the cloud.
Q28. Rate my self on a scale of 5 for other technologies
I rate myself a 4 out of 5 in other technologies.
Proficient in HTML/CSS
Strong knowledge of JavaScript
Familiar with Node.js and Express.js
Experience with SQL and NoSQL databases
Basic understanding of Python
Q29. Stale element exception and how to handle it
Stale element exception occurs when an element is no longer attached to the DOM. It can be handled by refreshing the page or waiting for the element to become available again.
Refresh the page before interacting with the element
Wait for the element to become available again using explicit or implicit waits
Handle the exception using try-catch block
Q30. Explain oops concepts with real time examples
Object-oriented programming concepts explained with real-time examples.
Encapsulation: A car encapsulates its internal components like engine, gearbox, etc.
Inheritance: A dog inherits traits like barking and wagging tail from its parent class Animal.
Polymorphism: A shape class can have different methods like area() for different shapes like circle, rectangle, etc.
Abstraction: A TV remote abstracts the complex functionality of the TV into simple buttons.
Class: A class defines t...read more
Q31. Polymorphism. type of polymorphism.
Polymorphism is the ability of an object to take on many forms. There are two types: compile-time and runtime.
Compile-time polymorphism is achieved through function overloading and operator overloading.
Runtime polymorphism is achieved through virtual functions and function overriding.
Polymorphism allows for code reusability and flexibility in object-oriented programming.
Example of compile-time polymorphism: function overloading - multiple functions with the same name but diff...read more
Q32. How much is the bench strength
The bench strength is currently at X number of employees.
The bench strength refers to the number of employees available to fill in for any vacancies or unexpected absences.
We currently have X number of employees who are trained and capable of taking on additional responsibilities.
Our bench strength is regularly reviewed and updated to ensure we have adequate coverage.
Examples of bench strength include cross-trained employees, part-time staff, and temporary workers.
Q33. why would you use sap fico over other approaches
SAP FICO offers comprehensive financial management solutions with integration capabilities.
SAP FICO provides real-time financial data for better decision-making
It integrates with other SAP modules for seamless business processes
Offers advanced reporting and analytics tools for financial analysis
Ensures compliance with regulatory requirements
Supports multi-currency and multi-language capabilities
Q34. how async improves performance?
Async improves performance by allowing non-blocking execution of tasks.
Async programming allows multiple tasks to run concurrently, improving overall system throughput.
By avoiding blocking operations, such as waiting for I/O or network requests, other tasks can continue execution.
Async programming can utilize resources more efficiently by reducing idle time.
It enables better responsiveness in user interfaces by not blocking the main thread.
Examples of async programming in act...read more
Q35. What are difeerent types of cds vies?
Different types of CDs views include hierarchical, network, relational, object-oriented, and multidimensional views.
Hierarchical view organizes data in a tree-like structure with parent-child relationships.
Network view allows for multiple parent-child relationships between records.
Relational view represents data in tables with rows and columns.
Object-oriented view treats data as objects with attributes and methods.
Multidimensional view organizes data in multiple dimensions fo...read more
Q36. Get all options from a drop down
Use JavaScript to get all options from a drop down menu
Use document.getElementById() to select the drop down element
Access the options property of the element to get all options
Loop through the options to extract the text values
Q37. Check if a string is a palindrome
Check if a string is a palindrome by comparing characters from start and end.
Create a function that takes a string as input
Use two pointers, one starting from the beginning and one from the end, to compare characters
If all characters match, return true; otherwise, return false
Q38. Find answer using Java 8 stream api
Using Java 8 stream API to find answer for a given question
Use stream() method on a collection to create a stream
Use filter() method to filter elements based on a condition
Use map() method to transform elements
Use reduce() method to perform a reduction operation on the elements
Q39. How to declare API parameter
API parameters are declared in the request URL or body to pass data to the API endpoint.
Declare API parameters in the URL by adding them after the endpoint with a '?' and separating them with '&'
Declare API parameters in the request body for POST requests by sending key-value pairs in JSON format
Example: /api/users?id=123&name=John for URL parameters, {"id": 123, "name": "John"} for request body
Q40. API testing advantage disadvantage
API testing allows for thorough testing of backend functionality but can be complex and time-consuming.
Advantage: Allows for thorough testing of backend functionality
Advantage: Can be automated for efficiency
Disadvantage: Complex and time-consuming to set up and maintain
Disadvantage: Requires knowledge of programming languages and APIs
Disadvantage: Limited ability to test user interface
Q41. Selenium screen shot program
Selenium screen shot program captures screenshots during test execution.
Use Selenium WebDriver to capture screenshots in automated tests
Use getScreenshotAs() method to take screenshots
Save screenshots in a specified location for later analysis
Q42. String reverse program
A program to reverse an array of strings
Iterate through the array of strings and reverse each string individually
Use a temporary variable to swap characters at the beginning and end of each string
Return the reversed array of strings
Q43. Optimization of applciation
Optimization of application involves improving performance and efficiency.
Identify and eliminate unnecessary re-renders by using React.memo or shouldComponentUpdate.
Use code splitting and lazy loading to reduce initial load time.
Optimize network requests by using caching and reducing unnecessary data transfers.
Minimize the use of expensive operations like deep object comparisons or complex calculations in render methods.
Optimize rendering by using virtualization techniques li...read more
Q44. Convert strong to integer
Use atoi() function in C to convert a string to an integer.
Use the atoi() function in C to convert a string to an integer.
Include the
header file to use the atoi() function. Example: int num = atoi("1234"); // num will be 1234
Q45. Challenges faced in automation
Challenges in automation include complexity of systems, lack of standardization, and difficulty in handling edge cases.
Complexity of systems can make it difficult to create robust automation scripts.
Lack of standardization across different tools and technologies can lead to compatibility issues.
Handling edge cases, such as unexpected user inputs or system failures, can be challenging to automate.
Continuous maintenance and updates are required to keep automation scripts releva...read more
Q46. Design parking lot application
Design a parking lot application
Include features like parking space availability, reservation system, payment options
Implement real-time updates on available parking spots
Incorporate a user-friendly interface for easy navigation and booking
Integrate a notification system for reminders and alerts
Utilize a database to store information on parking spots, reservations, and payments
Q47. Methods used for requirement gathering
Q48. responses in webAPI
Using webAPI to retrieve responses
Utilize RESTful APIs to interact with web services
Implement HTTP methods like GET, POST, PUT, DELETE
Handle authentication and authorization for secure access
Q49. Annotations in cds vies
Annotations in CDS views are used to provide additional information about the data model, such as defining associations, specifying constraints, and adding documentation.
Annotations are used to enhance the metadata of CDS views
Annotations can be used to define associations between entities
Annotations can specify constraints on the data model
Annotations can also be used to add documentation to the CDS view
Interview Process at Infor Global Solution
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month