Results 1 to 11 of 11

Thread: Regarding QTP keyword driven framework

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Answers
    6

    Regarding QTP keyword driven framework

    Hi,

    I need a framework for keyword driven approach using QTP for testing a web based application.
    Please let me know how to start with it as I have all the test cases ready with me, but dunno how to start with the framework and have also heard that lot of scripting will be needed. But I am new to this approach, please share with your knowledge about it.

    Thanks in advance,
    VJ


  2. #2
    Junior Member
    Join Date
    Feb 2007
    Answers
    17

    Re: Regarding QTP keyword driven framework

    hi,
    Define different functions for every specific functionality in the library files.
    Associate all the library files with Quick test.

    for eg: login,Account search take this two functionalities

    define the function for login save this files with extension .vbs this is library file
    define the function for Accountsearch save this file with extension .vbs
    Now u associate these library files with Quick Test using
    Test->Settings->Resources->add the library files
    or
    write this statement as first in ur test script
    Executefile "path name of the .vbs file"
    Now call the function in Test script using select case decision statement
    To execute this functions we are passing keywords from datatable.
    key1=datatable.value("functionlaity",1)
    select case key1
    case "log":login()
    case "Acc":Accountsearch()
    end case
    In datatable write the keywords with column name functionality
    functionality
    log
    Acc

    Thanks,
    lata


  3. #3
    Junior Member
    Join Date
    Mar 2007
    Answers
    6

    Re: Regarding QTP keyword driven framework

    Hi,
    I have finalized on a framework, but I don't know how to implement the folder structure and the drivers for calling the data sheets?
    Can you help me on that?

    Thanks in advance


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

    Re: Regarding QTP keyword driven framework

    Can you Pls let me know the framework that u have finalized.. ??


  5. #5
    Junior Member
    Join Date
    Feb 2007
    Answers
    17

    Re: Regarding QTP keyword driven framework

    hi vjlaxmi,

    I need some more information about ur question?


  6. #6
    Junior Member
    Join Date
    Apr 2007
    Answers
    23

    Re: Regarding QTP keyword driven framework

    which framework u r following
    in that u need to mention total framework will be in the form of folders
    for suppose u need to store scripts,datatables,library file,reusable functuions,log files seperatly
    if u want to add a function to library file u need to go for test->setting->resources
    and give the ext as .vbs then it will add to it
    in this any doubts call me 09886471157 and velogoty vijayasagar reddy


  7. #7
    Junior Member
    Join Date
    Apr 2007
    Answers
    2

    Re: Regarding QTP keyword driven framework

    Hello laxmi, first u confirm one thing that r u using any test management tool like quality center or test director. then in test plan u have to define the folder structure. Other in ur local drive u have to define it. And from setting u call all ur library files, environment variables(global) then define a startup script to call all other test scenario scripts. Startup script also known as driverscript. Make all test scenario scripts as reusable actions. Follow scripting standards and all 09850833878 (surya) any help regarding this i will do my level best. All the best surya


  8. #8
    Junior Member
    Join Date
    Mar 2007
    Answers
    6

    Re: Regarding QTP keyword driven framework

    Thanks for the reply,
    1.I am trying a pilot on a web based application with a framework using QTP.
    2. This framework will be like a functional framework, as in we have the repository (stored all the objects of each page of athe application) and we have made few functions for each type of testing.
    3. I am also parameterizing the browser and pages called for each function.
    4. Now, I have the test data and the functions, but I am not sure how to make calls to each function (with input parameters)?
    5. I had thought of putting functions to be called in 1 column and the next column would contain the test data.
    6. The test data includes -> input parameters for the function, browser_name & page_name.
    7. Now my second question is how to call each function row-wise and instruct it to take the data from the next column. Then continue similarly with next row?
    8. Also this excel sheet will be called by another excel sheet --> which has a list of scenarios to be executed.
    So, Each scenario in this group excel sheet will be corresponding to a set of few functions in the testcase excel sheet.

    I hope you got what I am in need of?

    Thanks in advance,
    VJLAXMI

    Last edited by vjlaxmi; 04-08-2007 at 12:20 AM.

  9. #9
    Junior Member
    Join Date
    May 2008
    Answers
    2

    Re: Regarding QTP keyword driven framework

    i also need the answer to this question lakshmi.jyoshna@gmail.com
    Quote Originally Posted by vjlaxmi View Post
    Hi,

    I need a framework for keyword driven approach using QTP for testing a web based application.
    Please let me know how to start with it as I have all the test cases ready with me, but dunno how to start with the framework and have also heard that lot of scripting will be needed. But I am new to this approach, please share with your knowledge about it.

    Thanks in advance,
    VJ



  10. #10

    Re: Regarding QTP keyword driven framework

    hi i need the answer for test scenario with detail description pls make sure the difference between test plan,test scenario,test case !!!


  11. #11
    Junior Member
    Join Date
    May 2009
    Answers
    1

    Re: Regarding QTP keyword driven framework

    For Folder structure u shud use FSO objects.


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