SlideShare uma empresa Scribd logo
1 de 20
Automation Framework




                       1
Test Automation Approach

   The Test Script Modularity Framework

   The Test Library Architecture Framework

   The Keyword-Driven or Table-Driven Testing
    Framework

   The Data-Driven Testing Framework

   The Hybrid Test Automation Framework
                                                 2
Test Automation Framework
  The most commonly implemented framework is a
  combination of all of the above techniques, pulling
  from their strengths and trying to mitigate their
  weaknesses.

  NexOS Test Automation Framework (Hybrid) =

  Test Script Modularity / Test library Framework
                 +
  The DataDriven Testing Framework



                                                        3
Test Script Modularity Framework

   The test script modularity framework requires the
    creation of small, independent scripts that represent
    modules, sections, and functions of the application-
    under-test.

   These small scripts are then used in a hierarchical
    fashion to construct larger tests, realizing a particular
    test case.




                                                                4
Test Library Architecture Framework

   The test library architecture framework is very similar to the test
    script modularity framework and offers the same advantages, but
    it divides the application-under-test into procedures and functions
    instead of scripts.

   This framework requires the creation of library files (SQABasic
    libraries, APIs, DLLs, and such) that represent modules,
    sections, and functions of the application-under-test. These
    library files are then called directly from the test case script.

   This is incorporated in NexOS Project by creation of Business
    functions which are specific to partition/workspace/reveal in vbs
    files and NexOS,generic / Global functions (for each web
    Object). which are used as libraries.


                                                                          5
VBS files for Partitions

 Partition in NexOS                     Library file
      1.Login                           NexOS_Login.vbs
      2.Application                     NexOS_Application.vbs
      3.Credit                          NexOS_Credit.vbs
      4.LPF                             NexOS_LPF.vbs
      5.PRP                             NexOS_PRP.vbs
      6.Registration                    NexOS_Registration.vbs
      7.Underwriting                    NexOS_Underwriting.vbs
      8.Submit                          NexOS_Submit.vbs
      9.Pipeline                        NexOS_Pipeline.vbs

 Each .vbs file has the functions defined for that particular
 partition

                                                                 6
VBS files for Generic Functions

    Functionality           Library File
    1.Datatable             DataTable.vbs
    2.Global                Global.vbs
    3.Reporting             HTML.vbs
    4.Object Descriptions   Constants.vbs
    5.Messages              messages.vbs
    6.Utilities             util.vbs




                                            7
Data-Driven Testing Framework

   Data-driven testing framework is incorporated in
    NexOS Project by inputting the data into an Excel file
    and importing the values into QTP Data table at the
    time of execution.

   Enables to test the application with multiple sets of
    data.




                                                             8
Configuration Settings

   Environment Variables (read only data) are declared
    in Config.ini file

   Following are the Environment variables:
     • AccessResultsLocation
     • ScreenshotRootpath
     • POS_Validation
     • TakeScreenshot




                                                          9
Login Configuration

   The user id, password (encrypted) and environment
    (URL) and the Host Name are driven from the
    Login_Config.xls file attached to the config folder in
    the QC test plan

   Default URL i.e., http://originationit will be taken if
    there is no entry for the URL and the QC User Name
    will be taken to login to the application if there is no
    userId Provided in the Login_Config.xls file




                                                               10
Folder Structure

Test Plan consists of three main folders:
  Development contain scripts under construction
                                                   Test Plan
  Handoff are scripts delivered to client.

  Performance are scripts modified
      for stress testing.

Each folder structure contains:
         Config                 Documents
         LIB                    OR
         Recovery               Scripts


                                                               11
Test Plan Structure
   Config: Configuration file has the environmental variables of
    URL, Userid, Password, Pool, AccessResultsLocation path,
    Login config path, Screenshot root path, POS validation and
    Take Screen shot.

   Documents: Documents folder contains all documents required
    for preparation and understanding of the NexOS Automation
    project.

   LIB: Contains Business Library and Global Library Functions
    located in the form of vbs file

   OR: Contains object repository files attached in the Attachment
    section. Object Repository is used in Login part of the
    application, because some win objects are not identified by the
    descriptive programming or takes more time to identify. The file
    is saved in .tsr( Test Shared Repository) extension.

                                                                       12
