0% found this document useful (0 votes)
14 views7 pages

Automatino Framework FQA

The document outlines the structure and components of a hybrid automation framework used in a company, detailing folders such as BaseClass, Pages, Utility, and Report. It explains the implementation of the Page Object Model design pattern and the use of OOP concepts like inheritance, encapsulation, abstraction, and polymorphism within the framework. Additionally, it discusses tools and technologies utilized, including Selenium, TestNG, and Jenkins, along with the author's self-assessment in Java, Manual Testing, and SQL.

Uploaded by

vishal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views7 pages

Automatino Framework FQA

The document outlines the structure and components of a hybrid automation framework used in a company, detailing folders such as BaseClass, Pages, Utility, and Report. It explains the implementation of the Page Object Model design pattern and the use of OOP concepts like inheritance, encapsulation, abstraction, and polymorphism within the framework. Additionally, it discusses tools and technologies utilized, including Selenium, TestNG, and Jenkins, along with the author's self-assessment in Java, Manual Testing, and SQL.

Uploaded by

vishal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

JOBITO IT LEARNING CENTER Mob No: 8208134076

|| SHREE ||
Which Automation Framework u have worked on?
Ans: Hybrid

Explain me your automation framework? Architecture/structure of Automation


Framework?
Ans:
We do have hybrid automation framework, it is already developed in our
company.
Our automation framework has various folder structure in which we used to
manages the code:
They are as below:
1. BaseClass
2. Pages
3. Utility
4. Resources
5. Config
6. Screenshot
7. Report
Will see in detail how they have used.
1. BaseClass:
It contains the code for initiazing the browser.

2. Pages:
Here we have follows the Page object model, it’s a design pattern.

According to this: we have developed the separate .java class file for
each n every web page.

Ex:
Homepage --- Homepage.java
Login ---- Login.java

JOBITO IT LEARNING CENTER Mob No: 8208134076


JOBITO IT LEARNING CENTER Mob No: 8208134076

Registration ---- Registration.java

3. Resources :
Contains all the external excel file, jar files . we used to store under this
folder.

4. Config:
This folder we have used to store the properties file.
5. Test:
Here we used to convert the manual test cases into the automation
script
6. Utility:
All the methods those are common for all the page classes, we used to
store in Utility folder.

Ex: wait condition, takescreenshot code


7. Screenshot:
All the screenshot of failed test cases, we used to store under this folder.
8. Report:
The report of all automation scripts, we used to store in the report
folder.

Page Object model?


 This is a design pattern.
 According to this, we used to create separate page classes for each and
every web page present in our web application.
 Then we used to locate respective web element into that respective page
class, and methods to perform operations on these webElements.
 Page object model, help us to reduce the maintaince work and project
structure become readable.

Please refer Below Image:

JOBITO IT LEARNING CENTER Mob No: 8208134076


JOBITO IT LEARNING CENTER Mob No: 8208134076

What is pageFactory.initElement(driver,this)?

Ans:
pageFactory.initElement, will initialize all the webElements present in that page
class.
This indicates, current class’s object.

How you have used to OOPs concept in


We have used below oops concepts in our Framework.
1. Inheritance
2. Encapsulation
3. Abstraction
4. Polymorphism

JOBITO IT LEARNING CENTER Mob No: 8208134076


JOBITO IT LEARNING CENTER Mob No: 8208134076

Inheritance:
Baseclass contains the code for initializing the browser, now your page class
extends this baseclass, so here we have achieved the inheritance feature.

Encapsulation:
Here in page class, in which we have located all the webElements, we makes
it as Private. So these members are tighly binding with the page class. So here
we achieve the feature Encapsulation.

Abstraction:
In test class, we are using the method defined in the page classes. Here we
don’t know, how these methods implemented the logic. We simply calling
those by using the methodName.
We know only essential details: method name
But don’t know the internal implementation of the method.
So here we have achieved the concept, abstraction.

Polymorphism:
Here we achieved the polymorphism: method overloading.
Same method name but differ in number of paremeter or type of parameter.
Ex:
Frame(id)
Frame(index)
Frame(WebElement)

JOBITO IT LEARNING CENTER Mob No: 8208134076


JOBITO IT LEARNING CENTER Mob No: 8208134076

Another Example:
productDetails(String productName,int price)
productDetails(String productName,int price,String vendorName)
productDetails(String productName,int price, String color)
productDetails(String productName,int price, string vendorname, String color,
int pincode)

Q: How much you rate your self on Java/Manual Testing/SQL on scale of 1-5 or
1-10??

Ans:
out of 5: Max 3.8
Out of 10: 7.5

Q: Have u worked on automation framework ? which automation frm u have


worked?

Ans: Yes , i have worked


Hybrid -- Automation framework
this is already developed framework in our org.

JOBITO IT LEARNING CENTER Mob No: 8208134076


JOBITO IT LEARNING CENTER Mob No: 8208134076

Q: Tool and technology used in Automation Framework?


 Selenium, Testng
 Core Java
 Page Object model: Design pattern
 Git
 Maven: adding the jar/ dependencies in your project (Pom.xml)
 Jenkins: Here we run automation suite

Q: Who maintains the jenkins?


o We have separate infrastructure/ devops team, they manages the
jenkins.
o Bening tester my job is to triggered automation build and monitors
the results

Q: Monitoring the builds?


Ans: How many test cases are pass and fails.

Q: What is your approach for failed test cases?


Ans: We check why the tests got failed, there may be two below
approaches,
1. Some wrong code committed by the developer
2. Need to update the existing test case’s data.
Q: What is your contribution in automation testing?
Ans:
Being new to automation, my task is maintenance of existing
automation testing. I used to re-write the code for failing test cases.

JOBITO IT LEARNING CENTER Mob No: 8208134076


JOBITO IT LEARNING CENTER Mob No: 8208134076

Q: how many test cases runs on automation?


Ans: 570

Q: List git commands?


Ans:
git status
git logs
git pull
git push
git add
git commit
git rm
git restore
git remote add

JOBITO IT LEARNING CENTER Mob No: 8208134076

You might also like