SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to record calculator

    Hi all,
    It's too embarassing to ask this question,but I am trying to learn QTP and I couldn't able to record the steps on calculator application using QTP 9.2 evaluvation version and using windows XP service patch 2.It doesn't record anything on the calculator.

    How can I do this?Please suggest me.

    Thanks,
    krishp

  2. #2
    Moderator
    Join Date
    Jan 2007
    Location
    Pittsburgh, PA
    Posts
    2,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to record calculator

    This code is from QTP help file(SendKeys method).

    set WshShell = CreateObject("WScript.Shell")
    WshShell.Run "calc"
    Wait 2
    WshShell.AppActivate "Calculator"
    Wait 2
    WshShell.SendKeys "1{+}"
    Wait 2
    WshShell.SendKeys "2"
    Wait 2
    WshShell.SendKeys "="
    Wait 2
    WshShell.SendKeys "*3"
    Wait 2
    WshShell.SendKeys "="
    Wait 2

  3. #3
    Junior Member
    Join Date
    Jan 2008
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to record calculator

    thanks..

    i got it ..before start recording, i should have to select 'windows application' in Automation-->Record and run settings.
    thanks ..
    bye.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:17 PM.

Copyright BetaSoft Inc.