SlideShare a Scribd company logo
QA PROCESS
What quality assurance process refers to ? What does this actually mean ? Best
practices
Automated testing
is very important in the testing process because is more efficient for functional & regression testing & reduces the effort.
I did develop from scratch an automation framework using Java, Selenium, TestNG, Git, Maven & Jenkins. The tests must be easy to use
& update so the maintenance is also quick & easy. The code must be written efficient, no duplicate code so I used Page Object Model
principles.
Framework is created with the setup of the testing environment, basic methods are implemented, the foundation on which the actual
tests will be implemented such as : click(), enterText(), selectFromDropDown(), maximize(), load(), etc.. into Utility package.
Each test suite is implemented by writing code for each page (Java class) from the application & creating a TestNG for the actual test.
How to use & configure the automation project
Steps:
1. Go to C:/Users/User_Name/
2. git clone git@bitbucket.org:hubeleon/project.git
3. Open Eclipse (neon version or latest)
4. File -> Import-> Existing Maven Projects
5. On the project go to Build Path & make sure that external jars selenium server & jgit are having the right path, if not remove
the existing ones & add the one from current path
6. Go to Help-> install new software
set values Name: TestNG, Location: http://beust.com/eclipse
7. Install Maven (URL: http://download.eclipse.org/technology/m2e/releases/1.5/1.5.0.20140606-0033)
you need to have installed Maven on your local, if you don't have
it, download it from here: https://maven.apache.org/download.cgi?Preferred=http%3A%2F%2Fapache.javapipe.com%2F
8. Add variables environment JAVA_HOME: C:Program FilesJavajdk1.8.0_73, M2: %M2_HOME%bin , M2_HOME: C:Program
Filesapache-maven-3.3.9, PATH: C:Program Filesapache-maven-3.3.9bin
9. Install Firefox (make sure that the v <=v.46)
Functional testing
This type of testing involves the following:
1. create/execute test suites
2. report bugs
3. follow up the status of the bugs until the final resolution (meaning retesting & regression testing)
4. create documents & reports with the status
Functional testing process
Functional Testing for Web Applications is a process that checks whether a web application functions as intended and verifies
whether it supplies what the users expect. Aila Quality Software delivers functional software testing for web apps covering the
main steps of this process:
Step#1. Determining which kind of functions must be performed by the web application.
Step#2. Creation of the data-in that is based on the function’s specification.
Step#3. Detection of the correspondence output data.
Step#4. Performance of the test case.
Step#5. Comparison of the actual and expected results.
Load & Performance testing
Create load for sets of users & make the business scenario simulating the clicks.
Results are saved for loading time per each page & analyzed including the errors triggered (if is the case).
Load & performance testing how much importance gives to your web application quality standards?
Load & performance testing is a MUST for any website with a high traffic.
Load testing measures actually time (in sec.) for the maximum number of users supported by the system accessing the website at
the same time.
Performance testing measures actually time (in sec.) for the maximum number of users supported by the system navigating into
the website following a specific business scenario at the same time.
Usually load & performance is done using JMeter.
There was a time when I used also Webserver Stress Tool, but is not so accurate.
At the end you obtain reports for each set of test .csv file & other graphs with evolution from a load increase to another so you
can compare how the website evolves.
Security testing
Website is scanned & vulnerabilities are searched. All the results with all the low, major & critical priority vulnerabilities are saved
& can be analyzed.
What do you need for your company?
Beside the usual testing : functional, load & performance, regression testing is a must to insert also SQL injections & blind SQL in
order to prevent the possible hacks. It must be done for every edit/text/area field. From my experience most of the web
application such insertion are producing crashes so is a vulnerability for your software to have possible to retrieve data from your
database.
How to install OWASP WebGoat? (for Security Testing)
1. Go to https://sourceforge.net/…/owasp/files/WebGoat/WebGoat%205.2/
2. Download WebGoat-OWASP_Standard-5.2.zip
3. Unzip the archive
4. Start the webgoat.bat (Tomcat server is up & running)
5. Access on a web browser: http://localhost/WebGoat/attack with username: guest & password: guest
6. For webscarab go to https://sourceforge.net/…/ow…/files/WebScarab/20070504-1631/
7. Download webscarab-selfcontained-20070504-16.jar file
8. Double click the jar file to start it.
Best practices
How to fix: Error message in TestNG java.lang.AbstractMethodError:
org.openqa.selenium.MutableCapabilities.is(Ljava/lang/String;)Z ?
Remove all the jars from Configure build path, install the latest version of Firefox and use instead of
Eclipse Intellij IDEA.
These changes will solve the issue.
I spent a lot of time on this problem without any resolution.
Page Object Model used in Automation
A Page Object simply models these as objects within the test code. This reduces the amount of
duplicated code and means that if the UI changes, the fix need only be applied in one place.
So every page is designed as an entity with all elements on the page and interacts with the
following page.
So the best approach is to have each page from the applications extends the BasePage and contains all
the actions on that page, for example create a form, searches, checks, etc.. & create link with the
next page to be defined in another Java Class.
Pages are declared in package Pages, classes with all methods related to browser & driver (load
driver, maximize Window, clickOnElementWithWait, etc..) are declared into WebDriverUtils package
& the actual test (TestNG class) which implies the interaction between pages with its actions in Tests
package. Page Object Model was developed from the need to have a cleaner, maintainable reusable
and encapsulated code.
Best practices
Ho to install OWASP WebGoat? (for Security Testing)
1. Go to https://sourceforge.net/…/owasp/files/WebGoat/WebGoat%205.2/
2. Download WebGoat-OWASP_Standard-5.2.zip
3. Unzip the archive
4. Start the webgoat.bat (Tomcat server is up & running)
5. Access on a web browser: http://localhost/WebGoat/attack with username: guest & password: guest
6. For webscarab go to https://sourceforge.net/…/ow…/files/WebScarab/20070504-1631/
7. Download webscarab-selfcontained-20070504-16.jar file
8. Double click the jar file to start it
Load & performance testing how much importance gives to your web application quality standards? Load &
performance testing is a MUST for any website with a high traffic.
Load testing measures actually time (in sec.) for the maximum number of users supported by the system
accessing the website at the same time.
Performance testing measures actually time (in sec.) for the maximum number of users supported by the
system navigating into the website following a specific business scenario at the same time.
Usually load & performance is done using JMeter.
There was a time when I used also Webserver Stress Tool, but is not so accurate.
At the end you obtain reports for each set of test .csv file & other graphs with evolution from a load
increase to another so you can compare how the website evolves.
What do you need for your company?
Beside the usual testing : functional, load & performance, regression testing is a must to insert also SQL
injections & blind SQL in order to prevent the possible hacks. It must be done for every edit/text/area
field. From my experience most of the web application such insertion are producing crashes so is a
vulnerability for your software to have possible to retrieve data from your database.

More Related Content

What's hot

Difference between functional testing and non functional testing
Difference between functional testing and non functional testingDifference between functional testing and non functional testing
Difference between functional testing and non functional testing
pooja deshmukh
 
Performance Testing Overview
Performance Testing OverviewPerformance Testing Overview
Performance Testing Overview
James Venetsanakos
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testingQualitest
 
ATDD Using Robot Framework
ATDD Using Robot FrameworkATDD Using Robot Framework
ATDD Using Robot Framework
Pekka Klärck
 
Robot Framework Dos And Don'ts
Robot Framework Dos And Don'tsRobot Framework Dos And Don'ts
Robot Framework Dos And Don'ts
Pekka Klärck
 
Tricentis Tosca - Email Notification of Execution Reports
Tricentis Tosca - Email Notification of Execution ReportsTricentis Tosca - Email Notification of Execution Reports
Tricentis Tosca - Email Notification of Execution Reports
Bilal Ahmed
 
Regression testing
Regression testingRegression testing
Regression testing
gokilabrindha
 
defect tracking and management
defect tracking and management   defect tracking and management
defect tracking and management
Manish Chaurasia
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunner
Kumar Gupta
 
JMETER-SKILLWISE
JMETER-SKILLWISEJMETER-SKILLWISE
JMETER-SKILLWISE
Skillwise Consulting
 
Smoke Testing
Smoke TestingSmoke Testing
Smoke Testing
Kanoah
 
TDD and BDD and ATDD
TDD and BDD and ATDDTDD and BDD and ATDD
TDD and BDD and ATDD
Anuar Nurmakanov
 
Keyword-driven Test Automation Framework
Keyword-driven Test Automation FrameworkKeyword-driven Test Automation Framework
Keyword-driven Test Automation Framework
Mikhail Subach
 
What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | Edureka
Edureka!
 
TDD Flow: The Mantra in Action
TDD Flow: The Mantra in ActionTDD Flow: The Mantra in Action
TDD Flow: The Mantra in Action
Dionatan default
 
Load testing jmeter
Load testing jmeterLoad testing jmeter
Load testing jmeter
Billa Kota Sriram
 
Automation testing
Automation testingAutomation testing
Automation testing
Biswajit Pratihari
 
Waits in Selenium | Selenium Wait Commands | Edureka
Waits in Selenium | Selenium Wait Commands | EdurekaWaits in Selenium | Selenium Wait Commands | Edureka
Waits in Selenium | Selenium Wait Commands | Edureka
Edureka!
 
QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load Testing
Alex Galkin
 

What's hot (20)

Difference between functional testing and non functional testing
Difference between functional testing and non functional testingDifference between functional testing and non functional testing
Difference between functional testing and non functional testing
 
Performance Testing Overview
Performance Testing OverviewPerformance Testing Overview
Performance Testing Overview
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testing
 
ATDD Using Robot Framework
ATDD Using Robot FrameworkATDD Using Robot Framework
ATDD Using Robot Framework
 
Robot Framework Dos And Don'ts
Robot Framework Dos And Don'tsRobot Framework Dos And Don'ts
Robot Framework Dos And Don'ts
 
Tricentis Tosca - Email Notification of Execution Reports
Tricentis Tosca - Email Notification of Execution ReportsTricentis Tosca - Email Notification of Execution Reports
Tricentis Tosca - Email Notification of Execution Reports
 
Regression testing
Regression testingRegression testing
Regression testing
 
defect tracking and management
defect tracking and management   defect tracking and management
defect tracking and management
 
Performance Testing using LoadRunner
Performance Testing using LoadRunnerPerformance Testing using LoadRunner
Performance Testing using LoadRunner
 
JMETER-SKILLWISE
JMETER-SKILLWISEJMETER-SKILLWISE
JMETER-SKILLWISE
 
Smoke Testing
Smoke TestingSmoke Testing
Smoke Testing
 
TDD and BDD and ATDD
TDD and BDD and ATDDTDD and BDD and ATDD
TDD and BDD and ATDD
 
Keyword-driven Test Automation Framework
Keyword-driven Test Automation FrameworkKeyword-driven Test Automation Framework
Keyword-driven Test Automation Framework
 
What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | Edureka
 
TDD Flow: The Mantra in Action
TDD Flow: The Mantra in ActionTDD Flow: The Mantra in Action
TDD Flow: The Mantra in Action
 
Load testing jmeter
Load testing jmeterLoad testing jmeter
Load testing jmeter
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Waits in Selenium | Selenium Wait Commands | Edureka
Waits in Selenium | Selenium Wait Commands | EdurekaWaits in Selenium | Selenium Wait Commands | Edureka
Waits in Selenium | Selenium Wait Commands | Edureka
 
Automation Testing by Selenium Web Driver
Automation Testing by Selenium Web DriverAutomation Testing by Selenium Web Driver
Automation Testing by Selenium Web Driver
 
QA. Load Testing
QA. Load TestingQA. Load Testing
QA. Load Testing
 

Similar to Qa process

jDriver Presentation
jDriver PresentationjDriver Presentation
jDriver Presentation
freelancer_testautomation
 
Testing Java Web Apps With Selenium
Testing Java Web Apps With SeleniumTesting Java Web Apps With Selenium
Testing Java Web Apps With Selenium
Marakana Inc.
 
Selenium-Browser-Based-Automated-Testing-for-Grails-Apps
Selenium-Browser-Based-Automated-Testing-for-Grails-AppsSelenium-Browser-Based-Automated-Testing-for-Grails-Apps
Selenium-Browser-Based-Automated-Testing-for-Grails-Apps
chrisb206 chrisb206
 
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Puneet Kala
 
Stepin evening presented
Stepin evening presentedStepin evening presented
Stepin evening presentedVijayan Reddy
 
Case study: Open Source Automation Framework using Selenium WebDriver
Case study: Open Source Automation Framework using Selenium WebDriverCase study: Open Source Automation Framework using Selenium WebDriver
Case study: Open Source Automation Framework using Selenium WebDriver
RTTS
 
How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012
Chen-Tien Tsai
 
Load Runner
Load RunnerLoad Runner
Load Runner
Shama Ahsan
 
Selenium.pptx
Selenium.pptxSelenium.pptx
Selenium.pptx
Pandiya Rajan
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testing
Sarah Elson
 
Using HttpWatch Plug-in with Selenium Automation in Java
Using HttpWatch Plug-in with Selenium Automation in JavaUsing HttpWatch Plug-in with Selenium Automation in Java
Using HttpWatch Plug-in with Selenium Automation in Java
Sandeep Tol
 
Selenium Testing Training in Bangalore
Selenium Testing Training in BangaloreSelenium Testing Training in Bangalore
Selenium Testing Training in Bangalore
rajkamal560066
 
28791456 web-testing
28791456 web-testing28791456 web-testing
28791456 web-testing
Rushikesh Bhongade
 
Selenium and JMeter
Selenium and JMeterSelenium and JMeter
Selenium and JMeter
ArchanaKalapgar
 
Selenium and JMeter Testing
Selenium and JMeter TestingSelenium and JMeter Testing
Selenium and JMeter Testing
ArchanaKalapgar
 
Pragmatic Parallels: Java and JavaScript
Pragmatic Parallels: Java and JavaScriptPragmatic Parallels: Java and JavaScript
Pragmatic Parallels: Java and JavaScript
davejohnson
 
Enhancing Website and Application Testing with Java Scrapers.pdf
Enhancing Website and Application Testing with Java Scrapers.pdfEnhancing Website and Application Testing with Java Scrapers.pdf
Enhancing Website and Application Testing with Java Scrapers.pdf
AnanthReddy38
 
Dive into Angular, part 5: Experience
Dive into Angular, part 5: ExperienceDive into Angular, part 5: Experience
Dive into Angular, part 5: Experience
Oleksii Prohonnyi
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meter
Purna Chandar
 

Similar to Qa process (20)

jDriver Presentation
jDriver PresentationjDriver Presentation
jDriver Presentation
 
Testing Java Web Apps With Selenium
Testing Java Web Apps With SeleniumTesting Java Web Apps With Selenium
Testing Java Web Apps With Selenium
 
Selenium-Browser-Based-Automated-Testing-for-Grails-Apps
Selenium-Browser-Based-Automated-Testing-for-Grails-AppsSelenium-Browser-Based-Automated-Testing-for-Grails-Apps
Selenium-Browser-Based-Automated-Testing-for-Grails-Apps
 
Codeception
CodeceptionCodeception
Codeception
 
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
Selenium-Webdriver With PHPUnit Automation test for Joomla CMS!
 
Stepin evening presented
Stepin evening presentedStepin evening presented
Stepin evening presented
 
Case study: Open Source Automation Framework using Selenium WebDriver
Case study: Open Source Automation Framework using Selenium WebDriverCase study: Open Source Automation Framework using Selenium WebDriver
Case study: Open Source Automation Framework using Selenium WebDriver
 
How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012
 
Load Runner
Load RunnerLoad Runner
Load Runner
 
Selenium.pptx
Selenium.pptxSelenium.pptx
Selenium.pptx
 
Using galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testingUsing galen framework for automated cross browser layout testing
Using galen framework for automated cross browser layout testing
 
Using HttpWatch Plug-in with Selenium Automation in Java
Using HttpWatch Plug-in with Selenium Automation in JavaUsing HttpWatch Plug-in with Selenium Automation in Java
Using HttpWatch Plug-in with Selenium Automation in Java
 
Selenium Testing Training in Bangalore
Selenium Testing Training in BangaloreSelenium Testing Training in Bangalore
Selenium Testing Training in Bangalore
 
28791456 web-testing
28791456 web-testing28791456 web-testing
28791456 web-testing
 
Selenium and JMeter
Selenium and JMeterSelenium and JMeter
Selenium and JMeter
 
Selenium and JMeter Testing
Selenium and JMeter TestingSelenium and JMeter Testing
Selenium and JMeter Testing
 
Pragmatic Parallels: Java and JavaScript
Pragmatic Parallels: Java and JavaScriptPragmatic Parallels: Java and JavaScript
Pragmatic Parallels: Java and JavaScript
 
Enhancing Website and Application Testing with Java Scrapers.pdf
Enhancing Website and Application Testing with Java Scrapers.pdfEnhancing Website and Application Testing with Java Scrapers.pdf
Enhancing Website and Application Testing with Java Scrapers.pdf
 
Dive into Angular, part 5: Experience
Dive into Angular, part 5: ExperienceDive into Angular, part 5: Experience
Dive into Angular, part 5: Experience
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meter
 

Recently uploaded

Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
abdulrafaychaudhry
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 

Recently uploaded (20)

Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)Introduction to Pygame (Lecture 7 Python Game Development)
Introduction to Pygame (Lecture 7 Python Game Development)
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 

