Results 1 to 3 of 3

Thread: qtp question

  1. #1
    Junior Member
    Join Date
    May 2009

    qtp question

    what is test frame work

  2. #2
    Expert Member
    Join Date
    Apr 2008

    Re: qtp question

    Hai friend,

    just read the below

    1) key word driven testing: 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. Also 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.

    2) data-driven testing: data-driven testing is a framework where test input and output values are read from data files (datapools, odbc sources, csv files, excel files, dao objects, ado objects, and such) and are loaded into variables in captured or manually coded scripts. In this framework, variables are used for both input values and output verification values. Navigation through the program, reading of the data files, and logging of test status and information are all coded in the test script.

    3) modularity-driven testing 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.


  3. #3
    Junior Member
    Join Date
    Oct 2010

    Re: qtp question


    Can you provide qtp questions for certification.

    Sridhar more

  4.  Sponsored Ads


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.