22 March 2013

What is Business Process Testing framework in QTP?

How to implement Business Process testing framework?

Business Process Testing enables Subject Matter Experts to design quality Assurance tests for an application early in the development cycle and in a Script-free environment.

--This means without knowledge of Programming Business Analysts/un programming departments also can prepare set up of BPT

Business Process Testing uses a new methodology for testing, and in conjunction with testing tools such as Quick Test Professional/win runner

Note: The Business Components module is available only if your Quality Center license includes Business Process Testing.



Advantages of Business Process Testing:

  • Cost reduction
  • BPT can be prepared in Script free Environment by the Business Analysts
  •  Business Process Testing is not dependent on the completion of detailed testing scripts.
  •  test automation and automatically generated,
  • Easy-to-understand, plain-language test documentation.
  • Applications can be tested manually before automated tests are ready.
  • Use modular, reusable business component units in multiple business process tests.
  • Ongoing test maintenance time and costs are reduced
  • QA can take advantage of the sophisticated automated testing capabilities in QTP object hierarchies and application-specific functions that can be packaged as building blocks for use in BPT
  • So, here the working partners are SME team and QA team
  • Everything about functionalities are documented


Business Process Testing Model:


BPT is based on the creation and implementation of business components using Quality center Business Components module and Test Plan module.

How to create Business components in BPT:


Business components are easily-maintained, reusable units that perform a specific task, and are the building blocks of BPT  

For example, a Normal login Web page.  , 

login component’s are
Step 1: open the application.
Step 2: enter a user name.
Step 3: enter a password
Step 4: click the Submit button
Based on above steps, for Login web page Create business components in the Business Components module. You can use these components to build business process tests even before the application is ready for testing.

Before automated testing resources are available, you can add manual steps in the Design Steps tab of each component and you can run these steps using the Manual Runner.
After automated testing resources are ready, you can convert your manual components to automated components and begin implementing the automated steps for each component .Here observe the below snaps About Flight Reservation As sample App in QTP 

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. BPT loses QTP object recognition when is run -- Please Help!!!!
    Hi, I am doing my first BPT automation testes, and after having solved a lot of issues and lot of time invested on this, I’m trying to solve the last one (that is my positive hope) and hope you may help me out.

    I’ve created three scripted components named as:
    1) Open Browser
    2) SelectMenuOption
    3) ValidateObjects
    When I run/debug each component by Launching and Run on QTP, it works for each of them perfectly.

    The issue comes when the Business-Process that contains these three SC is run, The ”openBrowser” is marked as passed, but the objects are not recognized and for subsequent objects recognition it fails.

    Somehow if the QTP is open before debugging/run the Business Process in ALM it is closed automatically when I Play (Run) the Business Component, then ALM is re-opened with the component script code. Is at this moment when I think it loses some configuration after the close-open of QTP.

    I’m using Win XP
    ALM 11
    QTP 11
    ALM /QTP Patch installed

    I will really appreciate if you can help me with this

    Alfonso

    ReplyDelete
    Replies
    1. Hi Alfonso ! ..Thanks for visiting this blog ! and come to the point..As you mentioned , individually your Scripted Components are working fine ?.

      The issue happen after running the bunch of scripted components right ?.! Please make sure to follow the below Error Prone Areas.
      1. sync between app and script.
      2. use wait property if sync not working.
      3. Check the scripts while you are running from test lab and make sure the order of components.
      4. make sure on input / output parameters..are picking/giving right are not .
      5.release all cache from browser every time.
      6.use option explicit if unwanted errors coming .
      7. if you didn't found solution , use debugging mode or maintenance run mode and catch the errors ..if you notify the errors me, will check exactly ..

      please give comment again ..about your error status

      Thank you.

      Delete