Qa process

  • 1. QA PROCESS What quality assurance process refers to ? What does this actually mean ? Best practices
  • 2. Automated testing is very important in the testing process because is more efficient for functional & regression testing & reduces the effort. I did develop from scratch an automation framework using Java, Selenium, TestNG, Git, Maven & Jenkins. The tests must be easy to use & update so the maintenance is also quick & easy. The code must be written efficient, no duplicate code so I used Page Object Model principles. Framework is created with the setup of the testing environment, basic methods are implemented, the foundation on which the actual tests will be implemented such as : click(), enterText(), selectFromDropDown(), maximize(), load(), etc.. into Utility package. Each test suite is implemented by writing code for each page (Java class) from the application & creating a TestNG for the actual test.
  • 3. How to use & configure the automation project Steps: 1. Go to C:/Users/User_Name/ 2. git clone git@bitbucket.org:hubeleon/project.git 3. Open Eclipse (neon version or latest) 4. File -> Import-> Existing Maven Projects 5. On the project go to Build Path & make sure that external jars selenium server & jgit are having the right path, if not remove the existing ones & add the one from current path 6. Go to Help-> install new software set values Name: TestNG, Location: http://beust.com/eclipse 7. Install Maven (URL: http://download.eclipse.org/technology/m2e/releases/1.5/1.5.0.20140606-0033) you need to have installed Maven on your local, if you don't have it, download it from here: https://maven.apache.org/download.cgi?Preferred=http%3A%2F%2Fapache.javapipe.com%2F 8. Add variables environment JAVA_HOME: C:Program FilesJavajdk1.8.0_73, M2: %M2_HOME%bin , M2_HOME: C:Program Filesapache-maven-3.3.9, PATH: C:Program Filesapache-maven-3.3.9bin 9. Install Firefox (make sure that the v <=v.46)
  • 4. Functional testing This type of testing involves the following: 1. create/execute test suites 2. report bugs 3. follow up the status of the bugs until the final resolution (meaning retesting & regression testing) 4. create documents & reports with the status
  • 5. Functional testing process Functional Testing for Web Applications is a process that checks whether a web application functions as intended and verifies whether it supplies what the users expect. Aila Quality Software delivers functional software testing for web apps covering the main steps of this process: Step#1. Determining which kind of functions must be performed by the web application. Step#2. Creation of the data-in that is based on the function’s specification. Step#3. Detection of the correspondence output data. Step#4. Performance of the test case. Step#5. Comparison of the actual and expected results.
  • 6. Load & Performance testing Create load for sets of users & make the business scenario simulating the clicks. Results are saved for loading time per each page & analyzed including the errors triggered (if is the case). Load & performance testing how much importance gives to your web application quality standards? Load & performance testing is a MUST for any website with a high traffic. Load testing measures actually time (in sec.) for the maximum number of users supported by the system accessing the website at the same time. Performance testing measures actually time (in sec.) for the maximum number of users supported by the system navigating into the website following a specific business scenario at the same time. Usually load & performance is done using JMeter. There was a time when I used also Webserver Stress Tool, but is not so accurate. At the end you obtain reports for each set of test .csv file & other graphs with evolution from a load increase to another so you can compare how the website evolves.
  • 7. Security testing Website is scanned & vulnerabilities are searched. All the results with all the low, major & critical priority vulnerabilities are saved & can be analyzed. What do you need for your company? Beside the usual testing : functional, load & performance, regression testing is a must to insert also SQL injections & blind SQL in order to prevent the possible hacks. It must be done for every edit/text/area field. From my experience most of the web application such insertion are producing crashes so is a vulnerability for your software to have possible to retrieve data from your database. How to install OWASP WebGoat? (for Security Testing) 1. Go to https://sourceforge.net/…/owasp/files/WebGoat/WebGoat%205.2/ 2. Download WebGoat-OWASP_Standard-5.2.zip 3. Unzip the archive 4. Start the webgoat.bat (Tomcat server is up & running) 5. Access on a web browser: http://localhost/WebGoat/attack with username: guest & password: guest 6. For webscarab go to https://sourceforge.net/…/ow…/files/WebScarab/20070504-1631/ 7. Download webscarab-selfcontained-20070504-16.jar file 8. Double click the jar file to start it.
  • 8. Best practices How to fix: Error message in TestNG java.lang.AbstractMethodError: org.openqa.selenium.MutableCapabilities.is(Ljava/lang/String;)Z ? Remove all the jars from Configure build path, install the latest version of Firefox and use instead of Eclipse Intellij IDEA. These changes will solve the issue. I spent a lot of time on this problem without any resolution. Page Object Model used in Automation A Page Object simply models these as objects within the test code. This reduces the amount of duplicated code and means that if the UI changes, the fix need only be applied in one place. So every page is designed as an entity with all elements on the page and interacts with the following page. So the best approach is to have each page from the applications extends the BasePage and contains all the actions on that page, for example create a form, searches, checks, etc.. & create link with the next page to be defined in another Java Class. Pages are declared in package Pages, classes with all methods related to browser & driver (load driver, maximize Window, clickOnElementWithWait, etc..) are declared into WebDriverUtils package & the actual test (TestNG class) which implies the interaction between pages with its actions in Tests package. Page Object Model was developed from the need to have a cleaner, maintainable reusable and encapsulated code.
  • 9. Best practices Ho to install OWASP WebGoat? (for Security Testing) 1. Go to https://sourceforge.net/…/owasp/files/WebGoat/WebGoat%205.2/ 2. Download WebGoat-OWASP_Standard-5.2.zip 3. Unzip the archive 4. Start the webgoat.bat (Tomcat server is up & running) 5. Access on a web browser: http://localhost/WebGoat/attack with username: guest & password: guest 6. For webscarab go to https://sourceforge.net/…/ow…/files/WebScarab/20070504-1631/ 7. Download webscarab-selfcontained-20070504-16.jar file 8. Double click the jar file to start it Load & performance testing how much importance gives to your web application quality standards? Load & performance testing is a MUST for any website with a high traffic. Load testing measures actually time (in sec.) for the maximum number of users supported by the system accessing the website at the same time. Performance testing measures actually time (in sec.) for the maximum number of users supported by the system navigating into the website following a specific business scenario at the same time. Usually load & performance is done using JMeter. There was a time when I used also Webserver Stress Tool, but is not so accurate. At the end you obtain reports for each set of test .csv file & other graphs with evolution from a load increase to another so you can compare how the website evolves. What do you need for your company? Beside the usual testing : functional, load & performance, regression testing is a must to insert also SQL injections & blind SQL in order to prevent the possible hacks. It must be done for every edit/text/area field. From my experience most of the web application such insertion are producing crashes so is a vulnerability for your software to have possible to retrieve data from your database.