SlideShare una empresa de Scribd logo
1 de 46
Hi all,
We are providing quality Online Trainings on SAP TAO, QTP,
BPT, SAP CRM, SAP ABAP, SAP Manual Testing (SAP SD,
SAP MM, SAP FICO, SAP HR), SAP BW/BI, MANUAL
TESTING, HP QUALITY CENTER.

                Trainings for Fresher's
                Job oriented trainings
                Technical support



Trainings will be provided with System Access & Material
                         Contact: Ganesh
                      Mobile: +91-8106488863
              Email: ganeshb@onlinesaptesting.com
               Website: www.onlinesaptesting.com
             Blogs: saptaoonlinetraining.blogspot.com
                  onlinetraininginsaptao.blogspot.com
www.onlinesaptesting.com
Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com
www.onlinesaptesting.com
  Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com




Prerequisites for TAO 1.0
TAO Architecture overview
Installation
TAO Connection settings
Configuring TAO
Generating components in TAO
Building Test Scripts
Consolidating Test Scripts
Importing and Exporting Components
Executing Tests
www.onlinesaptesting.com
Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com
www.onlinesaptesting.com
Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com
www.onlinesaptesting.com
Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com
www.onlinesaptesting.com
    Mobile: +91-8106488863          Email: ganeshb@onlinesaptesting.com




Here is a short checklist of the major areas:
    SAP TAO Agent for ABAP on the SAP Server
    SAP Scripting enabled on the server side using TCode RZ11
    On each computer that needs to be set up with TAO:
         Client modules for HP Quality Center.
         QTP and the requisite add-ins & patches
         SAP TAO Runtime Library (RTL)
         SAP TAO Client
         Valid SAP TAO license key
         UI Scanner
         SAP GUI with Scripting Installed
         Scripting enabled on SAP GUI client side.
 In addition to the software Installation and Configuration, you will need to import
  the Component Library into Quality Center for the first time.
 The Component Library is a set of Custom Components created for interfacing
  with the SAP GUI and is located within the SAP TAO Run Time Library (RTL)
 You will need to use the SAP TAO Import/Export tool to import these
  components from the RTL to Quality Center.
www.onlinesaptesting.com
    Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com




TAO Agent - ABAP based component that resides on
your SAP ERP server, called SAP TAO Agent for
ABAP
TAO RTL - Contains Business Process Components
that has to be uploaded to QC in order to build
Business Process Tests in QC
TAO Client - TAO Front end
UI Scanner - It is an add-on for QTP. It scans most of
the data in the screen and creates component
www.onlinesaptesting.com
Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com
1. Launch the SAP TAO client.

2. Navigate to the Connect window from the   icon on the left hand
   menu bar.
www.onlinesaptesting.com
    Mobile: +91-8106488863         Email: ganeshb@onlinesaptesting.com




3. On the right hand side, fill in the information for your QC Server, User, and
   Password. Click Login. Fill in Domain and Project, and Save. Click on the
   Connect to Project button. Verify that you see “Connected to Project”
www.onlinesaptesting.com
   Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com




Available TAO Configuration settings are
       Inspect
       Import and Export
       Consolidate
       Log
       License
       Expert Settings
4. Navigate to the Configuration link on the top right menu.
5. Select the Import/Export tab
6. Under Local Components Path: navigate to the location
   of the RTL Component Library and click on the Save
   button.
www.onlinesaptesting.com
Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com
7. Navigate to the Import/Export tool from the left hand menu:
8. Select the top level Components folder under Export test components
    to Quality Center, and click on the Export to QC button.
www.onlinesaptesting.com
   Mobile: +91-8106488863     Email: ganeshb@onlinesaptesting.com



9. Ensure that you can see these Components in Quality Center.
Component Library:
 Buttons
   Body Screen Buttons
    Header buttons
       Application Toolbar
       Standard Toolbar
Common Functions
   Actions
   GUI Functions
       Buttons
       Text_Box
   Verifications
www.onlinesaptesting.com
  Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com



Buttons                                                 Standard Toolbar



                                                             Allication
                                                              ToolBar




                                                           Body Screen
                                                             Buttons
www.onlinesaptesting.com
    Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com




Before you begin automating the test case,
 Test Case validation
   Ensure that you are accessing the correct system and
   client
   Ensure that you are able to follow the test case flow
   Ensure that the test case is detailed enough and resolve
   any questions you have with the flow.
 Data validation
   Ensure the data provided is working with the test case
   flow in the system and client you will be using to test.

