Results 1 to 3 of 3

Thread: Qtp

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Answers
    1

    Exclamation Qtp

    Any one can explain action in Qtp


  2. #2
    Banned
    Join Date
    Oct 2007
    Answers
    173

    Re: Qtp

    I normally find the method of passing data via parameters in QTP to be cumbersome and annoying. There are three separate places that you have to provide the exact same information, and it can't be done via code/command. You *must* use the point and click interface.

    Not sure if I mentioned that I strongly dislike the interface, but I strongly dislike any interface that doesn't have very intuitive hotkeys. Theo = keyboard jockey. I really hate switching hands to the mouse if I don't have to do so. A well-designed program in my mind doesn't require it. But enough about that....

    The one advantage (and it is huge) to the pain of the params is that you can specify default values. Since you can't in VBScript (much to my chagrin), this offers a nice alternative.

    Last edited by Anshoo_Arora; 02-25-2008 at 10:25 PM. Reason: This post is a courtesy of: http://geekswithblogs.net/tmoore/archive/2006/07/12/84855.aspx

  3. #3
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: Qtp

    Hi Commando,

    An action is nothing but a set of sequential steps recorded / scripted as per functional flow. In QTP a single test can be composed of 1 or multiple actions.

    The reason behind implementing Actions is to make your script more managaeable and easy to debug. Every action in QTP would be associated by default with a repository in which all Objects that are part of recorded action are stored.

    Actions can be made re-usable to implement compile module concepts or reusability. You can call a reusable action n number of times within a script.
    You can also call copies of actions, existing actions as part of your Test.

    I would suggest you go through the User Guide / Help file of QTP to get a better understannding of Actions.

    Cheers...


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