SlideShare a Scribd company logo
1 of 22
Automation with BPT
       Methodology
         - By Gopinath Gurram
Agenda:
    What is BPT Methodology ?
    Types of Component
    Pre-requisite for BPT
    BPT Strategy / Approach
    Scripted Component
    Parameterization
    About Application Area
    Benefits of BPT Process
    Q&A
What is BPT Methodology ?

    BPT is Business Process Testing

    Additional module in QC and is
     known as Business Component

    Test Scripts are associated with
     components.

    Components are easily-
     maintained, reusable units that
     perform a specific task.
Types of Component

 QTP provides two types of components:
  Business component
     Business components (also known as keyword-driven
     components) are fully integrated with both QuickTest
     and Quality Center.
    Scripted component
     Scripted components are more complex components
     containing programming logic.
Pre-requisite for BPT:
  Install BPT Add-Ins.
  Check the “Allow the Mercury Products to run test and components”
   checkbox in Options>Run tab.
BPT Strategy / Approach

    Initially start with creating the scripted components
     from Business Component tab in QC.

    Pull the respective components to the Test Plan from
     Component Folder in QC as per manual test case.

    Pull the Test scripts to Test Lab for regressions.

    Execute and Analyze the results and log the defects if
     any failure occurs.
Scripted Component:

Two ways to create a component
1.   From QC> Go to Business Component tab> Click on New >
     Enter the component name > OK
2.   From QTP> Connect to QC> New> Select Scripted Component
     >Enter the component name> OK.

Once after create the component in QC, we can find some tabs at
    right side pane in QC. Like Details, Snap shot, Design
    steps, Automation. We need to fill the information in these
    areas.
Scripted Component contd..

    Details tab: Provides a general summary of the component’s purpose or
     goals, and the condition of the application before and after a component is
     run (its pre-conditions and post-conditions).
Scripted Component contd..

     Snap shot tab: Displays an image that provides a visual cue or
      description of the component’s purpose or operations.

     Parameter tab: Specifies the input and output component parameter
      values for the business component. Implementing and using parameters
      enables a component to receive data from an external source and to
      pass data to other components in the business process test flow.

     Design Steps: Enables you to create or view the manual steps of your
      business component, and to automate it if required.

     Automation tab: Provides access to automated component by choosing
      it to Scripted component.
Status of the Component:

  The component has 4 status:
  1.   Error: When Component is error for some reason like May be
       Test case is incorrect or May be made a mistake or May be
       created a wrong component, in such cases you set to “Error”
       status and provide with meaningful comment, displyed in Red
       color.
  2.   Ready: Once the component is completed include debugging
       and enhancement then the component is Ready
       status, displayed in Green
  3.   Under Development: When a new Component is to be
       created then the component is Under Development, displayed
       in Grey
  4.   Maintenance: When the requirements changed then
       component is under Maintenance, displayed in Yellow
Parameterization:
 Process to replace the constant values with variables is known as
      Parameterization.
 There are 2 parameters:
 1.   Input Parameter:
 •      With this parameter, you can input the data to the application.
 •      This Input Parameter is also called “Component Parameter”
 •      It’s another one more parameter especially for BPT apart from other parameters.
 •      We can find this as “Component Parameter” from the list in Keyword View

 Syntax is “Parameter(“<name of parameter>”)

 2. Output Parameter:
 With this parameter, you can retrieve the data from the application.

 Parameterization can be done in 2 ways for Input Parameters.
Parameterization:
 1st Method:
 QC> From Business Component>Parameter tab
        where parameters can be defined and should be defined before launching QTP.

 Note: It wouldn’t allow you to define the parameter, when QTP is already launched.
Parameterization contd..

  The 2nd method is:
  From QTP> File> Settings> Parameters tab
       where you will define the parameters.
Output Parameter:
 •   O/P Parameter is to used to retrieve the output value from the earlier action and
     use it to current action.
 •   With this parameter, you can retrieve the data from the application.
 •   To achieve the output value, just check the below checkbox and add the code to
     assign the value to the output parameter in the script.
About Application Area:

  Application Area:
  An application area, provides a single point of maintenance for all elements
     associated with the testing of application. These include function libraries, shared
     object repositories, keywords, testing preferences, and recovery scenarios.
  From QTP>New > Application Area
Creation of Test Script:

  From Test Plan> Click New Test> Select BPT> Enter the name of
     the script> OK
     The icon will be created at left side panel.
  Once created the script, List the all manual test cases, one which are
     related to this script under Details tab.
Creation of Script contd…

    From Test Plan, pull the respective components under
     Test Script
    Arrange the components in a work flow by moving the
     components up and down.
Creation of Script contd…

 If the components has any parameters then displayed as link.
 Click on this link, Component Iteration window will pop up. It just
     resembles the excel, where you enter the test data or
     import/export from external resource.
Regression Suite:

    All the Test scripts are pulled to Test Lab for
     the regression testing.

    Set to run the suite from one or more systems
     remotely.

    Analyze the results.
Benefits of BPT Process

    Each components is by default a reusable.
    There is no concept of multiple actions. It means each
     component is single action.
    Business process tests are created and implemented
     more quickly than other automated tests.
    Reduces maintenance compared to traditional
     automation.
    Data-driven testing can be performed effectively.
Q&A
Thanks….

More Related Content

What's hot

Accelerate and Automate PeopleSoft 9.2/9.1 Testing with PeopleSoft Test Frame...
Accelerate and Automate PeopleSoft 9.2/9.1 Testing with PeopleSoft Test Frame...Accelerate and Automate PeopleSoft 9.2/9.1 Testing with PeopleSoft Test Frame...
Accelerate and Automate PeopleSoft 9.2/9.1 Testing with PeopleSoft Test Frame...Arvind Rajan
 
Qtp With Descriptive Programming
Qtp With Descriptive ProgrammingQtp With Descriptive Programming
Qtp With Descriptive ProgrammingKuldeep Sharma
 
Digite - Test Management Training
Digite - Test Management TrainingDigite - Test Management Training
Digite - Test Management TrainingDigite, Inc.
 
Advanced Rational Performance Tester reports
Advanced Rational Performance Tester reportsAdvanced Rational Performance Tester reports
Advanced Rational Performance Tester reportsBill Duncan
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.Jithinctzz
 
PTF Presentation
PTF PresentationPTF Presentation
PTF PresentationTelly Ipock
 
Automation framework
Automation framework Automation framework
Automation framework ITeLearn
 
Test Driven Development #sitFRA
Test Driven Development #sitFRATest Driven Development #sitFRA
Test Driven Development #sitFRAChristian Drumm
 
Incorporating VM Technology Into Your Automated Testing
Incorporating VM Technology Into Your Automated TestingIncorporating VM Technology Into Your Automated Testing
Incorporating VM Technology Into Your Automated Testingdmyakovlev
 
Modeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawModeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawGregory Solovey
 
Katalon Studio integrated with modeling tools like Microsoft Visio, Sparx Sys...
Katalon Studio integrated with modeling tools like Microsoft Visio, Sparx Sys...Katalon Studio integrated with modeling tools like Microsoft Visio, Sparx Sys...
Katalon Studio integrated with modeling tools like Microsoft Visio, Sparx Sys...TransWare AG
 
M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияAlex
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Conceptsmqamarhayat
 

What's hot (20)

Accelerate and Automate PeopleSoft 9.2/9.1 Testing with PeopleSoft Test Frame...
Accelerate and Automate PeopleSoft 9.2/9.1 Testing with PeopleSoft Test Frame...Accelerate and Automate PeopleSoft 9.2/9.1 Testing with PeopleSoft Test Frame...
Accelerate and Automate PeopleSoft 9.2/9.1 Testing with PeopleSoft Test Frame...
 
PeopleSoft test framework
PeopleSoft test frameworkPeopleSoft test framework
PeopleSoft test framework
 
Qtp With Descriptive Programming
Qtp With Descriptive ProgrammingQtp With Descriptive Programming
Qtp With Descriptive Programming
 
Digite - Test Management Training
Digite - Test Management TrainingDigite - Test Management Training
Digite - Test Management Training
 
Advanced Rational Performance Tester reports
Advanced Rational Performance Tester reportsAdvanced Rational Performance Tester reports
Advanced Rational Performance Tester reports
 
PeopleSoft Testing Made Easy - How To Reduce Your Cost & Not Your Hairline
PeopleSoft Testing Made Easy - How To Reduce Your Cost & Not Your HairlinePeopleSoft Testing Made Easy - How To Reduce Your Cost & Not Your Hairline
PeopleSoft Testing Made Easy - How To Reduce Your Cost & Not Your Hairline
 
PEOPLESOFT PTF
PEOPLESOFT PTFPEOPLESOFT PTF
PEOPLESOFT PTF
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.
 
Performance testing and rpt
Performance testing and rptPerformance testing and rpt
Performance testing and rpt
 
PTF Presentation
PTF PresentationPTF Presentation
PTF Presentation
 
Rpt ppt
Rpt pptRpt ppt
Rpt ppt
 
Txet Document
Txet DocumentTxet Document
Txet Document
 
Automation framework
Automation framework Automation framework
Automation framework
 
Test Driven Development #sitFRA
Test Driven Development #sitFRATest Driven Development #sitFRA
Test Driven Development #sitFRA
 
Incorporating VM Technology Into Your Automated Testing
Incorporating VM Technology Into Your Automated TestingIncorporating VM Technology Into Your Automated Testing
Incorporating VM Technology Into Your Automated Testing
 
Modeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDrawModeling and Testing Dovetail in MagicDraw
Modeling and Testing Dovetail in MagicDraw
 
Katalon Studio integrated with modeling tools like Microsoft Visio, Sparx Sys...
Katalon Studio integrated with modeling tools like Microsoft Visio, Sparx Sys...Katalon Studio integrated with modeling tools like Microsoft Visio, Sparx Sys...
Katalon Studio integrated with modeling tools like Microsoft Visio, Sparx Sys...
 
M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестирования
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Concepts
 
HP ALM QC
HP ALM QCHP ALM QC
HP ALM QC
 

Viewers also liked

Data Driven Testing
Data Driven TestingData Driven Testing
Data Driven TestingMaveryx
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionGanuka Yashantha
 
Automation test scripting techniques
Automation test scripting techniquesAutomation test scripting techniques
Automation test scripting techniquesZhu Zhong
 
Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automationsrivinayak
 
Evaluating and Testing Web APIs
Evaluating and Testing Web APIsEvaluating and Testing Web APIs
Evaluating and Testing Web APIsSmartBear
 
Reliability engineering chapter-1csi
Reliability engineering chapter-1csiReliability engineering chapter-1csi
Reliability engineering chapter-1csiCharlton Inao
 
REST API testing with SpecFlow
REST API testing with SpecFlowREST API testing with SpecFlow
REST API testing with SpecFlowAiste Stikliute
 

Viewers also liked (11)

Data Driven Testing
Data Driven TestingData Driven Testing
Data Driven Testing
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introduction
 
Automation test scripting techniques
Automation test scripting techniquesAutomation test scripting techniques
Automation test scripting techniques
 
Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automation
 
Hybrid framework
Hybrid frameworkHybrid framework
Hybrid framework
 
Evaluating and Testing Web APIs
Evaluating and Testing Web APIsEvaluating and Testing Web APIs
Evaluating and Testing Web APIs
 
Api testing
Api testingApi testing
Api testing
 
Reliability engineering chapter-1csi
Reliability engineering chapter-1csiReliability engineering chapter-1csi
Reliability engineering chapter-1csi
 
API Testing
API TestingAPI Testing
API Testing
 
Api testing
Api testingApi testing
Api testing
 
REST API testing with SpecFlow
REST API testing with SpecFlowREST API testing with SpecFlow
REST API testing with SpecFlow
 

Similar to Automation with bpt methodology

QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programmingKuldeep Sharma
 
Qtp with descriptive programming
Qtp with descriptive programmingQtp with descriptive programming
Qtp with descriptive programmingmedsherb
 
Qtp questions and answers
Qtp questions and answersQtp questions and answers
Qtp questions and answersRamu Palanki
 
