SlideShare a Scribd company logo
1 of 9
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

Introduction to Integration Testing With Cypress
Introduction to Integration Testing With CypressIntroduction to Integration Testing With Cypress
Introduction to Integration Testing With CypressErez Cohen
 
Salesforce Testing Resume
Salesforce Testing ResumeSalesforce Testing Resume
Salesforce Testing ResumeSowmya J
 
Getting Started With Cypress
Getting Started With CypressGetting Started With Cypress
Getting Started With CypressKnoldus Inc.
 
Manual Testing Notes
Manual Testing NotesManual Testing Notes
Manual Testing Notesguest208aa1
 
Nitesh...........testing resume (1)
Nitesh...........testing resume (1)Nitesh...........testing resume (1)
Nitesh...........testing resume (1)9036858358
 
Automated testing with Cypress
Automated testing with CypressAutomated testing with Cypress
Automated testing with CypressYong Shean Chong
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101QA Hannah
 
BALASAINMA_RESUME
BALASAINMA_RESUMEBALASAINMA_RESUME
BALASAINMA_RESUMER Every
 
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 | EdurekaEdureka!
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingSeyed Ali Marjaie
 
Manual testing good notes
Manual testing good notesManual testing good notes
Manual testing good notesdkns0906
 
Performance Testing
Performance TestingPerformance Testing
Performance Testingsharmaparish
 
RajeswaraRao_Resume_3years
RajeswaraRao_Resume_3yearsRajeswaraRao_Resume_3years
RajeswaraRao_Resume_3yearsRajeswara K
 
QA Challenge Accepted 4.0 - Cypress vs. Selenium
QA Challenge Accepted 4.0 - Cypress vs. SeleniumQA Challenge Accepted 4.0 - Cypress vs. Selenium
QA Challenge Accepted 4.0 - Cypress vs. SeleniumLyudmil Latinov
 
Resume - Shrikrishan - SOFTWARE TESTING
Resume - Shrikrishan - SOFTWARE TESTINGResume - Shrikrishan - SOFTWARE TESTING
Resume - Shrikrishan - SOFTWARE TESTINGshrikrishan upadhyay
 

What's hot (20)

Introduction to Integration Testing With Cypress
Introduction to Integration Testing With CypressIntroduction to Integration Testing With Cypress
Introduction to Integration Testing With Cypress
 
Salesforce Testing Resume
Salesforce Testing ResumeSalesforce Testing Resume
Salesforce Testing Resume
 
Getting Started With Cypress
Getting Started With CypressGetting Started With Cypress
Getting Started With Cypress
 
Cypress Automation
Cypress  AutomationCypress  Automation
Cypress Automation
 
Manual Testing Notes
Manual Testing NotesManual Testing Notes
Manual Testing Notes
 
Cypress
CypressCypress
Cypress
 
Component testing with cypress
Component testing with cypressComponent testing with cypress
Component testing with cypress
 
Api Testing
Api TestingApi Testing
Api Testing
 
Nitesh...........testing resume (1)
Nitesh...........testing resume (1)Nitesh...........testing resume (1)
Nitesh...........testing resume (1)
 
Automated testing with Cypress
Automated testing with CypressAutomated testing with Cypress
Automated testing with Cypress
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
 
BALASAINMA_RESUME
BALASAINMA_RESUMEBALASAINMA_RESUME
BALASAINMA_RESUME
 
Shoaib Kamal Resume
Shoaib Kamal ResumeShoaib Kamal Resume
Shoaib Kamal Resume
 
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
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting
 
Manual testing good notes
Manual testing good notesManual testing good notes
Manual testing good notes
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
RajeswaraRao_Resume_3years
RajeswaraRao_Resume_3yearsRajeswaraRao_Resume_3years
RajeswaraRao_Resume_3years
 
QA Challenge Accepted 4.0 - Cypress vs. Selenium
QA Challenge Accepted 4.0 - Cypress vs. SeleniumQA Challenge Accepted 4.0 - Cypress vs. Selenium
QA Challenge Accepted 4.0 - Cypress vs. Selenium
 
Resume - Shrikrishan - SOFTWARE TESTING
Resume - Shrikrishan - SOFTWARE TESTINGResume - Shrikrishan - SOFTWARE TESTING
Resume - Shrikrishan - SOFTWARE TESTING
 

Similar to QA PROCESS BEST PRACTICES

Testing Java Web Apps With Selenium
Testing Java Web Apps With SeleniumTesting Java Web Apps With Selenium
Testing Java Web Apps With SeleniumMarakana 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-Appschrisb206 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 WebDriverRTTS
 
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 2012Chen-Tien Tsai
 
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 testingSarah 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 JavaSandeep Tol
 
Selenium Testing Training in Bangalore
Selenium Testing Training in BangaloreSelenium Testing Training in Bangalore
Selenium Testing Training in Bangalorerajkamal560066
 
Selenium and JMeter Testing
Selenium and JMeter TestingSelenium and JMeter Testing
Selenium and JMeter TestingArchanaKalapgar
 
Pragmatic Parallels: Java and JavaScript
Pragmatic Parallels: Java and JavaScriptPragmatic Parallels: Java and JavaScript
Pragmatic Parallels: Java and JavaScriptdavejohnson
 
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.pdfAnanthReddy38
 
Dive into Angular, part 5: Experience
Dive into Angular, part 5: ExperienceDive into Angular, part 5: Experience
Dive into Angular, part 5: ExperienceOleksii Prohonnyi
 
Performance testing and j meter
Performance testing and j meterPerformance testing and j meter
Performance testing and j meterPurna Chandar
 

Similar to QA PROCESS BEST PRACTICES (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 Testing
Selenium and JMeter TestingSelenium and JMeter Testing
Selenium and JMeter Testing
 
Selenium and JMeter
Selenium and JMeterSelenium and JMeter
Selenium and JMeter
 
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

GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 

Recently uploaded (20)

GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 

QA PROCESS BEST PRACTICES

  • 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.