After you validate the test case, you are ready to create the
Transaction Components associated with the test case.
www.onlinesaptesting.com
Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com
www.onlinesaptesting.com
    Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com



There are 2 ways to automatically create components:
1. Inspect tool:
       Enables you to select multiple SAPGUI screens and
        transactions for testing in an easy to use interface.
       It then determines whether these screens and
        transactions are valid and sends the valid screens to HP
        Quality Center.

2. UI Scanner:
      a plug-in module for HP QuickTest Professional™,
        enables you to collect information from one screen at a
        time, and sends the screen objects to HP Quality Center
        as a component. The UI Scanner scans all objects in the
        screen including dynamically generated objects.
Using the Inspect Tool:
A. Connect
B. Configure
C. Inspect
A. Connection:
    On the left hand side, highlight your SAP Server and fill in the Client,
   UserID, and Password information. Click on the Test SAP
   Connection button to ensure you can connect to the server, the click
   on the Save button. Now you are ready to use the Inspection Tool.
B. Configuration
1.Click on the Configuration link on the top right hand corner. Here you can
    specify:
        Generate Components to Local Path
        Upload Components to QC automatically
        Specify the component path to save to.
3. You should see a populated list of rows on the table on the right hand
    side. These rows represent screens configured in the system that
    are part of the TCode. For example, VA01 has 283 Screens that we
    can inspect.




                   Add T-Codes




                              Choose SAPGUI
                                 Dynpros
                                                               Inspect
4.You can either select the screens individually by clicking on the
   checkbox on that particular row, or the select all button     .
5.After you have made your selection, click on the Inspect button:
6.You can view the log by clicking on the View Report link. Here is an example of
    how the report may look like:




 If screens fail the inspection method, we recommend you use the UI Scanner to
  scan those screens.
 Though you can see which screens have been imported through the Report, be
  sure to check in Quality Center to validate that the components have been
  created and imported.
 The naming convention of the Component created in Quality Center for the
  Inspector is:
 – TCode_ScreenNumber_Name
 – Eg. VA01_0101_SalesdocInitialscreenCreate
Inspection
Report
www.onlinesaptesting.com
Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com
A.Open UI Scanner Script
B.Setup
C.Execute UI Scanner against any SAP screen(s).
A. Open UI Scanner
1. Open up Quick Test Professional.
2. Navigate to File>Import Test from Zip File
3. Browse to the path where you installed the SAP TAO Client (C:/Program
   FilesSAPSAPTAO Runtime Library (RTL)) and select the UI Scanner
   zip file.
4. The UI Scanner code opens in a blank test in QTP.
5. In the UI Scanner code, change TAOPATH to SAPTAO.exe on line
         example: C:Program FilesSAPSAP TAOSAPTAO.exe
6. Create a Folder on the shared X: drive as UI Scanner
7. Save the UI Scanner code as a QTP test on the shared Drive
   X:UI_Scanner

   **These steps only need to performed once as you will be able to open
   the UI Scanner directly from the X drive location here on forward.
B. Setup
1. There are 5 setup parameters you can use depending on your specific needs:
C.Scanning

 1. The UI scanner extractor allows the automatic generation of a component for
     a screen displayed by an SAP transaction
 2. Open up Quick test Professional.
 3. Open the UI Scanner you saved in earlier steps.
 4. Login to the SAP Gui.
 5. Navigate to the SAP screen you want to scan.
 6. Execute the UI Scanner script with the SAP Screen “Active”
 7. You should be able to see each field highlighted as the script is scanning
     through the screen.
 8. When you see the popup screen with the button “Done,” click on the button.
 9. You can repeat steps 5- 8 until you are done scanning the screens for your
     test.
 10. The names of the component files have the same name as the screen’s name
     except for special characters such as “:”,”(“,”)”, etc.
   For example, if the screen’s name is “Create Sales Order: Initial Screen” then
       the name of the generated component will be Create Sales Order Initial
       Screen.
After you create the components either via the Inspect tool or the UI
Scanner, you are ready to create the Test Case in Quality Center.
Import/Export components




TAO
Generated
Components                              Components in QC




                           Select and
                           Export
www.onlinesaptesting.com
Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com
4. Navigate to the Details tab if it is not already selected. The Details tab should
   contain information on the test, the most important of which is the description
   of what the test process is. Other information that should be added includes
   notes for other testers developing similar scripts, or special execution
   conditions that someone executing the test would need to watch out for. Any
   data requirements should also be included here.

      Attached is an example:                 Details Example



 5. Navigate to the Test Script view tab. This is where the BPT test will be built
    out using Business Components.
 6. Click the Select Component button, located in the upper left corner of the
    Test Script view, to display the Component Tree on the right side of the
    screen.




             Select Component button
www.onlinesaptesting.com
       Mobile: +91-8106488863       Email: ganeshb@onlinesaptesting.com


8. Set the necessary parameters values. Each component dragged into the
   Test Script area will show its list of parameters under the Input column.
   Clicking these parameter links brings up the dialog box as shown below,
   where values can be set for each parameter. Leave blank any parameters
   that will not be used by the script.
www.onlinesaptesting.com
   Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com




 To the right is a
  sample outline of
  the components you
  would use for a
  simple VA01 test.
 The next slides
  will walk you
  through step by
  step in creating
  this test script.
www.onlinesaptesting.com
     Mobile: +91-8106488863            Email: ganeshb@onlinesaptesting.com



VA01 Example

1. The first step is to Initialize Script. This points the test to look at a specific
   data table for data. In this example, we have the data table set located at:
   "X:DatatableVA01.xls“




At this time, we would also create a data sheet called VA01.xls that resides
    at X:Datatable. This data table needs to be updated with values every
    time we reference DT_* in our script parameters.
www.onlinesaptesting.com
     Mobile: +91-8106488863        Email: ganeshb@onlinesaptesting.com




2. The Launch and Login component will Launch a SAP Connection and then
   login with the parameter values you have provided. Here, we are using
   variables that refer back to our data sheet.
We use the preface DT_ in our parameter value to indicate that the value will be
   provided in the data table.




3. The Goto Transaction has the parameter Transaction that you can provide a
   value for. This is where you would put your TCode.
8. In Step 8, we use the Select_Tab component which allows you to navigate to
   tabs in a SAP GUI
www.onlinesaptesting.com
   Mobile: +91-8106488863           Email: ganeshb@onlinesaptesting.com



After you create the test script, you are ready to Consolidate the test script.
www.onlinesaptesting.com
 Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com




 Executing a script in this state will be time consuming,
since each component needs to be loaded separately,
and the libraries are loaded for every single component.
 In order to optimize the execution time, we need to
use the Consolidator.
 The Consolidator takes a Test Script, and generates a
master component that includes all the QTP code of
every component, into a single one.
 Quality Center, using QTP, only loads the libraries a
single time, at the beginning of the component, and then
executes the whole set of instructions without switching
between components.
1. Open the TAO Client
2. Navigate to the Consolidate screen by clicking on the
   Consolidate button on the left hand menu.
3. Navigate to your test case and select the test case.
4. Click on the Consolidate button.
www.onlinesaptesting.com
    Mobile: +91-8106488863       Email: ganeshb@onlinesaptesting.com




 Once created, the Master Component can be found in the Business
Components tree, in the Business Components module of QC.

 In order to execute the test, it is necessary to create a new Test
Script in the Test Plan, having the Master Component as its only
component.

 Use this newly created test to execute the Business Process in the
Test Lab module.

After you consolidate the test case, you are ready to execute the test
case in Quality Center.
www.onlinesaptesting.com
Mobile: +91-8106488863   Email: ganeshb@onlinesaptesting.com
www.onlinesaptesting.com
    Mobile: +91-8106488863         Email: ganeshb@onlinesaptesting.com



1. In Qualtiy Center, navigate to the Test Lab.
2. Navigate to the Test Set and add your Test Case to the existing Test
   Set.
3. Select the Test Case and click on the Run button.
4. Click Run again to execute the test.
www.onlinesaptesting.com
     Mobile: +91-8106488863         Email: ganeshb@onlinesaptesting.com




Even though creating Business Processes Test Script using TAO might seem
   like a simple task, there are multiple factors and caveats that need to be
   taken into account:
1. The initial Components base might prove complete for some BP’s, but there
   will surely be the need to create new components in order to complete all the
   scripts.
2. Though the UI Scanner will automatically generate the required components,
   it might be required to manually modify the QTP code, or even to manually
   create a whole component.
3. VB Script knowledge is welcomed, since sometimes, there might even be the
   need to create new functions in the libraries, or modify the existing ones.
4. Make sure you always use the most up to date versions of the BCIE, UI
   Scanner and Consolidator tools.
5. Before starting the scripting, try to manually navigate the Business Process,
   so every step involved is clear and complete.
www.onlinesaptesting.com
    Mobile: +91-8106488863       Email: ganeshb@onlinesaptesting.com




We can parameterize data in three ways:
In the Business Component.
In the script directly.
In a data table
     1. Use MS Excel to create a data table
     2. For every field in the component, create a column with
        name “DT_<variable_name>”. This variable name should
        match the name of the parameter that was specified in the
        component
     3. Save the file in a folder
     4. Point the data table path in the “Initialize script” pre-built
        component to the file created in steps 1-3.
Thanks & Regards
    Ganesh(+91-8106488863)
    www.onlinesaptesting.com
Saptaoonlinetraining.blogspot.com

Más contenido relacionado

La actualidad más candente

SAP Testing Services
SAP Testing ServicesSAP Testing Services
SAP Testing Servicesr_shanki
 
Sap manual testing
Sap manual testingSap manual testing
Sap manual testingDele N.
 
Sap Integration Testing Test Scripting V0.1
Sap Integration Testing   Test Scripting V0.1Sap Integration Testing   Test Scripting V0.1
Sap Integration Testing Test Scripting V0.1ASCARR1
 
Automating sap testing with qtp10 & qc10
Automating sap testing with qtp10 & qc10Automating sap testing with qtp10 & qc10
Automating sap testing with qtp10 & qc10Patrick Sun
 
Performance Testing for SAP Applications
Performance Testing for SAP ApplicationsPerformance Testing for SAP Applications
Performance Testing for SAP ApplicationsGlobe Testing
 
Testing SAP HANA applications with SAP LoadRunner by HP
Testing SAP HANA applications with SAP LoadRunner by HPTesting SAP HANA applications with SAP LoadRunner by HP
Testing SAP HANA applications with SAP LoadRunner by HPSAP Solution Extensions
 
Enhancing Software Quality
Enhancing Software QualityEnhancing Software Quality
Enhancing Software QualityAnand Prabhala
 
5 Key Steps to Effective SAP Testing
5 Key Steps to Effective SAP Testing  5 Key Steps to Effective SAP Testing
5 Key Steps to Effective SAP Testing Zoe Gilbert
 
Webinar "Gestión de la calidad en entornos SAP"
Webinar "Gestión de la calidad en entornos SAP"Webinar "Gestión de la calidad en entornos SAP"
Webinar "Gestión de la calidad en entornos SAP"Globe Testing
 
7 Tips from Siemens Energy for Success with Automation
7 Tips from Siemens Energy for Success with Automation7 Tips from Siemens Energy for Success with Automation
7 Tips from Siemens Energy for Success with AutomationWorksoft
 
RQM in scrum agile testing - Raj kumar
RQM in scrum agile testing - Raj kumarRQM in scrum agile testing - Raj kumar
RQM in scrum agile testing - Raj kumarRoopa Nadkarni
 
Rational Quality Manager
Rational Quality ManagerRational Quality Manager
Rational Quality ManagerAlan Kan
 
Automated Testing for IBM i
Automated Testing for IBM iAutomated Testing for IBM i
Automated Testing for IBM iADC Austin Tech
 
What\'s new in LoadRunner and Performance Center 11
What\'s new in LoadRunner and Performance Center 11What\'s new in LoadRunner and Performance Center 11
What\'s new in LoadRunner and Performance Center 11fsyed
 
Leveraging Worksoft Beyond Test Automation at Mosaic
Leveraging Worksoft Beyond Test Automation at MosaicLeveraging Worksoft Beyond Test Automation at Mosaic
Leveraging Worksoft Beyond Test Automation at MosaicWorksoft
 
Test Automation in Business and Enterprise Digital Strategies
Test Automation in Business and Enterprise Digital StrategiesTest Automation in Business and Enterprise Digital Strategies
Test Automation in Business and Enterprise Digital StrategiesWorksoft
 

La actualidad más candente (20)

Sap testing
Sap testingSap testing
Sap testing
 
SAP Testing Services
SAP Testing ServicesSAP Testing Services
SAP Testing Services
 
Sap manual testing
Sap manual testingSap manual testing
Sap manual testing
 
Sap Integration Testing Test Scripting V0.1
Sap Integration Testing   Test Scripting V0.1Sap Integration Testing   Test Scripting V0.1
Sap Integration Testing Test Scripting V0.1
 
Automating sap testing with qtp10 & qc10
Automating sap testing with qtp10 & qc10Automating sap testing with qtp10 & qc10
Automating sap testing with qtp10 & qc10
 
