Upload Button Icon Add office photos

Filter interviews by

ContactWise Powershell Automation Engineer Interview Questions and Answers

Updated 29 Sep 2022

ContactWise Powershell Automation Engineer Interview Experiences

1 interview found

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. Loop related questions
  • Q2. Exception handling, hash, dictionary

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident while answering the questions. Answer the questions only you know the answer otherwise you can say 'I don't have idea' or 'I didn't get chance to explore it'.

Interview questions from similar companies

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(6 Questions)

  • Q1. Write a code for febonacci series
  • Q2. Dynamic webElements handling using Xpath?
  • Q3. What is spike in agile?
  • Q4. Difference between agile and waterfall based model?
  • Q5. Sprint point system? Explain?
  • Q6. Payment failure by debit card in e-commerce site? Make test scenarios?
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Dec 2024.

Round 1 - Technical 

(7 Questions)

  • Q1. Write code to implement and explicit wait in Selenium
  • Q2. Write code to implement Robot class in java
  • Q3. How would you locate the Xpath for the "Today's Deal" menu item on Amazon
  • Q4. What will be the memory allocation for the code String str1 = "Automation"; String str2 = new String("Automation");
  • Q5. What is the difference between str1==str2 and str1.equals(str2)
  • Q6. Meaning of status code 401 and 502
  • Q7. Print first 4 letter and last 4 letter of String str="www.amazon.com"
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(9 Questions)

  • Q1. Difference between absolute and relative Xpath
  • Ans. 

    Absolute Xpath starts from the root element, while relative Xpath starts from any node in the DOM structure.

    • Absolute Xpath starts with a single forward slash (/) and starts selection from the root node.

    • Relative Xpath starts with a double forward slash (//) and starts selection from the current node or any node in the DOM structure.

    • Absolute Xpath is more brittle and prone to breaking if the structure of the page changes...

  • Answered by AI
  • Q2. What would be return if multiple tabs are open
  • Ans. 

    The return would be the number of tabs open in the browser.

    • The return value would be an integer representing the count of open tabs.

    • For example, if there are 5 tabs open, the return value would be 5.

  • Answered by AI
  • Q3. What are the waits in selenium
  • Ans. 

    Types of waits in Selenium include Implicit Wait, Explicit Wait, and Fluent Wait.

    • 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 in the code.

    • Fluent Wait: Waits for a condition to be true with a defined polling frequency.

    • Example: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

  • Answered by AI
  • Q4. Exceptions in selenium
  • Ans. 

    Exceptions in Selenium are errors that occur during test execution, disrupting the flow of the test script.

    • Exceptions are thrown when there is an unexpected behavior in the application under test or in the test script itself.

    • Common exceptions in Selenium include NoSuchElementException, ElementNotVisibleException, TimeoutException, and StaleElementReferenceException.

    • Handling exceptions in Selenium can be done using try-...

  • Answered by AI
  • Q5. What is feature and step definitions in cucumber BDD
  • Ans. 

    Feature files contain high-level description of the functionality to be tested, while step definitions are the implementation of the steps in the feature file using code.

    • Feature files are written in Gherkin syntax and describe the behavior of the application in plain text.

    • Step definitions are written in programming languages like Java, Ruby, etc., and map the steps in the feature file to automation code.

    • Feature files a...

  • Answered by AI
  • Q6. How to input data in cucumber
  • Ans. 

    Data can be input in Cucumber using feature files and step definitions.

    • Data can be input in feature files using scenarios and scenario outlines

    • Step definitions can be used to define the actions to be taken with the input data

    • Data tables can be used in feature files to input structured data

    • Examples keyword can be used in scenario outlines to provide multiple sets of input data

  • Answered by AI
  • Q7. Basic Java questions like access modifiers, method overloading and overriding
  • Q8. What is Test case, Test plan and Test Secenarios
  • Ans. 

    Test case is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements. Test plan is a document outlining the scope, approach, resources, and schedule of testing activities. Test scenarios are detailed descriptions of possible interactions with the system.

    • Test case: specific conditions to be tested, expected results, steps to execute

    • Test plan: overall strate...

  • Answered by AI
  • Q9. Hooks in Java
  • Ans. 

    Hooks in Java are methods that allow subclasses to override or extend the behavior of a superclass.

    • Hooks are commonly used in frameworks like JUnit and TestNG for test automation.

    • They are often used for setup and teardown operations before and after test methods.

    • Examples include @Before, @After, @BeforeClass, and @AfterClass annotations in JUnit.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - The second round interview was quite challenging, with numerous questions focused on core Java topics such as data structures and linked lists. It felt less like a testing interview and more akin to a developer interview.

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Technical 

(10 Questions)

  • Q1. What is the output of below code class Animal{ Animal(){ System.out.println("animal is created") } class Dog extends Animal{ Dog(){ System.out.println("Dog is created")} class TestSuper4{ pub...
  • Ans. 

    The output of the code will be 'animal is created' followed by 'Dog is created'.

    • The code defines a class Animal with a constructor that prints 'animal is created'.

    • It also defines a class Dog that extends Animal, with a constructor that prints 'Dog is created'.

    • In the main method, an instance of Dog is created, which will trigger the constructors of both Animal and Dog classes.

  • Answered by AI
  • Q2. Output of this : System.out.println(10+20+"Hello"+30+40) - Explain
  • Q3. Output of this : String name="Hello"; name=name+"There"; system.out.println(name)
  • Ans. 

    The output will be 'HelloThere'

    • Concatenation of 'Hello' and 'There' results in 'HelloThere'

    • The final string is printed using System.out.println()

  • Answered by AI
  • Q4. StringBuffer buffer=new StringBuffer("Hello") buffer.append("There"); System.out.println(buffer);
  • Ans. 

    The code creates a StringBuffer object with 'Hello' and appends 'There' to it before printing the final string.

    • StringBuffer is mutable, so the original 'Hello' string can be modified

    • The append() method adds the specified string to the end of the buffer

    • The final output will be 'HelloThere'

  • Answered by AI
  • Q5. Which is valid or invalid a. ChromeDriver driver=new ChromeDriver(); b. WebDriver driver=new ChromeDriver(); c. WebDriver driver2=new WebDriver(); driver2=new ChromeDriver();
  • Ans. 

    Option a is valid, option b is valid, option c is invalid.

    • Option a is valid because ChromeDriver is a subclass of WebDriver, so it can be assigned to a WebDriver reference.

    • Option b is valid because ChromeDriver is a subclass of WebDriver, so it can be instantiated using a WebDriver reference.

    • Option c is invalid because WebDriver is an interface and cannot be instantiated directly. It can only be used as a reference typ

  • Answered by AI
  • Q6. Program to sort the input in descending order without using inbuild method/functions
  • Ans. 

    Sort input array of strings in descending order without using inbuilt functions

    • Iterate through the array and compare each element with the rest to find the largest element

    • Swap the largest element with the first element, then repeat the process for the remaining elements

    • Continue this process until the array is sorted in descending order

  • Answered by AI
  • Q7. Difference between findElement and findElements
  • Ans. 

    findElement returns the first matching element on the page, while findElements returns a list of all matching elements.

    • findElement returns a single WebElement matching the locator provided

    • findElements returns a list of WebElements matching the locator provided

    • findElement will throw NoSuchElementException if no element is found, while findElements will return an empty list

  • Answered by AI
  • Q8. Difference between getwindowhandle and getwindowhandles() and what is output type
  • Ans. 

    getwindowhandle returns the handle of the current window, getwindowhandles() returns handles of all open windows

    • getwindowhandle returns a single window handle, while getwindowhandles() returns a set of window handles

    • getwindowhandle is used to switch between windows in Selenium WebDriver

    • Output type of getwindowhandle is String, while output type of getwindowhandles() is Set

Answered by AI
  • Q9. Question on finding the xpaths on website
  • Q10. Difference between String and StringBuilder?
  • Ans. 

    String is immutable, while StringBuilder is mutable and more efficient for concatenating strings.

    • String is immutable, meaning its value cannot be changed once it is created.

    • StringBuilder is mutable, allowing for modifications to the string without creating a new object.

    • StringBuilder is more efficient for concatenating multiple strings as it does not create new objects each time.

    • Example: String str = "Hello"; StringBuil

  • Answered by AI

    Skills evaluated in this interview

    Interview experience
    5
    Excellent
    Difficulty level
    Easy
    Process Duration
    Less than 2 weeks
    Result
    Selected Selected

    I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.

    Round 1 - One-on-one 

    (7 Questions)

    • Q1. Appium architecture
    • Q2. Java oops concepts n where did u apply that in automation framework
    • Ans. 

      Java OOPs concepts are used in automation framework design for better code organization and reusability.

      • Encapsulation: Used to hide the internal implementation details of classes and provide access through methods.

      • Inheritance: Allows for code reuse by creating parent-child relationships between classes.

      • Polymorphism: Enables methods to behave differently based on the object they are called on.

      • Abstraction: Helps in defin...

    • Answered by AI
    • Q3. How to handle otp
    • Ans. 

      OTP can be handled by generating, sending, and verifying it in automated tests.

      • Generate OTP using a random number generator

      • Send OTP to the user via email, SMS, or any other communication channel

      • Verify OTP entered by the user against the generated OTP

    • Answered by AI
    • Q4. How start appium in automation
    • Ans. 

      To start Appium in automation, you need to install Appium server, set up desired capabilities, and run the server.

      • Install Appium server using npm install -g appium

      • Set up desired capabilities in your test script

      • Start the Appium server using the command appium

    • Answered by AI
    • Q5. What are the types of mobile apps
    • Ans. 

      Types of mobile apps include native apps, web apps, and hybrid apps.

      • Native apps are developed for specific platforms like iOS or Android

      • Web apps are accessed through a web browser and do not need to be downloaded from an app store

      • Hybrid apps combine elements of both native and web apps

      • Examples include Instagram (native), Twitter (web), and Uber (hybrid)

    • Answered by AI
    • Q6. Program to remove duplicate letters in a string
    • Ans. 

      Program to remove duplicate letters in a string

      • Iterate through the string and keep track of seen characters in a set

      • Append characters to a new string only if they are not already in the set

      • Return the new string without duplicate letters

    • Answered by AI
    • Q7. How to perform swipe action in mobile devices
    • Ans. 

      Swipe action in mobile devices can be performed using swipe() method in Appium or TouchAction class in Selenium.

      • Use swipe() method in Appium to perform swipe action in mobile devices

      • Alternatively, use TouchAction class in Selenium for swipe action

      • Specify the start and end coordinates for the swipe action

      • Adjust the duration and speed of the swipe as needed

    • Answered by AI

    Skills evaluated in this interview

    Interview experience
    4
    Good
    Difficulty level
    Moderate
    Process Duration
    Less than 2 weeks
    Result
    Not Selected

    I applied via Company Website and was interviewed in Oct 2024. There was 1 interview round.

    Round 1 - Technical 

    (4 Questions)

    • Q1. Write java program to print sum of digits from a given string eg: "abcd23"
    • Ans. 

      Java program to print sum of digits from a given string

      • Iterate through each character in the string

      • Check if the character is a digit using Character.isDigit() method

      • Convert the digit character to integer using Character.getNumericValue() method

      • Sum up all the digits found in the string

    • Answered by AI
    • Q2. Explain oops concepts used in your framework with example?
    • Ans. 

      OOPs concepts used in the framework include inheritance, polymorphism, encapsulation, and abstraction.

      • Inheritance is used to create a parent-child relationship between classes. For example, a base class 'Page' can be inherited by 'HomePage' and 'LoginPage' classes.

      • Polymorphism allows objects of different classes to be treated as objects of a common superclass. For instance, a 'click' method can be implemented different...

    • Answered by AI
    • Q3. Explain polymorphism
    • Ans. 

      Polymorphism is the ability of a single function or method to operate on different types of data.

      • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

      • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

      • Example of compile-time polymorphism: function overloading in Java.

      • Example of runtime polymorphism: method overriding in Java

    • Answered by AI
    • Q4. Java program to print the sum of elements in string array eg: String[] arr = {"1","2","3"}
    • Ans. 

      Java program to print the sum of elements in a string array.

      • Convert each element in the string array to an integer using Integer.parseInt()

      • Sum up all the integers to get the total sum

    • Answered by AI

    Skills evaluated in this interview

    Interview experience
    5
    Excellent
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Technical 

    (3 Questions)

    • Q1. Scenario based on filter table
    • Q2. Find rolling total without reset
    • Ans. 

      Calculate rolling total without resetting at specified interval

      • Use DAX formula with functions like CALCULATE, FILTER, and EARLIER

      • Create a measure that calculates the running total based on the current and previous rows

      • Consider using variables to store intermediate results for efficiency

    • Answered by AI
    • Q3. Shift one cell Down in table using dax
    • Ans. 

      Use DAX function to shift one cell down in a table

      • Use the LAG function in DAX to shift values down in a column

      • Specify the number of rows to shift as a parameter in the LAG function

      • Example: LAG([Column], 1) will shift values in 'Column' down by one row

    • Answered by AI

    Skills evaluated in this interview

    Interview experience
    3
    Average
    Difficulty level
    -
    Process Duration
    -
    Result
    -
    Round 1 - Technical 

    (2 Questions)

    • Q1. List, lambda function, reverse string program
    • Q2. Sort the list, dictionary
    Round 2 - Technical 

    (1 Question)

    • Q1. OOP concept, Decorator, list to dictionary, Linux
    Interview experience
    5
    Excellent
    Difficulty level
    Moderate
    Process Duration
    2-4 weeks
    Result
    No response
    Round 1 - Technical 

    (2 Questions)

    • Q1. Wat is cardinality
    • Ans. 

      Cardinality refers to the uniqueness of values in a column or relationship.

      • Cardinality is the number of unique values in a column or relationship.

      • High cardinality means a column has many unique values, while low cardinality means few unique values.

      • For example, a column like 'Customer ID' may have high cardinality, while 'Gender' may have low cardinality.

    • Answered by AI
    • Q2. Challenges faced
    Round 2 - One-on-one 

    (1 Question)

    • Q1. Write SQL query
    • Ans. 

      SQL query to retrieve data from a table

      • Use SELECT statement to specify columns to retrieve

      • Use FROM statement to specify the table to retrieve data from

      • Use WHERE statement to filter the data based on conditions

    • Answered by AI

    Skills evaluated in this interview

    ContactWise Interview FAQs

    How many rounds are there in ContactWise Powershell Automation Engineer interview?
    ContactWise interview process usually has 2 rounds. The most common rounds in the ContactWise interview process are Resume Shortlist and Technical.
    What are the top questions asked in ContactWise Powershell Automation Engineer interview?

    Some of the top questions asked at the ContactWise Powershell Automation Engineer interview -

    1. Exception handling, hash, diction...read more
    2. Loop related questi...read more

    Tell us how to improve this page.

    Interview Questions from Similar Companies

    TCS Interview Questions
    3.7
     • 10.4k Interviews
    Accenture Interview Questions
    3.8
     • 8.2k Interviews
    Infosys Interview Questions
    3.6
     • 7.6k Interviews
    Wipro Interview Questions
    3.7
     • 5.6k Interviews
    Cognizant Interview Questions
    3.8
     • 5.6k Interviews
    Amazon Interview Questions
    4.1
     • 5k Interviews
    Capgemini Interview Questions
    3.7
     • 4.8k Interviews
    Tech Mahindra Interview Questions
    3.5
     • 3.8k Interviews
    HCLTech Interview Questions
    3.5
     • 3.8k Interviews
    Genpact Interview Questions
    3.8
     • 3.1k Interviews
    View all
    Compare ContactWise with

    TCS

    3.7
    Compare

    Accenture

    3.8
    Compare

    Wipro

    3.7
    Compare

    Cognizant

    3.8
    Compare
    Did you find this page helpful?
    Yes No
    write
    Share an Interview