Test Plan Structure (continued)
   Recovery: Contains some attachments for Recovery Scenarios
    in .qrs(Quick Test Recovery Scenario) and .vbs files are attached
    in Attachment section

   Scripts: Contains Integration and POS folders, where integration
    folder contains Test set folder, in Test Set Process Flow folder
    wise is divided, respected test scripts and the Smoke Test
    Cases. Each test script has its own test data attached in the
    attachment section. POS folder contains all the pos test scripts
    and the test data attached to the Attachment section.

   The Test Scenarios in NexOS automation Project are divided
    into different Test Sets, each Test Set contains 10 Process
    Flows, each flow contains different Test scenario Scripts, for
    each script test data is attached in the Attachment section.

   Test Set (X)->Process Flow (X)->Test Script
                                                                     13
Handoff and Performance Folder

 Handoff folder:
    Folder structure is same as the structure mentioned above
     (i.e. Config, Documents, LIB, OR, Recovery, Results and
     Scripts).

    Process of delivering the scripts is a folder is created with a
     date 2007_11_15(start date of deliverables).

 Performance folder:
    These set of scripts were to support performance testing
     team and returns the page rendering time.

                                                                       14
Script Components Guideline

 When the script is developed and ready for execution,
 follow the guidelines given below:

        Connect to Quality Center.
        Ensure that Test Data (Excel sheet) is attached
         to the Test Script.
        Add all the Library files required for test
         execution in LIB.
        Add Configuration file in Config folder.
        Add Object Repository file in OR.


                                                           15
Script Execution from Test Lab

   Go to Test Lab in Quality Center
   Select the required test from the execution grid and
    click on Run button on the header,
   Select the required host for execution and again click
    on Run button in the Pop up window
   Quality Center will initiate QTP and executes the
    selected script.
   Click on Run Test Set button in order to run the entire
    Test set


                                                              16
Execution From QualityCenter




                               17
Test Results

Test Results are of two types:
              1)   Reporting
              2)   Screen shots


Reporting - Test Results are stored in two places.
         Microsoft Access (Database)
         Test Lab in Quality Center.

Screen shots



                                                     18
Storing Results in Access and QC
Tracking Results in MS-Access:
   All the Verification points in each script are stored in the
    Respective Table of the MS-Access. Results can be tracked at
    the following location which can be configurable from the
    configuration file.
Path :
  agotsnexosdev03E$NexOS.KiranNEXOSTestDataNexOSPO
  S.mdb

Test Lab in Quality Center:
   Go to Test Lab Tab in the Quality centre
   Double click on the script executed in the Execution grid
   Double click on the Run Name in the Test instance Properties
    Dialog Box
   Verify the results in the Run Steps Dialog box
                                                                   19
QualityCenter Execution Example




                                  20

Mais conteúdo relacionado

Mais procurados

Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comIdexcel Technologies
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testingpriya_trivedi
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework DesignsSauce Labs
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test AutomationBabuDevanandam
 
Test Automation Framework Development Introduction
Test Automation Framework Development IntroductionTest Automation Framework Development Introduction
Test Automation Framework Development IntroductionGanuka Yashantha
 
Framework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingFramework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingKMS Technology
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementationBharathi Krishnamurthi
 
Framework for Web Automation Testing
Framework for Web Automation TestingFramework for Web Automation Testing
Framework for Web Automation TestingTaras Lytvyn
 
Regression Test Automation Framework
Regression Test Automation Framework Regression Test Automation Framework
Regression Test Automation Framework Infosys
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing FrameworksMoataz Nabil
 
Mobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar GargMobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar GargoGuild .
 
automation framework
automation frameworkautomation framework
automation frameworkANSHU GOYAL
 
Data driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumData driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumanandseelan
 
Laws of test automation framework
Laws of test automation frameworkLaws of test automation framework
Laws of test automation frameworkvodqancr
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planningSivaprasanthRentala1975
 
Pragmatic Java Test Automation
Pragmatic Java Test AutomationPragmatic Java Test Automation
Pragmatic Java Test AutomationDmitry Buzdin
 
Software Test Patterns: Successes and Challenges
Software Test Patterns: Successes and ChallengesSoftware Test Patterns: Successes and Challenges
Software Test Patterns: Successes and ChallengesBob Binder
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionGanuka Yashantha
 

Mais procurados (20)

Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
 
Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test Automation
 
Test Automation Framework Development Introduction
Test Automation Framework Development IntroductionTest Automation Framework Development Introduction
Test Automation Framework Development Introduction
 
Framework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingFramework For Automation Testing Practice Sharing
Framework For Automation Testing Practice Sharing
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementation
 
Framework for Web Automation Testing
Framework for Web Automation TestingFramework for Web Automation Testing
Framework for Web Automation Testing
 
Regression Test Automation Framework
Regression Test Automation Framework Regression Test Automation Framework
Regression Test Automation Framework
 
Automation test scripting guidelines
Automation test scripting guidelines Automation test scripting guidelines
Automation test scripting guidelines
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
 
Mobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar GargMobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar Garg
 
automation framework
automation frameworkautomation framework
automation framework
 
Data driven automation testing of web applications using selenium
Data driven automation testing of web applications using seleniumData driven automation testing of web applications using selenium
Data driven automation testing of web applications using selenium
 
Laws of test automation framework
Laws of test automation frameworkLaws of test automation framework
Laws of test automation framework
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 
Pragmatic Java Test Automation
Pragmatic Java Test AutomationPragmatic Java Test Automation
Pragmatic Java Test Automation
 
Automated Testing
Automated TestingAutomated Testing
Automated Testing
 
Software Test Patterns: Successes and Challenges
Software Test Patterns: Successes and ChallengesSoftware Test Patterns: Successes and Challenges
Software Test Patterns: Successes and Challenges
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introduction
 

Destaque

Weightlifting at SimplySocial
Weightlifting at SimplySocialWeightlifting at SimplySocial
Weightlifting at SimplySocialBogdan Gaza
 
Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI TestingSelenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testingmikereedell
 
Web Application Testing with Selenium
Web Application Testing with Selenium Web Application Testing with Selenium
Web Application Testing with Selenium Sargis Sargsyan
 
24 collections framework interview questions
24 collections framework interview questions24 collections framework interview questions
24 collections framework interview questionsArun Vasanth
 
Test Automation Demonstration with Dr Yongyan Wang by XBOSoft
Test Automation Demonstration with Dr Yongyan Wang by XBOSoftTest Automation Demonstration with Dr Yongyan Wang by XBOSoft
Test Automation Demonstration with Dr Yongyan Wang by XBOSoftXBOSoft
 
Cucumber questions
Cucumber questionsCucumber questions
Cucumber questionsShivaraj R
 
Automation Framework
Automation FrameworkAutomation Framework
Automation Frameworkmehramit
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationRanorex
 
ATLAS Automation POC
ATLAS Automation POCATLAS Automation POC
ATLAS Automation POCaakashmc
 
Test automation - What? Why? How?
Test automation - What? Why? How?Test automation - What? Why? How?
Test automation - What? Why? How?Anand Bagmar
 
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Atirek Gupta
 
Selenium webdriver interview questions and answers
Selenium webdriver interview questions and answersSelenium webdriver interview questions and answers
Selenium webdriver interview questions and answersITeLearn
 
User Powershell for Task Automation
User Powershell for Task AutomationUser Powershell for Task Automation
User Powershell for Task AutomationAman Dhally
 
Realtime selenium interview questions
Realtime selenium interview questionsRealtime selenium interview questions
Realtime selenium interview questionsKuldeep Pawar
 
BDD with JBehave and Selenium
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and SeleniumNikolay Vasilev
 

Destaque (20)

Weightlifting at SimplySocial
Weightlifting at SimplySocialWeightlifting at SimplySocial
Weightlifting at SimplySocial
 
Selenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI TestingSelenium2 and Jenkins: Almost pain-free UI Testing
Selenium2 and Jenkins: Almost pain-free UI Testing
 
Web Application Testing with Selenium
Web Application Testing with Selenium Web Application Testing with Selenium
Web Application Testing with Selenium
 
24 collections framework interview questions
24 collections framework interview questions24 collections framework interview questions
24 collections framework interview questions
 
Test Automation Demonstration with Dr Yongyan Wang by XBOSoft
Test Automation Demonstration with Dr Yongyan Wang by XBOSoftTest Automation Demonstration with Dr Yongyan Wang by XBOSoft
Test Automation Demonstration with Dr Yongyan Wang by XBOSoft
 
Cucumber questions
Cucumber questionsCucumber questions
Cucumber questions
 
Automation Framework
Automation FrameworkAutomation Framework
Automation Framework
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
Selenium for Jobseekers
Selenium for JobseekersSelenium for Jobseekers
Selenium for Jobseekers
 
