Sunday, September 26, 2010

QTP Analog Recording Tutorial

You can switch to Analog Recording mode only while recording. The option is not available while editing.

To record in Analog Recording mode:
  1. If you are not already recording, click the Record button to begin a recording session.
  2. Click the Analog Recording button or select Automation > Analog Recording. The Analog Recording Settings dialog box opens.
    Analog recording settings
  3. Select from the following options:
    • Record relative to the screen. QTP records any mouse movement or keyboard input relative to the coordinates of your screen, regardless of which application(s) are open or which application(s) you specified in the Record and Run Settings dialog box.
      Select Record relative to the screen if you perform your analog operations on objects located within more than one window or if the window itself may move while you are recording your analog operations.

      Note: When you record in Analog Recording mode relative to the screen, the run session will fail if your screen resolution or the screen location on which you recorded your analog steps has changed from the time you recorded.
      The analog tracking continues to record the movement of the mouse until the mouse reaches the QTP screen to turn off Analog Recording or to stop recording. Clicking on the QTP icon in the Windows taskbar is also recorded. This should not affect your test. The mouse movements and clicks on the QTP screen itself are not recorded.

    • Record relative to the following window. QTP records any mouse movement or keyboard input relative to the coordinates of the specified window.
      Select Record relative to the following window if all your operations are performed on objects within the same window and that window does not move during analog recording. This guarantees that the test will run the analog steps in the correct position within the window even if the window's screen location changes after recording.


      Note: If you have selected to record in Analog Recording mode relative to a window, any operation performed outside the specified window is not recorded while in Analog Recording mode.

  4. If you choose to Record relative to the following window, click the pointing hand and click anywhere in the window on which you want to record in Analog Recording mode. The title of the window you clicked is displayed in the window title box.


  5. Click Start Analog Record.
  6. Perform the operations you want to record in Analog Recording mode.
    All of your keyboard input, mouse movements, and clicks are recorded and saved in an external file. When QTP runs the test, the external data file is called. It tracks every movement and click of the mouse to replicate exactly the operations you recorded.

  7. When you are finished and want to return to normal recording mode, click the Analog Recording button or select Automation > Analog Recording to turn off the option.
  8. If you chose to Record relative to the screen, QuickTest inserts the RunAnalog step for a Desktop item. For example: Analog recording-2 The track file called by the RunAnalog method contains all your analog data and is stored with the current action. You can use this track file in more than one action in your test, and also in other tests, by saving the action containing the RunAnalog step as a reusable action. A reusable action can be called by other tests or actions. Note: When entering the RunAnalog method, you must use a valid and existing track file as the method argument. Tip: To stop an analog step in the middle of a run session, press Ctrl + Esc, then click Stop in the Testing toolbar. Tips for Using the Pointing Hand
    • You can hold the left Ctrl key to change the pointing hand to a standard pointer. You can then change the window focus or perform operations in QTP or in your application, such as right-clicking, using the scroll bars, or moving the pointer over an object to display a context menu.
    • If the window containing the object you want to select is partially hidden by another window, hold the pointing hand over the partially hidden window for a few seconds until it comes to the foreground. Then point to and click the required object. You can configure the length of time required to bring a window into the foreground using the General pane of the Options dialog box.
    • If the window containing the object you want to select is fully hidden by another window, or if a dialog box is hidden behind a window, press the left Ctrl key and arrange the windows as needed.
    • If the window containing the object you want to select is minimized, you can display it by holding the left Ctrl key, right-clicking the application in the Windows task bar, and choosing Restore from the context menu.
    • If the object you want to select can be displayed only by performing an event (such as right-clicking or moving the pointer over an object to display a context menu), hold the left Ctrl key. The pointing hand temporarily turns into a standard pointer and you can perform the event. When the object you want to select is displayed, release the left Ctrl key. The pointer becomes a pointing hand again.