Performance Testing for SAP Applications
Performance Testing for SAP ApplicationsPerformance Testing for SAP Applications
Performance Testing for SAP Applications
 
Testing SAP HANA applications with SAP LoadRunner by HP
Testing SAP HANA applications with SAP LoadRunner by HPTesting SAP HANA applications with SAP LoadRunner by HP
Testing SAP HANA applications with SAP LoadRunner by HP
 
Alm 11.0 qa training
Alm 11.0 qa trainingAlm 11.0 qa training
Alm 11.0 qa training
 
Enhancing Software Quality
Enhancing Software QualityEnhancing Software Quality
Enhancing Software Quality
 
5 Key Steps to Effective SAP Testing
5 Key Steps to Effective SAP Testing  5 Key Steps to Effective SAP Testing
5 Key Steps to Effective SAP Testing
 
Webinar "Gestión de la calidad en entornos SAP"
Webinar "Gestión de la calidad en entornos SAP"Webinar "Gestión de la calidad en entornos SAP"
Webinar "Gestión de la calidad en entornos SAP"
 
7 Tips from Siemens Energy for Success with Automation
7 Tips from Siemens Energy for Success with Automation7 Tips from Siemens Energy for Success with Automation
7 Tips from Siemens Energy for Success with Automation
 
RQM in scrum agile testing - Raj kumar
RQM in scrum agile testing - Raj kumarRQM in scrum agile testing - Raj kumar
RQM in scrum agile testing - Raj kumar
 
Sap
SapSap
Sap
 
Rational Quality Manager
Rational Quality ManagerRational Quality Manager
Rational Quality Manager
 
Team forge Test Management with TestLink
Team forge Test Management with TestLinkTeam forge Test Management with TestLink
Team forge Test Management with TestLink
 
Automated Testing for IBM i
Automated Testing for IBM iAutomated Testing for IBM i
Automated Testing for IBM i
 
What\'s new in LoadRunner and Performance Center 11
What\'s new in LoadRunner and Performance Center 11What\'s new in LoadRunner and Performance Center 11
What\'s new in LoadRunner and Performance Center 11
 
Leveraging Worksoft Beyond Test Automation at Mosaic
Leveraging Worksoft Beyond Test Automation at MosaicLeveraging Worksoft Beyond Test Automation at Mosaic
Leveraging Worksoft Beyond Test Automation at Mosaic
 
Test Automation in Business and Enterprise Digital Strategies
Test Automation in Business and Enterprise Digital StrategiesTest Automation in Business and Enterprise Digital Strategies
Test Automation in Business and Enterprise Digital Strategies
 

Similar a Tao scripting demo

Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Servicebutest
 
Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Servicebutest
 
Resume of Test Engineer(Swapnil Rao)
Resume of Test Engineer(Swapnil Rao)Resume of Test Engineer(Swapnil Rao)
Resume of Test Engineer(Swapnil Rao)Swapnil Rao
 
Coml Psg Automation Approach
Coml Psg Automation ApproachComl Psg Automation Approach
Coml Psg Automation Approachroopavani
 
Automated Regression Testing that Ensures Continuous Performance.pptx
Automated Regression Testing that Ensures Continuous Performance.pptxAutomated Regression Testing that Ensures Continuous Performance.pptx
Automated Regression Testing that Ensures Continuous Performance.pptxCalidad Infotech
 
Getting Started With QA Automation
Getting Started With QA AutomationGetting Started With QA Automation
Getting Started With QA AutomationGiovanni Scerra ☃
 
Test Automation Frameworks Final
Test Automation Frameworks   FinalTest Automation Frameworks   Final
Test Automation Frameworks FinalMargaret_Dickman
 
Automation testing
Automation testingAutomation testing
Automation testingArta Doci
 
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...QueBIT Consulting
 
Managing Continuous Delivery of Mobile Apps - for the Enterprise
Managing Continuous Delivery of Mobile Apps - for the EnterpriseManaging Continuous Delivery of Mobile Apps - for the Enterprise
Managing Continuous Delivery of Mobile Apps - for the EnterpriseSauce Labs
 

Similar a Tao scripting demo (20)

Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Service
 
Introduction to the .NET Access Control Service
Introduction to the .NET Access Control ServiceIntroduction to the .NET Access Control Service
Introduction to the .NET Access Control Service
 
Gowtham_resume
Gowtham_resumeGowtham_resume
Gowtham_resume
 
