100% Zufriedenheitsgarantie Sofort verfügbar nach Zahlung Sowohl online als auch als PDF Du bist an nichts gebunden
logo-home
Testing realtime interview questions and Answers selenium / programming 15,61 €   In den Einkaufswagen

Prüfung

Testing realtime interview questions and Answers selenium / programming

 10 mal angesehen  0 mal verkauft
  • Kurs
  • Hochschule

Testing realtime interview questions and Answers selenium ============================================================================== Accenture QA Automation interview real time que. • Can you brief me about yourself? Hi, my name is Pankaj. I started my career as a Testing Executive...

[ Mehr anzeigen ]

vorschau 3 aus 27   Seiten

  • 19. oktober 2023
  • 27
  • 2023/2024
  • Prüfung
  • Fragen & Antworten
avatar-seller
Testing realtime interview questions and
Answers selenium
==============================================================================
Accenture QA Automation interview real time que.

 Can you brief me about yourself?
Hi, my name is Pankaj.

I started my career as a Testing Executive 4.5 years back with Infosys currently I am working as Test
Engineer.
My responsibility is to understand Business Requirement Specification and High-Level scenarios and to
convert them into test cases & Automation scripts if required.
Execution of test cases and reporting of defect to the developer if there any and get them fixed.
I have experience on Functional, Automation, Regression, Smoke, Sanity, Web accessibility, Web
Analytics, Mobile Testing.

In my previous project I have worked on Automation testing where we have used Selenium with java and
TestNG Cucumber framework for BDD approach. We have used Page object model where we have
separated our test cases with page objects, and we performed testing on the same. For build
management tool we are using Maven for version controlling we are using Git and for automating our
jobs for nightly run or any schedule we are using Jenkins,.

For defect management & test case management we have used JIRA, TEST RAIL & HP ALM.
I have worked on tools like BrowseStack, DeviceAnywhere, Toadsql,

I am working on Agile environment we have daily standup call and we have 2-week sprint cycle. I am part
of 8-member team out of which we are 3-Tester, 2- dev, 1- manager, 1-scrum master.




 Tell me your Day to Day activities as QA?

First thing I do after login in my system. I check the active sprint in Jira for our project code. There I can
see my assigned open tasks. After that I will check my mail if there is any important mail I need to take
action on. Then we have our daily scrum meeting where we used to tell our previous day actions what we
did, what we are planning for today and if we have any blocker to discuss. Product owner and scrum
master help us to resolve that blocker. After that I need to take the pending task and do needed action
whether creating test case, Execution, Defect retesting if any.

 Do you have created framework from scratch, or you have maintained that?
I have not created Framework from scratch by myself but yes, I was part of framework creation and
created some part of it.

 How much you rate yourself in Java out of 10?
Out of 10 I will rate myself 6 in java as QA Automation engineer.

 Can you tell me Oops concepts and relate it with your Framework?
We have Polymorphism, Inheritance, Encapsulation and Abstraction in Oops. So, we will start with
1) DATA ABSTRACTION

, Data Abstraction means to handle complexity by hiding unnecessary details from the user. In java,
abstraction is achieved by interfaces and abstract classes. We can achieve 100% abstraction using
interfaces.
In Selenium, WebDriver itself acts as an interface. Consider the below statement:
WebDriver driver = new ChromeDriver();
We initialize the Chrome Browser using Selenium Webdriver. It means we are creating a reference
variable (driver) of the interface (WebDriver) and creating an Object. Here WebDriver is an Interface and
ChromeDriver is a class.
We can apply Data Abstraction in a Selenium framework by using the Page Object Model design pattern.
We define all our locators and their methods in the page class. We can use these locators in our tests but
we cannot see the implementation of their underlying methods. So we only show the locators in the tests
but hide the implementation. This is a simple example of how we can use Data Abstraction in our
Automation Framework.

2) ENCAPSULATION
Encapsulation is defined as the wrapping up of data under a single unit. It is the mechanism that binds
together code and the data it manipulates. Encapsulation can be achieved by: Declaring all the variables in
the class as private and writing public methods in the class to set and get the values of variables.
All the classes in an Automation Framework are an example of Encapsulation. In Page Object Model
classes, we declare the data members using @FindBy and initialization of data members will be done
using Constructor to utilize those in methods.

3) INHERITANCE
Inheritance is the mechanism in java by which one class is allowed to inherit the features (fields and
methods) of another class.
We can apply Inheritance in our Automation Framework by creating a Base Class to initialize the
WebDriver interface, browsers, waits, reports, logging, etc. and then we can extend this Base Class and its
methods in other classes like Tests or Utilities. This is a simple example of how we can apply Inheritance in
our framework.