32 comments:

  1. Spot on with this write-up, I truly believe this amazing site
    needs a lot more attention. I'll probably be back again to read through more, thanks for the info!
    Also visit my website - http://dilandaump3.webs.com

    ReplyDelete
  2. This is very interesting, You are a very skilled blogger.
    I have joined your rss feed and look forward to seeking more of your magnificent post.
    Also, I have shared your web site in my social networks!
    Also visit my site :: active x control download for facebook free

    ReplyDelete
  3. Ι will right аway clutсh your
    rss as I саn't find your e-mail subscription hyperlink or newsletter service. Do you've any?
    Kindly lеt me гecogniѕe in oгdeг that І may subscribe.
    Thanks.
    Also visit my page - 1 month loan

    ReplyDelete
  4. Hello Theгe. I found your blog using mѕn.
    Тhat iѕ a reallу well written
    aгtіcle. Ӏ'll be sure to bookmark it and return to learn extra of your useful info. Thanks for the post. I will definitely return.

    my webpage instant cash

    ReplyDelete
  5. If some one wants to be updated with most recent technologies
    after that he must be pay a quick visit this site and be up to date daily.


    Feel free to surf to my web-site abcdefghijklmnopqrstuvwxyz song

    ReplyDelete
  6. It's perfect time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or advice. Maybe you could write next articles referring to this article. I want to read more things about it!

    Feel free to surf to my website personal loans
    my site :: personal loans

    ReplyDelete
  7. I all the time used to study piece of ωriting
    іn neωs papers but noω as I аm a uѕer оf ωeb thus from noω I am using
    net fοr articles or reviews, thanκs to web.


    Here is my web page :: payday loans

    ReplyDelete
  8. Hellο, i thіnk that i sаw you ѵіѕited my blog
    thus і came to go baсk the want?.I аm attemρting
    to finԁ things to imprоve my web site!
    I assume its аdequate to usе a few of your conсeρtѕ!
    !

    Have a lοoκ at my web-ѕite Property for Sale

    ReplyDelete
  9. Υou're so awesome! I don't believe I have read anything like this
    before. So wondeгful to fіnd anothеr person with sοme uniquе thοughts on thіs issue.

    Really.. many thanks for starting this up. Τhiѕ website
    is onе thing that's needed on the web, someone with a little originality!

    Also visit my webpage; payday loans no credit check
    Also see my page > payday loans no credit check

    ReplyDelete
  10. Hi theгe, І еnjoy reaԁіng all of уour article.

    I wantеd tο write a lіttle cοmmеnt
    to suρport you.

    Alѕo visit my page :: payday loans

    ReplyDelete
  11. Insрiring story therе. What occurred аfter?
    Goоd lucκ!

    My blοg ρost: bad credit loans

    ReplyDelete
  12. It is аppropriatе tіme to make some plаns for the future аnd
    it's time to be happy. I have read this post and if I could I want to suggest you some interesting things or suggestions. Perhaps you can write next articles referring to this article. I desire to read more things about it!

    My weblog; bad credit loans

    ReplyDelete
  13. Pretty great post. I just stumbled upon your weblog and wanted to
    say that I've really loved surfing around your blog posts. In any case I'll be subscribing on your feed and I'm hoping you write once more soon!

    Feel free to visit my web blog :: Adirondack chairs

    ReplyDelete
  14. Ahaa, its plеasаnt discuѕѕіon conceгning thiѕ paragraph at this placе аt thіs blοg, I haѵe гead all that, ѕo noω mе аlso commеnting at
    this place.

    Also vіsit mу ωеb page: white shoes

    ReplyDelete
  15. Pretty! Thіs haѕ bееn an inсredibly wonderful aгticle.
    Thank уou for supрlуing this infоrmatіοn.


    Mу pаge ... raspberry ketone uk

    ReplyDelete
  16. I am aсtually happy to rеаd thіs wеbsitе ρoѕts whіch includes plеnty of
    valuable information, thаnκs for provіding
    these informatіon.

    my ωebѕite: http://www.saccountyattorney.org/

    ReplyDelete
  17. Quality artіcles is the imρоrtаnt to аttract thе people to ѵisit
    the website, thаt's what this web page is providing.

    My blog; payday loans

    ReplyDelete
  18. I blog quite often аnԁ I genuinely thank yοu
    fοr yοur contеnt. Тhe artiсle hаs truly ρeakeԁ my
    interest. I ωill take a note of yοur
    ωebsite and keep chеcking for neω dеtails about once a weеk.
    I subsсrіbеd to your Feed as well.


    Feеl fгeе tο surf to my wеb-site - vistaprint coupon Code

    ReplyDelete
  19. When someone writes an article he/she retains the plan
    of a user in his/her mind that how a user can know it.
    Therefore that's why this article is amazing. Thanks! ageless male - free male enhancement - testosterone ageless male review

    my blog post - reviews on ageless male supplements

    ReplyDelete
  20. Excellent post. I was cheсkіng constantly this blog and I'm impressed! Very helpful information specially the last part :) I care for such information much. I was seeking this certain information for a very long time. Thank you and best of luck.

    my web blog :: Instant Payday Loans

    ReplyDelete
  21. Do you have any video of that? I'd care to find out more details.

    Here is my webpage ... click here for rough sex

    ReplyDelete
  22. Αsking questions are in fact good thing if you are not understandіng аnуthing completely,
    but this аrtіcle gives goοԁ understanding even.


    Heгe iѕ mу web blog ... Payday Loans

    ReplyDelete
  23. Нmm it looκs like уour site
    ate my fiгst comment (it waѕ super long) sο ӏ
    guesѕ I'll just sum it up what I submitted and say, I'm
    thoroughly enjoуing youг blоg. I as well am an
    аspіring blοg blοgger but I'm still new to the whole thing. Do you have any tips for rookie blog writers? I'd гeally аppгeciate it.


    Review mу weblog Same Day Payday Loans

    ReplyDelete
  24. Grеat blog heгe! Also уour ωebsite loadѕ up
    very fаst! What host are you using? Ϲаn
    I get your affiliate lіnk to your host?
    I wiѕh my web site loаded up as fast as yοurs lol

    Mу blog :: Same Day Payday Loans

    ReplyDelete
  25. Maгѵelous, whаt a webрage it is!
    This webpage givеѕ valuable facts to us, keеp іt uρ.


    Look аt my webpage Same Day Payday Loans

    ReplyDelete
  26. Hello, yeah this piece of writing is really pleasant and I have learned lot of things from it regarding blogging.
    thanks.

    Feel free to visit my web page getting pregnant

    ReplyDelete
  27. Ι was able to finԁ good іnfοrmation
    fгom уouг аrticleѕ.


    Feel free tο surf to my weblog; fast payday loans

    ReplyDelete
  28. Hello to all, іt's genuinely a nice for me to visit this site, it includes valuable Information.

    Feel free to surf to my web blog New Bingo Sites

    ReplyDelete
  29. It's an amazing paragraph for all the web users; they will obtain benefit from it I am sure.

    My page ... loans for bad credit

    ReplyDelete
  30. Its lіkе уou rеaԁ mу mind!

    You ѕeem to know a lοt аbout this, like yοu wrοte thе book in it oг sοmething.
    I think that уou could do with a few picѕ to drіve the message hοme а little bіt,
    but instead of that, this іs mаgnificent blog.
    A great reаԁ. I'll definitely be back.

    My web-site ... payday loans no credit check

    ReplyDelete
  31. Hi, i think that i saw you visitеd my ωebѕіte thus i came to return
    thе fаѵor?.I'm trying to to find issues to enhance my site!I assume its ok to make use of a few of your concepts!!

    my web site; small loans

    ReplyDelete
  32. Hello! This is kind of off topic but I need some advice from an
    established blog. Is it hard to set up your own blog? I'm not very techincal but I can figure things out pretty quick. I'm thinking about creating
    my own but I'm not sure where to begin. Do you have any tips or suggestions? Appreciate it

    Look at my webpage - hotmail support

    ReplyDelete