Resume of Test Engineer(Swapnil Rao)
Resume of Test Engineer(Swapnil Rao)Resume of Test Engineer(Swapnil Rao)
Resume of Test Engineer(Swapnil Rao)
 
Ashish Baraiya
Ashish BaraiyaAshish Baraiya
Ashish Baraiya
 
Future of QA
Future of QAFuture of QA
Future of QA
 
Futureofqa
FutureofqaFutureofqa
Futureofqa
 
Resume_Sahida Sultana
Resume_Sahida SultanaResume_Sahida Sultana
Resume_Sahida Sultana
 
Coml Psg Automation Approach
Coml Psg Automation ApproachComl Psg Automation Approach
Coml Psg Automation Approach
 
Automated Regression Testing that Ensures Continuous Performance.pptx
Automated Regression Testing that Ensures Continuous Performance.pptxAutomated Regression Testing that Ensures Continuous Performance.pptx
Automated Regression Testing that Ensures Continuous Performance.pptx
 
Getting Started With QA Automation
Getting Started With QA AutomationGetting Started With QA Automation
Getting Started With QA Automation
 
Test Automation Frameworks Final
Test Automation Frameworks   FinalTest Automation Frameworks   Final
Test Automation Frameworks Final
 
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
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Profile_Automation_Testing
Profile_Automation_TestingProfile_Automation_Testing
Profile_Automation_Testing
 
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
 
Resume
ResumeResume
Resume
 
Managing Continuous Delivery of Mobile Apps - for the Enterprise
Managing Continuous Delivery of Mobile Apps - for the EnterpriseManaging Continuous Delivery of Mobile Apps - for the Enterprise
Managing Continuous Delivery of Mobile Apps - for the Enterprise
 

Último

GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 

Último (20)

OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 