Qtp 9.2 tutorials
Qtp 9.2 tutorialsQtp 9.2 tutorials
Qtp 9.2 tutorialsmedsherb
 
2F9_S4HANA2020_BPD_EN_US.docx
2F9_S4HANA2020_BPD_EN_US.docx2F9_S4HANA2020_BPD_EN_US.docx
2F9_S4HANA2020_BPD_EN_US.docxArun Obilisetty
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answersRamu Palanki
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answersRamu Palanki
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtpRamu Palanki
 
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex ScenariosUnit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex ScenariosFlutter Agency
 
On Demand Feedback Analysis for Certification Process
On Demand Feedback Analysis for Certification ProcessOn Demand Feedback Analysis for Certification Process
On Demand Feedback Analysis for Certification Processrahulmonikasharma
 
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Azhar Satti
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basicsmehramit
 

Similar to Automation with bpt methodology (20)

Chapter 7
Chapter 7Chapter 7
Chapter 7
 
QTP with Descriptive programming
QTP with Descriptive programmingQTP with Descriptive programming
QTP with Descriptive programming
 
Qtp with descriptive programming
Qtp with descriptive programmingQtp with descriptive programming
Qtp with descriptive programming
 
Qtp questions and answers
Qtp questions and answersQtp questions and answers
Qtp questions and answers
 
QTP 9.2
QTP 9.2QTP 9.2
QTP 9.2
 
Qtp 9.2 tutorials
Qtp 9.2 tutorialsQtp 9.2 tutorials
Qtp 9.2 tutorials
 
QTP_PRESENTATION_Andy
QTP_PRESENTATION_AndyQTP_PRESENTATION_Andy
QTP_PRESENTATION_Andy
 
2F9_S4HANA2020_BPD_EN_US.docx
2F9_S4HANA2020_BPD_EN_US.docx2F9_S4HANA2020_BPD_EN_US.docx
2F9_S4HANA2020_BPD_EN_US.docx
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
 
Qtp interview questions and answers
Qtp interview questions and answersQtp interview questions and answers
Qtp interview questions and answers
 
hp_alm.docx
hp_alm.docxhp_alm.docx
hp_alm.docx
 
What are the features in qtp
What are the features in qtpWhat are the features in qtp
What are the features in qtp
 
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex ScenariosUnit Testing in Flutter - From Workflow Essentials to Complex Scenarios
Unit Testing in Flutter - From Workflow Essentials to Complex Scenarios
 
On Demand Feedback Analysis for Certification Process
On Demand Feedback Analysis for Certification ProcessOn Demand Feedback Analysis for Certification Process
On Demand Feedback Analysis for Certification Process
 
About QTP 9.2
About QTP 9.2About QTP 9.2
About QTP 9.2
 
About Qtp_1 92
About Qtp_1 92About Qtp_1 92
About Qtp_1 92
 
About Qtp 92
About Qtp 92About Qtp 92
About Qtp 92
 
Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187Qtp Training Deepti 1 Of 4187
Qtp Training Deepti 1 Of 4187
 
Qtp Basics
Qtp BasicsQtp Basics
Qtp Basics
 
Testing
TestingTesting
Testing
 

Recently uploaded

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 