4) POLYMORPHISM
Polymorphism allows us to perform a single action in different ways. In Java polymorphism can be
achieved by two ways:
– Method Overloading: When there are multiple methods with same name but different parameters then
these methods are said to be overloaded. Methods can be overloaded by change in number of
arguments or/and change in type of arguments.
In Selenium Automation, Implicit wait is an example of Method Overloading. In Implicit wait we use
different time stamps such as SECONDS, MINUTES, HOURS etc.
– Method Overriding: It occurs when a derived class has a definition for one of the member functions of
the base class. That base function is said to be overridden.
In Selenium Automation, Method Overriding can be achieved by overriding any WebDriver method. For
example, we can override the findElement method
In assertion we have used overload because in assertion we used to like asset.true(actual, expected) and
second time we can use same assert.true(actual, expected, message).

 How can you use interface and how it is different from Abstract class?
Abstract class may have Abstract and concrete methods, and there is not any compulsion in adding
abstract method in abstract class. But in Interface, we do have only abstract methods and we don’t need
to write abstract keyword in Interface this is by default public and abstract.

,  What do you mean by Static keyword in Java?
Static means it is at class level not at instance level, we have static method, static variable & static inner
class. When we have any variable as static so it will remain same for all the instance of our classes, and
static/Private/Final methods can’t be over-ridden like if we have initialized any method as Static so we
cannot override it in any child class.

 How to call static method and variable in java?

Direct calling, Calling by class name.

 Can I access Static method by using object reference?
Yes we can, but we got one warning that you need to access it via Direct or By class name.

 How to call non-static method and variable in java?
For calling non static method we need to create object first.

 Can we overload & override main method?
Overload-Yes, Override-No

 What do you mean by wrapper class and how will you do data conversion?
Wrapper class in java are used for data conversion. In data conversion if user wants to convert Int to
string, String to int, Boolean, double then we use Wrapper class.
integer.parseInt(); - To convert string to Integer
Double.parseDouble(); - To convert string to Double
Boolean.parse Boolean(); - To convert string to Boolean
String.valueof(); - To convert Integer to String.

 Can you convert string a =”110a” in integer?
No we got NumberFormatException while converting the above string.

 What do you mean by Call by Value & Call by Reference in Java?
Call by value means suppose we have created one sum method with input parameter int a, int b. So while
calling the creating the object and running we provide values that is know as call by value.


 What do you mean by Exceptions in Java?
Exception is like any interruption in our normal flow. Like if we are running anything and we got issues in
our script this is we called exception, we have 2 types of exception Run Time & Compile Time. (checked &
Unchecked exceptions)

 Can you tell me about difference between Throw and Throws keyword?
Throw is a keyword used inside a body of function. And Throws used while initializing any method. By
using Throw we can throw only one exception while for Throws we can declare multiple exceptions which
might occur in that particular function. Throws keyword followed by instance name and Throw keyword is
followed by class name of that exception.

Alle Vorteile der Zusammenfassungen von Stuvia auf einen Blick:

Garantiert gute Qualität durch Reviews

Garantiert gute Qualität durch Reviews

Stuvia Verkäufer haben mehr als 700.000 Zusammenfassungen beurteilt. Deshalb weißt du dass du das beste Dokument kaufst.

Schnell und einfach kaufen

Schnell und einfach kaufen

Man bezahlt schnell und einfach mit iDeal, Kreditkarte oder Stuvia-Kredit für die Zusammenfassungen. Man braucht keine Mitgliedschaft.

Konzentration auf den Kern der Sache

Konzentration auf den Kern der Sache

Deine Mitstudenten schreiben die Zusammenfassungen. Deshalb enthalten die Zusammenfassungen immer aktuelle, zuverlässige und up-to-date Informationen. Damit kommst du schnell zum Kern der Sache.

Häufig gestellte Fragen

Was bekomme ich, wenn ich dieses Dokument kaufe?

Du erhältst eine PDF-Datei, die sofort nach dem Kauf verfügbar ist. Das gekaufte Dokument ist jederzeit, überall und unbegrenzt über dein Profil zugänglich.

Zufriedenheitsgarantie: Wie funktioniert das?

Unsere Zufriedenheitsgarantie sorgt dafür, dass du immer eine Lernunterlage findest, die zu dir passt. Du füllst ein Formular aus und unser Kundendienstteam kümmert sich um den Rest.

Wem kaufe ich diese Zusammenfassung ab?

Stuvia ist ein Marktplatz, du kaufst dieses Dokument also nicht von uns, sondern vom Verkäufer ACADEMICAIDSTORE. Stuvia erleichtert die Zahlung an den Verkäufer.

Werde ich an ein Abonnement gebunden sein?

Nein, du kaufst diese Zusammenfassung nur für 15,61 €. Du bist nach deinem Kauf an nichts gebunden.

Kann man Stuvia trauen?

4.6 Sterne auf Google & Trustpilot (+1000 reviews)

45.681 Zusammenfassungen wurden in den letzten 30 Tagen verkauft

Gegründet 2010, seit 14 Jahren die erste Adresse für Zusammenfassungen

Starte mit dem Verkauf
15,61 €
  • (0)
  Kaufen