Results 1 to 20 of 26

Thread: Automation Framework

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    1

    Re: Automation Framework

    Thanks for the defination. But i would like to know this with an example. Like, for a web based application what is frame work.
    Quote Originally Posted by sathish9274 View Post
    Testing framework is a set of assumptions ,concepts and practice that provide support for testing



  2. #2
    Contributing Member
    Join Date
    Nov 2007
    Answers
    88

    Re: Automation Framework

    qtp automation framework
    1. Linear framework
    this is normal process like recording or scripting the program and executing it. This is not reusable, once execuiting these script.
    2. Modular framework>>
    this is different from liner frame work, here recording or scripting the program and those script split into actions and make those actions as reusable actions. These reusable actions can use any where in the test.
    3. Keyword driven automation frameworkqtp supports to keyword driven automation framework. In keyword driven automation framework first we are going to create a folder on that project name, then create six subfolders within that folder like repository, library files, recovery file, test data, main test, test log file.
    here repository folder is used for save the objects of the application. First learn all the objects by using object repository and then export all the objects to repository folder by giving .tsr extension (test shared repository). This file associate to repository manager, navigation is object repository ----à associate repository
    then click + tab and browse the file from repository folder
    library file folder is used for save functions, which is created by the user. Suppose take one login window and create a function, first open notepad and create function as per your required.
    public function login( )
    dialog (“login”).activate
    dialog (“login”).winedit (“agent name”).set”baba”
    dialog (“login”).winedit (“password”).set secure”xxxxxxxx”
    dialog (“login”).winbutton(“ok”).click
    end function ( )
    then save with .vbs extension in to the library file folder.
    after that associate this function to qtp library files. The navigation is
    test setting----->resources then click + tab and browse the function. In this manner create no of functions as per required and associate all the functions to qtp.suppose some example
    insert order ( ), logout ( ), update order( ).
    recovery file folder is used for save recovery scenarios which is created by the user. Create recovery scenarios and save those recovery scenarios with .qrs extension with recovery file folder. After that associate those recovery scenarios to qtp.navigation is test setting---àrecovery then click +tab and browse the file.
    test data folder is used for save input data. Suppose through flat file method, open the notepad and give input data and save with .txt extension in test data folder.


  3. #3
    Junior Member
    Join Date
    Mar 2008
    Answers
    24

    Re: Automation Framework

    Hi Subhashini,

    Automation Framework is also like a document of Test Plan. In Automation Framework we will discuss that
    1. What to be Automate.
    2. How to be Automate.
    3. What Procedure that Team has to follow.
    4. What Tools to be Used.
    5. What type of data sheets to be Used.
    6. Naming Convenssions for the Scripts.
    7. What are the Documents to be Produced. Etc

    In generally In QTP, there are 4 types of frameworks those are some models only.
    In most of the companies they will use there OWN Framework.

    Hai Friends, If there is any mistake Please let me Know.

    Cheers...........
    Prashanth Chenna.


  4. #4
    Junior Member
    Join Date
    Sep 2008
    Answers
    1

    Re: Automation Framework

    Quote Originally Posted by srinii_vasu View Post
    qtp automation framework
    1. Linear framework
    this is normal process like recording or scripting the program and executing it. This is not reusable, once execuiting these script.
    2. Modular framework>>
    this is different from liner frame work, here recording or scripting the program and those script split into actions and make those actions as reusable actions. These reusable actions can use any where in the test.
    3. Keyword driven automation frameworkqtp supports to keyword driven automation framework. In keyword driven automation framework first we are going to create a folder on that project name, then create six subfolders within that folder like repository, library files, recovery file, test data, main test, test log file.
    here repository folder is used for save the objects of the application. First learn all the objects by using object repository and then export all the objects to repository folder by giving .tsr extension (test shared repository). This file associate to repository manager, navigation is object repository ----à associate repository
    then click + tab and browse the file from repository folder
    library file folder is used for save functions, which is created by the user. Suppose take one login window and create a function, first open notepad and create function as per your required.
    public function login( )
    dialog (“login”).activate
    dialog (“login”).winedit (“agent name”).set”baba”
    dialog (“login”).winedit (“password”).set secure”xxxxxxxx”
    dialog (“login”).winbutton(“ok”).click
    end function ( )
    then save with .vbs extension in to the library file folder.
    after that associate this function to qtp library files. The navigation is
    test setting----->resources then click + tab and browse the function. In this manner create no of functions as per required and associate all the functions to qtp.suppose some example
    insert order ( ), logout ( ), update order( ).
    recovery file folder is used for save recovery scenarios which is created by the user. Create recovery scenarios and save those recovery scenarios with .qrs extension with recovery file folder. After that associate those recovery scenarios to qtp.navigation is test setting---àrecovery then click +tab and browse the file.
    test data folder is used for save input data. Suppose through flat file method, open the notepad and give input data and save with .txt extension in test data folder.
    what we name for the framework if used keyword view for generating test scripts?


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