Recently uploaded (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 

Automation with bpt methodology

  • 1. Automation with BPT Methodology - By Gopinath Gurram
  • 2. Agenda:  What is BPT Methodology ?  Types of Component  Pre-requisite for BPT  BPT Strategy / Approach  Scripted Component  Parameterization  About Application Area  Benefits of BPT Process  Q&A
  • 3. What is BPT Methodology ?  BPT is Business Process Testing  Additional module in QC and is known as Business Component  Test Scripts are associated with components.  Components are easily- maintained, reusable units that perform a specific task.
  • 4. Types of Component QTP provides two types of components:  Business component Business components (also known as keyword-driven components) are fully integrated with both QuickTest and Quality Center.  Scripted component Scripted components are more complex components containing programming logic.
  • 5. Pre-requisite for BPT:  Install BPT Add-Ins.  Check the “Allow the Mercury Products to run test and components” checkbox in Options>Run tab.
  • 6. BPT Strategy / Approach  Initially start with creating the scripted components from Business Component tab in QC.  Pull the respective components to the Test Plan from Component Folder in QC as per manual test case.  Pull the Test scripts to Test Lab for regressions.  Execute and Analyze the results and log the defects if any failure occurs.
  • 7. Scripted Component: Two ways to create a component 1. From QC> Go to Business Component tab> Click on New > Enter the component name > OK 2. From QTP> Connect to QC> New> Select Scripted Component >Enter the component name> OK. Once after create the component in QC, we can find some tabs at right side pane in QC. Like Details, Snap shot, Design steps, Automation. We need to fill the information in these areas.
  • 8. Scripted Component contd..  Details tab: Provides a general summary of the component’s purpose or goals, and the condition of the application before and after a component is run (its pre-conditions and post-conditions).
  • 9. Scripted Component contd..  Snap shot tab: Displays an image that provides a visual cue or description of the component’s purpose or operations.  Parameter tab: Specifies the input and output component parameter values for the business component. Implementing and using parameters enables a component to receive data from an external source and to pass data to other components in the business process test flow.  Design Steps: Enables you to create or view the manual steps of your business component, and to automate it if required.  Automation tab: Provides access to automated component by choosing it to Scripted component.
  • 10. Status of the Component: The component has 4 status: 1. Error: When Component is error for some reason like May be Test case is incorrect or May be made a mistake or May be created a wrong component, in such cases you set to “Error” status and provide with meaningful comment, displyed in Red color. 2. Ready: Once the component is completed include debugging and enhancement then the component is Ready status, displayed in Green 3. Under Development: When a new Component is to be created then the component is Under Development, displayed in Grey 4. Maintenance: When the requirements changed then component is under Maintenance, displayed in Yellow
  • 11. Parameterization: Process to replace the constant values with variables is known as Parameterization. There are 2 parameters: 1. Input Parameter: • With this parameter, you can input the data to the application. • This Input Parameter is also called “Component Parameter” • It’s another one more parameter especially for BPT apart from other parameters. • We can find this as “Component Parameter” from the list in Keyword View Syntax is “Parameter(“<name of parameter>”) 2. Output Parameter: With this parameter, you can retrieve the data from the application. Parameterization can be done in 2 ways for Input Parameters.
  • 12. Parameterization: 1st Method: QC> From Business Component>Parameter tab where parameters can be defined and should be defined before launching QTP. Note: It wouldn’t allow you to define the parameter, when QTP is already launched.
  • 13. Parameterization contd.. The 2nd method is: From QTP> File> Settings> Parameters tab where you will define the parameters.
  • 14. Output Parameter: • O/P Parameter is to used to retrieve the output value from the earlier action and use it to current action. • With this parameter, you can retrieve the data from the application. • To achieve the output value, just check the below checkbox and add the code to assign the value to the output parameter in the script.
  • 15. About Application Area: Application Area: An application area, provides a single point of maintenance for all elements associated with the testing of application. These include function libraries, shared object repositories, keywords, testing preferences, and recovery scenarios. From QTP>New > Application Area
  • 16. Creation of Test Script: From Test Plan> Click New Test> Select BPT> Enter the name of the script> OK The icon will be created at left side panel. Once created the script, List the all manual test cases, one which are related to this script under Details tab.
  • 17. Creation of Script contd…  From Test Plan, pull the respective components under Test Script  Arrange the components in a work flow by moving the components up and down.
  • 18. Creation of Script contd… If the components has any parameters then displayed as link. Click on this link, Component Iteration window will pop up. It just resembles the excel, where you enter the test data or import/export from external resource.
  • 19. Regression Suite:  All the Test scripts are pulled to Test Lab for the regression testing.  Set to run the suite from one or more systems remotely.  Analyze the results.
  • 20. Benefits of BPT Process  Each components is by default a reusable.  There is no concept of multiple actions. It means each component is single action.  Business process tests are created and implemented more quickly than other automated tests.  Reduces maintenance compared to traditional automation.  Data-driven testing can be performed effectively.
  • 21. Q&A