Results 1 to 3 of 3

Thread: Qtp

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    4

    Qtp

    how do we do keyword driven testing in QTP.


  2. #2
    Junior Member
    Join Date
    Dec 2007
    Answers
    13

    Re: Qtp

    Keyword-driven testing is a software testing technique that separates much of the programming work from the actual test steps so that the test steps can be developed earlier and can often be maintained with only minor updates, even when the application or testing needs change significantly.

    How this works??

    keyword-driven testing is a software testing technique that separates much of the programming work from the actual test steps so that the test steps can be developed earlier and can often be maintained with only minor updates, even when the application or testing needs change significantly.
    the keyword driven framework consists of the basic components given below
    1. Control file
    2. Test case file
    3. Startup script
    4. Driver script
    5. Utility script

    1. Control file
    a)consists details of all the test scenarios to be automated
    b)user will be able to select a specific scenario to execute based on turning on or off a flag in the control file
    c) control file is in the form of an excel worksheet and contains columns for scenario id,execute (y/n),object repository path, test case file path

    2. Test case file
    a)contains the detailed steps to be carried out for the execution of a test case
    b) it is also in the form of an excel sheet and contains columns for keyword, object name, parameter

    3. Startup script
    a) the starup script is utilised for the initialization and reads the control files
    b) it then calls the driver script to execute all the scenarios marked for execution in the control file

    4. Driver script
    a) it reads the test case files. Checks the keywords and calls the appropriate utility script functions based on specific keyword
    b) error handling is taken care of in the driver script.

    5. Utility scripts
    a) perform generic tasks that can be used across applications. It should not be application dependent advantage of framework.

    The main advantage of this framework is the low cost for maintenace. If there is change to any test case then only the test case file needs to be updated and the driver script and startup script will remain the same. No need to update the scripts in case of changes to the application.

    Last edited by daiveet; 12-14-2007 at 04:35 AM.

  3. #3
    Junior Member
    Join Date
    Dec 2007
    Answers
    13

    Re: Qtp

    Are you looking something specific? Other wise QTP online tutorial is quite helpful.
    You can get that from mercury website.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact