Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Wipro Team. If you also belong to the team, you can get access from here

Wipro Verified Tick

Compare button icon Compare button icon Compare
3.7

based on 50.5k Reviews

Filter interviews by

Wipro Senior Automation Tester Interview Questions and Answers

Updated 29 Nov 2024

Wipro Senior Automation Tester Interview Experiences

1 interview found

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-

I applied via Job Portal

Round 1 - Technical 

(3 Questions)

  • Q1. Reverse String Code
  • Q2. Methods of API testing
  • Ans. 

    API testing involves testing the functionality, reliability, performance, and security of APIs.

    • Testing API endpoints for correct response codes and data

    • Verifying data accuracy and consistency in API responses

    • Testing API security measures such as authentication and authorization

    • Performance testing to ensure APIs can handle expected load

    • Exploratory testing to uncover potential issues

  • Answered by AI
  • Q3. Frameworks and How Given When Then are implemented in BDD framework
  • Ans. 

    Given When Then is implemented in BDD framework by writing scenarios in a structured format to define behavior

    • BDD frameworks like Cucumber use Given When Then to structure scenarios

    • Given describes the initial state of the system

    • When describes the action taken by the user

    • Then describes the expected outcome or result

    • Example: Given a user is logged in, When they click on the 'Logout' button, Then they should be logged out

  • Answered by AI

Skills evaluated in this interview

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-

I applied via Job Portal

Round 1 - Technical 

(1 Question)

  • Q1. Asked About Class Loader Asked about low priority , High priority Bugs in Last project
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via LinkedIn and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Can you explain the Maven build lifecycle?
  • Ans. 

    Maven build lifecycle consists of phases like compile, test, package, install, deploy.

    • Maven build lifecycle consists of three main phases: clean, default, and site.

    • Each phase consists of a series of goals that are executed in a specific order.

    • Some common goals in Maven build lifecycle include compile, test, package, install, and deploy.

    • The clean phase removes all files generated by the previous build.

    • The default phase ...

  • Answered by AI
  • Q2. What is the code to reverse a sentence?
  • Ans. 

    Code to reverse a sentence using array of strings.

    • Split the sentence into an array of words

    • Reverse the array

    • Join the array back into a sentence

  • Answered by AI
  • Q3. What is static block in java?
  • Ans. 

    Static block in Java is a block of code that is executed only once when the class is loaded.

    • Static block is used to initialize static variables of a class.

    • It is executed before the main method.

    • Syntax: static { // code to be executed }

    • Example: static { System.out.println("Static block executed"); }

  • Answered by AI
  • Q4. What is exclude and include in TestNG?
  • Ans. 

    Exclude and include in TestNG are used to specify which test methods to run or skip during test execution.

    • Exclude attribute is used to specify which test methods to skip during test execution

    • Include attribute is used to specify which test methods to run during test execution

    • Both attributes can be used in the testng.xml file or in the @Test annotation

    • Example: @Test(groups = {"smoke"}, excludeGroups = {"regression"})

  • Answered by AI
  • Q5. What is code for reverse a digit?
  • Ans. 

    To reverse a digit, convert it to a string and then reverse the string.

    • Convert the digit to a string

    • Use built-in functions to reverse the string

    • Convert the reversed string back to a digit if needed

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
-

I applied via Walk-in and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(8 Questions)

  • Q1. Can you introduce yourself?
  • Ans. 

    I am a Senior Automation Test Engineer with 5+ years of experience in designing and implementing automated testing frameworks.

    • 5+ years of experience in automation testing

    • Proficient in designing and implementing automated testing frameworks

    • Strong knowledge of testing tools like Selenium, Appium, and JUnit

    • Experience in creating test scripts and executing test cases

    • Ability to analyze test results and identify defects

  • Answered by AI
  • Q2. What is the syntax for using driver.findElement in Selenium?
  • Ans. 

    The syntax for using driver.findElement in Selenium is driver.findElement(By locator)

    • Use driver.findElement(By locator) to locate a single element on the web page

    • Specify the locator strategy (e.g. By.id, By.name, By.xpath) to identify the element

    • Example: WebElement element = driver.findElement(By.id("username"));

  • Answered by AI
  • Q3. What are the different types of assertions, and what is the syntax for a hard assertion in TestNG?
  • Ans. 

    Different types of assertions and syntax for hard assertion in TestNG

    • Types of assertions: Hard assertions and Soft assertions

    • Syntax for hard assertion in TestNG: Assert.assertEquals(expected, actual)

  • Answered by AI
  • Q4. What types of wait mechanisms are utilized in your project?
  • Ans. 

    Types of wait mechanisms include implicit wait, explicit wait, fluent wait, and thread.sleep.

    • 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 specified amount of time.

  • Answered by AI
  • Q5. How do you manage frames in Selenium?
  • Ans. 

    Frames in Selenium can be managed using switchTo() method to navigate between frames.

    • Use driver.switchTo().frame() method to switch to a frame by index, name or WebElement

    • Use driver.switchTo().defaultContent() method to switch back to the main content

    • Use driver.switchTo().parentFrame() method to switch to the parent frame

  • Answered by AI
  • Q6. How do you remove duplicates from an array?
  • Ans. 

    Use a Set data structure to remove duplicates from an array of strings.

    • Create a Set from the array to automatically remove duplicates

    • Convert the Set back to an array to get the unique values

  • Answered by AI
  • Q7. What is the difference between List, Set, and Map collections in Java?
  • Ans. 

    List, Set, and Map are different types of collections in Java used to store and manipulate groups of objects.

    • List is an ordered collection that allows duplicate elements. Example: ArrayList, LinkedList

    • Set is a collection that does not allow duplicate elements. Example: HashSet, TreeSet

    • Map is a collection of key-value pairs where each key is unique. Example: HashMap, TreeMap

  • Answered by AI
  • Q8. What actions would you take if there is a mismatch between user stories and application functionality?
  • Ans. 

    I would analyze the user stories and application functionality to identify the root cause of the mismatch and work towards resolving it.

    • Review the user stories and application functionality to understand the discrepancies

    • Communicate with stakeholders to clarify requirements and expectations

    • Update test cases and automation scripts to align with the corrected user stories

    • Collaborate with developers to address any underly

  • Answered by AI
Round 2 - Technical 

(4 Questions)

  • Q1. What is your relevant experience, and what are your roles and responsibilities in your current company?
  • Ans. 

    I have over 5 years of experience in automation testing, with a focus on creating and executing test scripts for web applications.

    • Developing automation test scripts using tools like Selenium and TestNG

    • Creating test plans and test cases based on requirements

    • Executing test cases and reporting defects

    • Collaborating with developers and QA team to ensure quality of the product

    • Participating in Agile ceremonies such as sprint

  • Answered by AI
  • Q2. Can you provide a specific scenario from your previous project, and detail the feature file step definitions while demonstrating how to run the scenario with different sets of data?
  • Ans. 

    Demonstrating feature file step definitions with different sets of data in a previous project scenario

    • Create a feature file with a scenario outline that includes placeholders for different sets of data

    • Write step definitions that use the placeholders to run the scenario with different data sets

    • Use data tables or examples in the feature file to provide the different sets of data

    • Run the scenario with different data sets t...

  • Answered by AI
  • Q3. What approach can be used to count the number of URLs in an HTML page using Selenium and open the URL that contains your name?
  • Ans. 

    To count URLs in an HTML page using Selenium and open the URL containing your name, you can use a combination of Selenium WebDriver methods and regular expressions.

    • Use Selenium WebDriver to navigate to the HTML page and retrieve its source code

    • Use regular expressions to identify and count the URLs in the source code

    • Iterate through the list of URLs to find the one containing your name

    • Use Selenium WebDriver to open the U

  • Answered by AI
  • Q4. How can you separate letters and digits from a string in Java? Please provide the Java code for this task.
  • Ans. 

    Use regular expressions to separate letters and digits from a string in Java.

    • Use the String class's split() method with a regular expression to separate letters and digits.

    • Create a regular expression pattern that matches either letters or digits.

    • Store the separated letters and digits in separate arrays.

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Automation Test Engineer interview:
  • Java oops
  • Selenium
  • Cucumber
Interview preparation tips for other job seekers - Review fundamental concepts, practice coding daily, and utilize free websites for practice. Be well-versed in the roles and responsibilities of your current or previous projects, and answer confidently.
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
    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
    Easy
    Process Duration
    2-4 weeks
    Result
    Selected Selected

    I was interviewed in May 2024.

    Round 1 - Technical 

    (10 Questions)

    • Q1. Basics of Selenium(Windowhandles,Screenshot,Actions class,Selector Class,) with syntax
    • Q2. Asked to write Automation Framework architecture
    • Q3. What are the different gherkin words
    • Ans. 

      Gherkin words are keywords used in Gherkin syntax for writing test scenarios in Behavior Driven Development (BDD).

      • Feature

      • Scenario

      • Given

      • When

      • Then

      • And

      • But

    • Answered by AI
    • Q4. What we will use in plugin
    • Ans. 

      Plugins are used to extend the functionality of a software application.

      • Plugins are additional software components that can be added to an existing application to provide new features or functionalities.

      • They can be used to customize the behavior of the application without modifying its core code.

      • Examples of plugins include browser extensions, WordPress plugins, and Adobe Photoshop filters.

    • Answered by AI
    • Q5. How to run runner class
    • Ans. 

      To run a runner class, you can use a test runner tool like JUnit or TestNG in your automation testing framework.

      • Use a test runner tool like JUnit or TestNG to execute the runner class

      • Add the @RunWith annotation in JUnit or specify the runner class in TestNG XML file

      • Make sure the runner class includes the necessary setup and teardown methods for test execution

    • Answered by AI
    • Q6. Java oops, strings , exception handling
    • Q7. How to run parallel mode in testng,groups,priority
    • Ans. 

      TestNG allows running tests in parallel mode using groups and priorities.

      • Use 'parallel' attribute in testng.xml file to specify parallel mode (e.g. )

      • Use 'groups' attribute in testng.xml file to group tests that should run in parallel (e.g. )

      • Use 'priority' attribute in testng.xml file to specify the order in which tests should run (e.g.

    • Answered by AI
    • Q8. Write Merge Sort Programme
    • Ans. 

      Merge Sort is a divide and conquer algorithm that divides the input array into two halves, sorts them, and then merges them back together.

      • Divide the array into two halves recursively

      • Sort each half using Merge Sort recursively

      • Merge the sorted halves back together

    • Answered by AI
    • Q9. Write Reverse a string programme
    • Ans. 

      Program to reverse a string using array of characters

      • Create an array of characters from the input string

      • Iterate through the array in reverse order and append each character to a new string

      • Return the reversed string

    • Answered by AI
    • Q10. Write syntax of data driven testing (XSSF Workbook) Syntax
    • Ans. 

      Data driven testing syntax using XSSF Workbook

      • Create XSSFWorkbook object

      • Get the sheet from the workbook

      • Iterate through rows and columns to fetch test data

      • Use test data in your test cases

    • Answered by AI
    Round 2 - Technical 

    (1 Question)

    • Q1. Selenium basics ( window handles , screenshot,reports, file upload and download, Add extension, Headless mode)

    Interview Preparation Tips

    Interview preparation tips for other job seekers - I would say it is easy to crack Service based Companies. Just prepare all the concepts of Selenium, Java,TestNG,Maven,GitHub and basic 20 Programmes.

    For Selenium and BDD(Cucumber)Learn Rahul Shetty Udemy course
    For Java search and learn top 200 interview questions.
    Basic programmes like ( Duplicate characters,reverse string,unique characters, string anagram, Bubble sort , merge sort, quick sort and some more) .

    How I switched from my current company.
    Do’s
    Uninstall social media apps.
    Stop watching movies.
    Stop eating Junk food.
    Study at least 1-2 hours daily.
    Listen motivational songs.
    Make connections on LinkedIn.
    Make single page resume by creating on overleaf website.

    How to apply to companies.
    Don’t apply directly on company website(Big mistake)
    Send resumes to hr directly(u will get their mails on some posts on LinkedIn)
    Ask referral on LinkedIn.
    Update Naukri daily 9am and put notice period to 30 or 15days.

    Skills evaluated in this interview

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

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

    Round 1 - Technical 

    (2 Questions)

    • Q1. What is Hard assert
    • Ans. 

      Hard assert is a type of assertion in test automation that stops the test execution immediately when a failure occurs.

      • Hard assert is used to validate the expected outcome of a test case

      • If the assertion fails, the test execution is halted and marked as failed

      • It is commonly used in automated test scripts to ensure the correctness of the application under test

    • Answered by AI
    • Q2. What is soft assert
    • Ans. 

      Soft assert is a way to continue the execution of a test case even after an assertion failure.

      • Soft assert does not stop the execution of the test case when an assertion fails.

      • It is useful when you want to log the failure but continue with the remaining test steps.

      • Soft assert is commonly used in test automation frameworks like TestNG in Java.

    • Answered by AI

    Skills evaluated in this interview

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

    (2 Questions)

    • Q1. Wap for reverse string in java
    • Ans. 

      Reverse a string in Java using StringBuilder's reverse method.

      • Create a StringBuilder object with the input string

      • Use the reverse() method of StringBuilder to reverse the string

      • Convert the reversed StringBuilder object back to a string using toString()

    • Answered by AI
    • Q2. What is interface
    • Ans. 

      An interface in software development is a contract that defines the methods that a class must implement.

      • Interfaces in programming languages like Java, C#, and TypeScript provide a way to achieve abstraction and multiple inheritance.

      • Classes implementing an interface must provide concrete implementations for all the methods defined in the interface.

      • Interfaces allow for loose coupling between components, making code more

    • Answered by AI

    Skills evaluated in this interview

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

    I applied via Job Portal

    Round 1 - Aptitude Test 

    Reasoning,numerical ,ratios

    Round 2 - Coding Test 

    Basic coding questions

    Wipro Interview FAQs

    How many rounds are there in Wipro Senior Automation Tester interview?
    Wipro interview process usually has 1 rounds. The most common rounds in the Wipro interview process are Technical.
    What are the top questions asked in Wipro Senior Automation Tester interview?

    Some of the top questions asked at the Wipro Senior Automation Tester interview -

    1. Frameworks and How Given When Then are implemented in BDD framew...read more
    2. Methods of API test...read more
    3. Reverse String C...read more

    Tell us how to improve this page.

    People are getting interviews through

    based on 1 Wipro interview
    Job Portal
    100%
    Low Confidence
    ?
    Low Confidence means the data is based on a small number of responses received from the candidates.

    Interview Questions from Similar Companies

    TCS Interview Questions
    3.7
     • 10.1k Interviews
    Accenture Interview Questions
    3.9
     • 7.9k Interviews
    Infosys Interview Questions
    3.7
     • 7.4k Interviews
    Cognizant Interview Questions
    3.8
     • 5.5k Interviews
    Capgemini Interview Questions
    3.8
     • 4.7k Interviews
    Tech Mahindra Interview Questions
    3.6
     • 3.7k Interviews
    HCLTech Interview Questions
    3.5
     • 3.7k Interviews
    Genpact Interview Questions
    3.9
     • 3k Interviews
    LTIMindtree Interview Questions
    3.9
     • 2.8k Interviews
    IBM Interview Questions
    4.1
     • 2.3k Interviews
    View all
    Wipro Senior Automation Tester Salary
    based on 24 salaries
    ₹6.3 L/yr - ₹25 L/yr
    22% more than the average Senior Automation Tester Salary in India
    View more details
    Project Engineer
    32.6k salaries
    unlock blur

    ₹1.8 L/yr - ₹8.3 L/yr

    Senior Software Engineer
    23k salaries
    unlock blur

    ₹5.8 L/yr - ₹22.3 L/yr

    Senior Associate
    21.2k salaries
    unlock blur

    ₹0.8 L/yr - ₹5.5 L/yr

    Senior Project Engineer
    20.6k salaries
    unlock blur

    ₹5 L/yr - ₹19 L/yr

    Technical Lead
    18.6k salaries
    unlock blur

    ₹8.2 L/yr - ₹36.5 L/yr

    Explore more salaries
    Compare Wipro with

    TCS

    3.7
    Compare

    Infosys

    3.7
    Compare

    Tesla

    4.3
    Compare

    Amazon

    4.1
    Compare

    Calculate your in-hand salary

    Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
    Did you find this page helpful?
    Yes No
    write
    Share an Interview