Tao scripting demo

  • 1. Hi all, We are providing quality Online Trainings on SAP TAO, QTP, BPT, SAP CRM, SAP ABAP, SAP Manual Testing (SAP SD, SAP MM, SAP FICO, SAP HR), SAP BW/BI, MANUAL TESTING, HP QUALITY CENTER. Trainings for Fresher's Job oriented trainings Technical support Trainings will be provided with System Access & Material Contact: Ganesh Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com Website: www.onlinesaptesting.com Blogs: saptaoonlinetraining.blogspot.com onlinetraininginsaptao.blogspot.com
  • 2. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com
  • 3. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com Prerequisites for TAO 1.0 TAO Architecture overview Installation TAO Connection settings Configuring TAO Generating components in TAO Building Test Scripts Consolidating Test Scripts Importing and Exporting Components Executing Tests
  • 4. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com
  • 5. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com
  • 6. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com
  • 7. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com Here is a short checklist of the major areas: SAP TAO Agent for ABAP on the SAP Server SAP Scripting enabled on the server side using TCode RZ11 On each computer that needs to be set up with TAO: Client modules for HP Quality Center. QTP and the requisite add-ins & patches SAP TAO Runtime Library (RTL) SAP TAO Client Valid SAP TAO license key UI Scanner SAP GUI with Scripting Installed Scripting enabled on SAP GUI client side.  In addition to the software Installation and Configuration, you will need to import the Component Library into Quality Center for the first time.  The Component Library is a set of Custom Components created for interfacing with the SAP GUI and is located within the SAP TAO Run Time Library (RTL)  You will need to use the SAP TAO Import/Export tool to import these components from the RTL to Quality Center.
  • 8. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com TAO Agent - ABAP based component that resides on your SAP ERP server, called SAP TAO Agent for ABAP TAO RTL - Contains Business Process Components that has to be uploaded to QC in order to build Business Process Tests in QC TAO Client - TAO Front end UI Scanner - It is an add-on for QTP. It scans most of the data in the screen and creates component
  • 9. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com
  • 10. 1. Launch the SAP TAO client. 2. Navigate to the Connect window from the icon on the left hand menu bar.
  • 11. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com 3. On the right hand side, fill in the information for your QC Server, User, and Password. Click Login. Fill in Domain and Project, and Save. Click on the Connect to Project button. Verify that you see “Connected to Project”
  • 12. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com Available TAO Configuration settings are Inspect Import and Export Consolidate Log License Expert Settings 4. Navigate to the Configuration link on the top right menu. 5. Select the Import/Export tab 6. Under Local Components Path: navigate to the location of the RTL Component Library and click on the Save button.
  • 13. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com
  • 14. 7. Navigate to the Import/Export tool from the left hand menu: 8. Select the top level Components folder under Export test components to Quality Center, and click on the Export to QC button.
  • 15. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com 9. Ensure that you can see these Components in Quality Center. Component Library:  Buttons Body Screen Buttons  Header buttons Application Toolbar Standard Toolbar Common Functions Actions GUI Functions Buttons Text_Box Verifications
  • 16. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com Buttons Standard Toolbar Allication ToolBar Body Screen Buttons
  • 17. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com Before you begin automating the test case,  Test Case validation Ensure that you are accessing the correct system and client Ensure that you are able to follow the test case flow Ensure that the test case is detailed enough and resolve any questions you have with the flow.  Data validation Ensure the data provided is working with the test case flow in the system and client you will be using to test. After you validate the test case, you are ready to create the Transaction Components associated with the test case.
  • 18. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com
  • 19. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com There are 2 ways to automatically create components: 1. Inspect tool:  Enables you to select multiple SAPGUI screens and transactions for testing in an easy to use interface.  It then determines whether these screens and transactions are valid and sends the valid screens to HP Quality Center. 2. UI Scanner:  a plug-in module for HP QuickTest Professional™, enables you to collect information from one screen at a time, and sends the screen objects to HP Quality Center as a component. The UI Scanner scans all objects in the screen including dynamically generated objects.
  • 20. Using the Inspect Tool: A. Connect B. Configure C. Inspect A. Connection: On the left hand side, highlight your SAP Server and fill in the Client, UserID, and Password information. Click on the Test SAP Connection button to ensure you can connect to the server, the click on the Save button. Now you are ready to use the Inspection Tool.
  • 21. B. Configuration 1.Click on the Configuration link on the top right hand corner. Here you can specify:  Generate Components to Local Path  Upload Components to QC automatically  Specify the component path to save to.
  • 22. 3. You should see a populated list of rows on the table on the right hand side. These rows represent screens configured in the system that are part of the TCode. For example, VA01 has 283 Screens that we can inspect. Add T-Codes Choose SAPGUI Dynpros Inspect
  • 23. 4.You can either select the screens individually by clicking on the checkbox on that particular row, or the select all button . 5.After you have made your selection, click on the Inspect button:
  • 24. 6.You can view the log by clicking on the View Report link. Here is an example of how the report may look like:  If screens fail the inspection method, we recommend you use the UI Scanner to scan those screens.  Though you can see which screens have been imported through the Report, be sure to check in Quality Center to validate that the components have been created and imported.  The naming convention of the Component created in Quality Center for the Inspector is: – TCode_ScreenNumber_Name – Eg. VA01_0101_SalesdocInitialscreenCreate
  • 26. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com
  • 27. A.Open UI Scanner Script B.Setup C.Execute UI Scanner against any SAP screen(s). A. Open UI Scanner 1. Open up Quick Test Professional. 2. Navigate to File>Import Test from Zip File 3. Browse to the path where you installed the SAP TAO Client (C:/Program FilesSAPSAPTAO Runtime Library (RTL)) and select the UI Scanner zip file. 4. The UI Scanner code opens in a blank test in QTP. 5. In the UI Scanner code, change TAOPATH to SAPTAO.exe on line example: C:Program FilesSAPSAP TAOSAPTAO.exe 6. Create a Folder on the shared X: drive as UI Scanner 7. Save the UI Scanner code as a QTP test on the shared Drive X:UI_Scanner **These steps only need to performed once as you will be able to open the UI Scanner directly from the X drive location here on forward.
  • 28. B. Setup 1. There are 5 setup parameters you can use depending on your specific needs:
  • 29. C.Scanning 1. The UI scanner extractor allows the automatic generation of a component for a screen displayed by an SAP transaction 2. Open up Quick test Professional. 3. Open the UI Scanner you saved in earlier steps. 4. Login to the SAP Gui. 5. Navigate to the SAP screen you want to scan. 6. Execute the UI Scanner script with the SAP Screen “Active” 7. You should be able to see each field highlighted as the script is scanning through the screen. 8. When you see the popup screen with the button “Done,” click on the button. 9. You can repeat steps 5- 8 until you are done scanning the screens for your test. 10. The names of the component files have the same name as the screen’s name except for special characters such as “:”,”(“,”)”, etc. For example, if the screen’s name is “Create Sales Order: Initial Screen” then the name of the generated component will be Create Sales Order Initial Screen. After you create the components either via the Inspect tool or the UI Scanner, you are ready to create the Test Case in Quality Center.
  • 30. Import/Export components TAO Generated Components Components in QC Select and Export
  • 31. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com
  • 32. 4. Navigate to the Details tab if it is not already selected. The Details tab should contain information on the test, the most important of which is the description of what the test process is. Other information that should be added includes notes for other testers developing similar scripts, or special execution conditions that someone executing the test would need to watch out for. Any data requirements should also be included here. Attached is an example: Details Example 5. Navigate to the Test Script view tab. This is where the BPT test will be built out using Business Components. 6. Click the Select Component button, located in the upper left corner of the Test Script view, to display the Component Tree on the right side of the screen. Select Component button
  • 33. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com 8. Set the necessary parameters values. Each component dragged into the Test Script area will show its list of parameters under the Input column. Clicking these parameter links brings up the dialog box as shown below, where values can be set for each parameter. Leave blank any parameters that will not be used by the script.
  • 34. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com  To the right is a sample outline of the components you would use for a simple VA01 test.  The next slides will walk you through step by step in creating this test script.
  • 35. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com VA01 Example 1. The first step is to Initialize Script. This points the test to look at a specific data table for data. In this example, we have the data table set located at: "X:DatatableVA01.xls“ At this time, we would also create a data sheet called VA01.xls that resides at X:Datatable. This data table needs to be updated with values every time we reference DT_* in our script parameters.
  • 36. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com 2. The Launch and Login component will Launch a SAP Connection and then login with the parameter values you have provided. Here, we are using variables that refer back to our data sheet. We use the preface DT_ in our parameter value to indicate that the value will be provided in the data table. 3. The Goto Transaction has the parameter Transaction that you can provide a value for. This is where you would put your TCode.
  • 37. 8. In Step 8, we use the Select_Tab component which allows you to navigate to tabs in a SAP GUI
  • 38. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com After you create the test script, you are ready to Consolidate the test script.
  • 39. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com  Executing a script in this state will be time consuming, since each component needs to be loaded separately, and the libraries are loaded for every single component.  In order to optimize the execution time, we need to use the Consolidator.  The Consolidator takes a Test Script, and generates a master component that includes all the QTP code of every component, into a single one.  Quality Center, using QTP, only loads the libraries a single time, at the beginning of the component, and then executes the whole set of instructions without switching between components.
  • 40. 1. Open the TAO Client 2. Navigate to the Consolidate screen by clicking on the Consolidate button on the left hand menu. 3. Navigate to your test case and select the test case. 4. Click on the Consolidate button.
  • 41. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com  Once created, the Master Component can be found in the Business Components tree, in the Business Components module of QC.  In order to execute the test, it is necessary to create a new Test Script in the Test Plan, having the Master Component as its only component.  Use this newly created test to execute the Business Process in the Test Lab module. After you consolidate the test case, you are ready to execute the test case in Quality Center.
  • 42. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com
  • 43. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com 1. In Qualtiy Center, navigate to the Test Lab. 2. Navigate to the Test Set and add your Test Case to the existing Test Set. 3. Select the Test Case and click on the Run button. 4. Click Run again to execute the test.
  • 44. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com Even though creating Business Processes Test Script using TAO might seem like a simple task, there are multiple factors and caveats that need to be taken into account: 1. The initial Components base might prove complete for some BP’s, but there will surely be the need to create new components in order to complete all the scripts. 2. Though the UI Scanner will automatically generate the required components, it might be required to manually modify the QTP code, or even to manually create a whole component. 3. VB Script knowledge is welcomed, since sometimes, there might even be the need to create new functions in the libraries, or modify the existing ones. 4. Make sure you always use the most up to date versions of the BCIE, UI Scanner and Consolidator tools. 5. Before starting the scripting, try to manually navigate the Business Process, so every step involved is clear and complete.
  • 45. www.onlinesaptesting.com Mobile: +91-8106488863 Email: ganeshb@onlinesaptesting.com We can parameterize data in three ways: In the Business Component. In the script directly. In a data table 1. Use MS Excel to create a data table 2. For every field in the component, create a column with name “DT_<variable_name>”. This variable name should match the name of the parameter that was specified in the component 3. Save the file in a folder 4. Point the data table path in the “Initialize script” pre-built component to the file created in steps 1-3.
  • 46. Thanks & Regards Ganesh(+91-8106488863) www.onlinesaptesting.com Saptaoonlinetraining.blogspot.com