Premium Employer

HCLTech

3.5
based on 35.8k Reviews
Filter interviews by

10+ Arrowcon Energy Interview Questions and Answers

Updated 30 Nov 2024
Popular Designations

Q1. how to handle if element xpath is different in ios and android apps

Ans.

Use platform-specific locators or conditional statements to handle different element xpaths in iOS and Android apps.

  • Use platform-specific locators like accessibility id for iOS and resource id for Android

  • Implement conditional statements to switch between different xpaths based on the platform

  • Utilize Appium's platformName capability to identify the platform and adjust the element xpath accordingly

Add your answer

Q2. "Hello world" java program to print the count of letter 'l'

Ans.

A Java program to count the occurrences of the letter 'l' in the string 'Hello world'.

  • Create a Java program with a main method.

  • Initialize a String variable with the value 'Hello world'.

  • Use a loop to iterate through each character in the string and count the occurrences of the letter 'l'.

  • Print the count of 'l' at the end.

Add your answer

Q3. what is the diff between comparator and comparable

Ans.

Comparator is an interface used to sort objects, while Comparable is an interface used to compare objects for natural ordering.

  • Comparator is used to define custom sorting logic for objects, while Comparable is used for natural ordering based on the class's implementation of compareTo() method.

  • Comparator can be used to sort objects of different classes, while Comparable is implemented within the class itself.

  • Example: Sorting a list of custom objects based on a specific attribu...read more

Add your answer

Q4. how to handle notifications in mobile automation

Ans.

Handle notifications in mobile automation by using automation tools to interact with notifications, verify content, dismiss or respond to them.

  • Use automation tools like Appium or Espresso to interact with notifications

  • Verify the content of notifications by extracting text or images

  • Dismiss notifications to continue with test execution

  • Respond to notifications if required for test scenarios

  • Handle different types of notifications such as push notifications, in-app notifications, ...read more

Add your answer
Discover Arrowcon Energy interview dos and don'ts from real experiences

Q5. what is pom.xml and how to mention dependencies

Ans.

pom.xml is a configuration file used in Maven projects to define project settings and dependencies.

  • pom.xml stands for Project Object Model XML

  • It is used in Maven projects to manage project configuration, build settings, and dependencies

  • Dependencies are mentioned inside the <dependencies> tag in pom.xml

  • Each dependency is specified with <groupId>, <artifactId>, and <version>

Add your answer

Q6. How to improve the performance of bottom performers.

Ans.

Identify root cause, provide training, set clear expectations, offer support and feedback.

  • Identify the root cause of poor performance

  • Provide training and development opportunities

  • Set clear expectations and goals

  • Offer support and feedback regularly

  • Consider reassigning tasks or roles if necessary

Add your answer

Q7. "Hello world" java program to print output as "olleH dlrow"

Ans.

Reverse the characters of each word in a given string

  • Split the input string into an array of words

  • Reverse each word in the array

  • Join the reversed words back into a single string

Add your answer

Q8. what is lamda expression

Ans.

Lambda expression is a concise way to represent an anonymous function in programming languages.

  • Lambda expressions are used to create small, inline functions without a formal definition.

  • They are commonly used in functional programming languages like Python, Java, and C#.

  • Lambda expressions can be used to simplify code and make it more readable.

  • Example: (x, y) -> x + y is a lambda expression that takes two parameters and returns their sum.

Add your answer

Q9. what is contructor chaining

Ans.

Constructor chaining is the process of calling one constructor from another constructor in a class.

  • Allows reusing code and avoiding duplication

  • Can be achieved using 'this' keyword in the constructor

  • Helps in initializing objects with different parameters

Add your answer

Q10. different TestNG annotations and order

Ans.

TestNG annotations include @Test, @BeforeMethod, @AfterMethod, @BeforeClass, @AfterClass, @BeforeSuite, @AfterSuite

  • @Test - denotes a test method

  • @BeforeMethod - runs before each test method

  • @AfterMethod - runs after each test method

  • @BeforeClass - runs before the first test method in the current class

  • @AfterClass - runs after the last test method in the current class

  • @BeforeSuite - runs before all tests in the suite

  • @AfterSuite - runs after all tests in the suite

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Arrowcon Energy

based on 3 interviews
Interview experience
3.3
Average
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Quality Analyst Interview Questions from Similar Companies

3.5
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter