SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Mar 2007
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    which method in TC6 is ~ to \'pause\' in WinRunner

    which method in TC6 is similar to 'pause' in WinRunner. I have PAUSE the TC script with 'a user message' during batch execution. I am excecting a single line statement that allows to continue the execution after a single click from the user. I think, it is some thing different from using 'Break Points' or 'Delay(xxx)' statement.

    Note: I am using 'TestComplete 3 Compatibility plug-in'...so it does NOT allow to use "Runner.PauseScript" method (please correct me, if I am wrong)

    Thanks in advance...

  2. #2
    Senior Member
    Join Date
    Aug 2001
    Posts
    529
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: which method in TC6 is ~ to \'pause\' in WinRunner

    I believe it is Utilities.ShowMessage, or is it Win32.ShowMessage. I guess I would look up ShowMessage in the help file.
    Eric Holton
    Microsoft Corp.

  3. #3
    Junior Member
    Join Date
    Mar 2007
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: which method in TC6 is ~ to \'pause\' in WinRunner

    Thanks for the reply.

    But, I already found the (work around) solution.

    BuiltIn.ShowMessage("xxxxx") ' --- It shows the given message
    Sys.Keys("![F10]") ' --- It pauses the script execution

  4. #4
    Junior Member
    Join Date
    Mar 2007
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: which method in TC6 is ~ to \'pause\' in WinRunner

    Sorry. I realized that - Sys.Keys("![F10]") - doesn't work when "Enable Script Debugging" is "NOT" enabled/checked.

    Does any one know, how to pause the script execution when "Enable Script Debugging" is "NOT" enabled/checked?

    Thanks

  5. #5
    Senior Member
    Join Date
    Aug 2006
    Posts
    1,920
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: which method in TC6 is ~ to \'pause\' in WinRunner

    Hi,

    Pausing the script is the debugger's function, so you cannot pause the script execution when the debugging is off.
    Jared - AQA Support

  6. #6
    Junior Member
    Join Date
    Mar 2007
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: which method in TC6 is ~ to \'pause\' in WinRunner

    Can we handle "debugging on & off" using coding(VBscript)? If so, how?

  7. #7
    Senior Member
    Join Date
    Oct 2003
    Posts
    928
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: which method in TC6 is ~ to \'pause\' in WinRunner

    Hi,

    No, there is no way to do this from script.
    Regards,
    Alex - SmartBear Support

 

 

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 10.00%
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 12:10 AM.

Copyright BetaSoft Inc.