SlideShare una empresa de Scribd logo
1 de 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.

Más contenido relacionado

La actualidad más candente

XP Explained
XP ExplainedXP Explained
XP Explainedvineet
 
Qa process 2012
Qa process 2012Qa process 2012
Qa process 2012ashokack
 
Interview questions
Interview questionsInterview questions
Interview questionssivareddyeda
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement GatheringAtul Pant
 
Drm science lecture 2 CONTRACEPTIVES AND IUDs
Drm science lecture 2 CONTRACEPTIVES AND IUDsDrm science lecture 2 CONTRACEPTIVES AND IUDs
Drm science lecture 2 CONTRACEPTIVES AND IUDsRaghu Prasada
 
Selenium interview-questions-freshers
Selenium interview-questions-freshersSelenium interview-questions-freshers
Selenium interview-questions-freshersNaga Mani
 
Clomiphene citrate adjunctives & alternatives
Clomiphene citrate  adjunctives & alternatives Clomiphene citrate  adjunctives & alternatives
Clomiphene citrate adjunctives & alternatives Aboubakr Elnashar
 
Basic Guide For Mobile Application Testing
Basic Guide For Mobile Application TestingBasic Guide For Mobile Application Testing
Basic Guide For Mobile Application TestingSourabh Kasliwal
 
Contraception & famiy planning
Contraception & famiy planningContraception & famiy planning
Contraception & famiy planningNaila Memon
 
Mobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue SolutionsMobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue SolutionsRapidValue
 
How to Ensure your Definition of Done is Well Done not Half-Baked
How to Ensure your Definition of Done is Well Done not Half-BakedHow to Ensure your Definition of Done is Well Done not Half-Baked
How to Ensure your Definition of Done is Well Done not Half-BakedSusan Schanta
 
Recent advances in hormonal contraception malini
Recent advances in hormonal contraception maliniRecent advances in hormonal contraception malini
Recent advances in hormonal contraception maliniMalini Kv
 

La actualidad más candente (20)

XP Explained
XP ExplainedXP Explained
XP Explained
 
Performance testing
Performance testingPerformance testing
Performance testing
 
Menopause geet. 1
Menopause geet. 1Menopause geet. 1
Menopause geet. 1
 
Qa process 2012
Qa process 2012Qa process 2012
Qa process 2012
 
Interview questions
Interview questionsInterview questions
Interview questions
 
Agile scrum training
Agile scrum trainingAgile scrum training
Agile scrum training
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement Gathering
 
MENOPAUSE
MENOPAUSEMENOPAUSE
MENOPAUSE
 
Normalsexuality
NormalsexualityNormalsexuality
Normalsexuality
 
Drm science lecture 2 CONTRACEPTIVES AND IUDs
Drm science lecture 2 CONTRACEPTIVES AND IUDsDrm science lecture 2 CONTRACEPTIVES AND IUDs
Drm science lecture 2 CONTRACEPTIVES AND IUDs
 
Product focus -- leading product management
Product focus -- leading product managementProduct focus -- leading product management
Product focus -- leading product management
 
Selenium interview-questions-freshers
Selenium interview-questions-freshersSelenium interview-questions-freshers
Selenium interview-questions-freshers
 
Clomiphene citrate adjunctives & alternatives
Clomiphene citrate  adjunctives & alternatives Clomiphene citrate  adjunctives & alternatives
Clomiphene citrate adjunctives & alternatives
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Basic Guide For Mobile Application Testing
Basic Guide For Mobile Application TestingBasic Guide For Mobile Application Testing
Basic Guide For Mobile Application Testing
 
Contraception & famiy planning
Contraception & famiy planningContraception & famiy planning
Contraception & famiy planning
 
Mobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue SolutionsMobile App Testing Strategy by RapidValue Solutions
Mobile App Testing Strategy by RapidValue Solutions
 
How to Ensure your Definition of Done is Well Done not Half-Baked
How to Ensure your Definition of Done is Well Done not Half-BakedHow to Ensure your Definition of Done is Well Done not Half-Baked
How to Ensure your Definition of Done is Well Done not Half-Baked
 
Contraceptive methods I
Contraceptive methods IContraceptive methods I
Contraceptive methods I
 
Recent advances in hormonal contraception malini
Recent advances in hormonal contraception maliniRecent advances in hormonal contraception malini
Recent advances in hormonal contraception malini
 

Similar a 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 a 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
 

Último

Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 

Último (20)

Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 

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.