ATLAS Automation POC
ATLAS Automation POCATLAS Automation POC
ATLAS Automation POC
 
test_automation_POC
test_automation_POCtest_automation_POC
test_automation_POC
 
Test automation within a scrum process
Test automation within a scrum processTest automation within a scrum process
Test automation within a scrum process
 
Selenium Automation Framework
Selenium Automation  FrameworkSelenium Automation  Framework
Selenium Automation Framework
 
Test automation - What? Why? How?
Test automation - What? Why? How?Test automation - What? Why? How?
Test automation - What? Why? How?
 
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
Understanding Selenium/RC, Webdriver Architecture and developing the page obj...
 
Selenium webdriver interview questions and answers
Selenium webdriver interview questions and answersSelenium webdriver interview questions and answers
Selenium webdriver interview questions and answers
 
User Powershell for Task Automation
User Powershell for Task AutomationUser Powershell for Task Automation
User Powershell for Task Automation
 
Test Automation in Agile
Test Automation in AgileTest Automation in Agile
Test Automation in Agile
 
Realtime selenium interview questions
Realtime selenium interview questionsRealtime selenium interview questions
Realtime selenium interview questions
 
BDD with JBehave and Selenium
BDD with JBehave and SeleniumBDD with JBehave and Selenium
BDD with JBehave and Selenium
 

Semelhante a Automation Framework 042009 V2

Automation Framework 042009 V2
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2Devukjs
 
[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the BasicsUlrich Krause
 
XPages -Beyond the Basics
XPages -Beyond the BasicsXPages -Beyond the Basics
XPages -Beyond the BasicsUlrich Krause
 
Typical Architecture Of Automation Frameworks
Typical Architecture Of Automation FrameworksTypical Architecture Of Automation Frameworks
Typical Architecture Of Automation FrameworksYogindernath Gupta
 
Extension Library - Viagra for XPages
Extension Library - Viagra for XPagesExtension Library - Viagra for XPages
Extension Library - Viagra for XPagesUlrich Krause
 
UKLUG 2012 - XPages, Beyond the basics
UKLUG 2012 - XPages, Beyond the basicsUKLUG 2012 - XPages, Beyond the basics
UKLUG 2012 - XPages, Beyond the basicsUlrich Krause
 
Ensuring Software Quality Through Test Automation- Naperville Software Develo...
Ensuring Software Quality Through Test Automation- Naperville Software Develo...Ensuring Software Quality Through Test Automation- Naperville Software Develo...
Ensuring Software Quality Through Test Automation- Naperville Software Develo...LinkCompanyAdmin
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteMicro Focus
 
Qtp framework implementation_guide_v1
Qtp framework implementation_guide_v1Qtp framework implementation_guide_v1
Qtp framework implementation_guide_v1Saurabh Singh
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopersBryan Cafferky
 
QTP&UFT Automation Framework
QTP&UFT Automation FrameworkQTP&UFT Automation Framework
QTP&UFT Automation FrameworkYu Tao Zhang
 
OroCRM Partner Technical Training: September 2015
OroCRM Partner Technical Training: September 2015OroCRM Partner Technical Training: September 2015
OroCRM Partner Technical Training: September 2015Oro Inc.
 
基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻Mason Mei
 
DevOps with Elastic Beanstalk - TCCC-2014
DevOps with Elastic Beanstalk - TCCC-2014DevOps with Elastic Beanstalk - TCCC-2014
DevOps with Elastic Beanstalk - TCCC-2014scolestock
 
ATAGTR2017 Expanding test horizons with Robot Framework
ATAGTR2017 Expanding test horizons with Robot FrameworkATAGTR2017 Expanding test horizons with Robot Framework
ATAGTR2017 Expanding test horizons with Robot FrameworkAgile Testing Alliance
 

Semelhante a Automation Framework 042009 V2 (20)

Automation Framework 042009 V2
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2
 
Hybrid framework
Hybrid frameworkHybrid framework
Hybrid framework
 
[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics[DanNotes] XPages - Beyound the Basics
[DanNotes] XPages - Beyound the Basics
 
XPages -Beyond the Basics
XPages -Beyond the BasicsXPages -Beyond the Basics
XPages -Beyond the Basics
 
Typical Architecture Of Automation Frameworks
Typical Architecture Of Automation FrameworksTypical Architecture Of Automation Frameworks
Typical Architecture Of Automation Frameworks
 
Extension Library - Viagra for XPages
Extension Library - Viagra for XPagesExtension Library - Viagra for XPages
Extension Library - Viagra for XPages
 
UKLUG 2012 - XPages, Beyond the basics
UKLUG 2012 - XPages, Beyond the basicsUKLUG 2012 - XPages, Beyond the basics
UKLUG 2012 - XPages, Beyond the basics
 
Ensuring Software Quality Through Test Automation- Naperville Software Develo...
Ensuring Software Quality Through Test Automation- Naperville Software Develo...Ensuring Software Quality Through Test Automation- Naperville Software Develo...
Ensuring Software Quality Through Test Automation- Naperville Software Develo...
 
Whats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product SuiteWhats new in Enterprise 5.0 Product Suite
Whats new in Enterprise 5.0 Product Suite
 
Qtp framework implementation_guide_v1
Qtp framework implementation_guide_v1Qtp framework implementation_guide_v1
Qtp framework implementation_guide_v1
 
ssssssssss
ssssssssssssssssssss
ssssssssss
 
PowerShellForDBDevelopers
PowerShellForDBDevelopersPowerShellForDBDevelopers
PowerShellForDBDevelopers
 
QTP&UFT Automation Framework
QTP&UFT Automation FrameworkQTP&UFT Automation Framework
QTP&UFT Automation Framework
 
OroCRM Partner Technical Training: September 2015
OroCRM Partner Technical Training: September 2015OroCRM Partner Technical Training: September 2015
OroCRM Partner Technical Training: September 2015
 
eCAP Developer Walkthru
eCAP Developer WalkthrueCAP Developer Walkthru
eCAP Developer Walkthru
 
基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻基于Aws的持续集成、交付和部署 代闻
基于Aws的持续集成、交付和部署 代闻
 
Apache Maven
Apache MavenApache Maven
Apache Maven
 
DevOps with Elastic Beanstalk - TCCC-2014
DevOps with Elastic Beanstalk - TCCC-2014DevOps with Elastic Beanstalk - TCCC-2014
DevOps with Elastic Beanstalk - TCCC-2014
 
ATAGTR2017 Expanding test horizons with Robot Framework
ATAGTR2017 Expanding test horizons with Robot FrameworkATAGTR2017 Expanding test horizons with Robot Framework
ATAGTR2017 Expanding test horizons with Robot Framework
 
Maven
MavenMaven
Maven
 

Último

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Último (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

Automation Framework 042009 V2

  • 2. Test Automation Approach  The Test Script Modularity Framework  The Test Library Architecture Framework  The Keyword-Driven or Table-Driven Testing Framework  The Data-Driven Testing Framework  The Hybrid Test Automation Framework 2
  • 3. Test Automation Framework The most commonly implemented framework is a combination of all of the above techniques, pulling from their strengths and trying to mitigate their weaknesses. NexOS Test Automation Framework (Hybrid) = Test Script Modularity / Test library Framework + The DataDriven Testing Framework 3
  • 4. Test Script Modularity Framework  The test script modularity framework requires the creation of small, independent scripts that represent modules, sections, and functions of the application- under-test.  These small scripts are then used in a hierarchical fashion to construct larger tests, realizing a particular test case. 4
  • 5. Test Library Architecture Framework  The test library architecture framework is very similar to the test script modularity framework and offers the same advantages, but it divides the application-under-test into procedures and functions instead of scripts.  This framework requires the creation of library files (SQABasic libraries, APIs, DLLs, and such) that represent modules, sections, and functions of the application-under-test. These library files are then called directly from the test case script.  This is incorporated in NexOS Project by creation of Business functions which are specific to partition/workspace/reveal in vbs files and NexOS,generic / Global functions (for each web Object). which are used as libraries. 5
  • 6. VBS files for Partitions Partition in NexOS Library file 1.Login NexOS_Login.vbs 2.Application NexOS_Application.vbs 3.Credit NexOS_Credit.vbs 4.LPF NexOS_LPF.vbs 5.PRP NexOS_PRP.vbs 6.Registration NexOS_Registration.vbs 7.Underwriting NexOS_Underwriting.vbs 8.Submit NexOS_Submit.vbs 9.Pipeline NexOS_Pipeline.vbs Each .vbs file has the functions defined for that particular partition 6
  • 7. VBS files for Generic Functions Functionality Library File 1.Datatable DataTable.vbs 2.Global Global.vbs 3.Reporting HTML.vbs 4.Object Descriptions Constants.vbs 5.Messages messages.vbs 6.Utilities util.vbs 7
  • 8. Data-Driven Testing Framework  Data-driven testing framework is incorporated in NexOS Project by inputting the data into an Excel file and importing the values into QTP Data table at the time of execution.  Enables to test the application with multiple sets of data. 8
  • 9. Configuration Settings  Environment Variables (read only data) are declared in Config.ini file  Following are the Environment variables: • AccessResultsLocation • ScreenshotRootpath • POS_Validation • TakeScreenshot 9
  • 10. Login Configuration  The user id, password (encrypted) and environment (URL) and the Host Name are driven from the Login_Config.xls file attached to the config folder in the QC test plan  Default URL i.e., http://originationit will be taken if there is no entry for the URL and the QC User Name will be taken to login to the application if there is no userId Provided in the Login_Config.xls file 10
  • 11. Folder Structure Test Plan consists of three main folders: Development contain scripts under construction Test Plan Handoff are scripts delivered to client. Performance are scripts modified for stress testing. Each folder structure contains: Config Documents LIB OR Recovery Scripts 11
  • 12. Test Plan Structure  Config: Configuration file has the environmental variables of URL, Userid, Password, Pool, AccessResultsLocation path, Login config path, Screenshot root path, POS validation and Take Screen shot.  Documents: Documents folder contains all documents required for preparation and understanding of the NexOS Automation project.  LIB: Contains Business Library and Global Library Functions located in the form of vbs file  OR: Contains object repository files attached in the Attachment section. Object Repository is used in Login part of the application, because some win objects are not identified by the descriptive programming or takes more time to identify. The file is saved in .tsr( Test Shared Repository) extension. 12
  • 13. Test Plan Structure (continued)  Recovery: Contains some attachments for Recovery Scenarios in .qrs(Quick Test Recovery Scenario) and .vbs files are attached in Attachment section  Scripts: Contains Integration and POS folders, where integration folder contains Test set folder, in Test Set Process Flow folder wise is divided, respected test scripts and the Smoke Test Cases. Each test script has its own test data attached in the attachment section. POS folder contains all the pos test scripts and the test data attached to the Attachment section.  The Test Scenarios in NexOS automation Project are divided into different Test Sets, each Test Set contains 10 Process Flows, each flow contains different Test scenario Scripts, for each script test data is attached in the Attachment section.  Test Set (X)->Process Flow (X)->Test Script 13
  • 14. Handoff and Performance Folder Handoff folder:  Folder structure is same as the structure mentioned above (i.e. Config, Documents, LIB, OR, Recovery, Results and Scripts).  Process of delivering the scripts is a folder is created with a date 2007_11_15(start date of deliverables). Performance folder:  These set of scripts were to support performance testing team and returns the page rendering time. 14
  • 15. Script Components Guideline When the script is developed and ready for execution, follow the guidelines given below:  Connect to Quality Center.  Ensure that Test Data (Excel sheet) is attached to the Test Script.  Add all the Library files required for test execution in LIB.  Add Configuration file in Config folder.  Add Object Repository file in OR. 15
  • 16. Script Execution from Test Lab  Go to Test Lab in Quality Center  Select the required test from the execution grid and click on Run button on the header,  Select the required host for execution and again click on Run button in the Pop up window  Quality Center will initiate QTP and executes the selected script.  Click on Run Test Set button in order to run the entire Test set 16
  • 18. Test Results Test Results are of two types: 1) Reporting 2) Screen shots Reporting - Test Results are stored in two places.  Microsoft Access (Database)  Test Lab in Quality Center. Screen shots 18
  • 19. Storing Results in Access and QC Tracking Results in MS-Access:  All the Verification points in each script are stored in the Respective Table of the MS-Access. Results can be tracked at the following location which can be configurable from the configuration file. Path : agotsnexosdev03E$NexOS.KiranNEXOSTestDataNexOSPO S.mdb Test Lab in Quality Center:  Go to Test Lab Tab in the Quality centre  Double click on the script executed in the Execution grid  Double click on the Run Name in the Test instance Properties Dialog Box  Verify the results in the Run Steps Dialog box 19