SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 10 of 10
  1. #1
    Senior Member
    Join Date
    Aug 2004
    Location
    Zurich
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to Wait with out Using Wait in QTP

    Hi All,

    In Winrunner we can wait for few Seconds using method Type

    Winrunner Script :

    type("Hi<t3>Hello");

    Using above Sript Winrunner will Wait for 3 seconds and then type Hello

    How to implement the Same in QTP ??

  2. #2
    Member
    Join Date
    Jul 2004
    Location
    UK
    Posts
    201
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Wait with out Using Wait in QTP

    you can use pop-up message box

    Set WshShell = CreateObject("WScript.Shell")
    WshShell.Popup "Some text", TimeOut, "Some Title"

    If TimeOut is greater then 0 then the dialog will disappear after the specified number of seconds.

    ex:
    WshShell.Popup "text", 3, "title"
    Malleswari.

  3. #3
    Senior Member
    Join Date
    Aug 2004
    Location
    Zurich
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Wait with out Using Wait in QTP

    Hi Malleswari,

    Plz read My Question Once again and Understand what is My Question Try to Give Appropriate Solutions ...

    You gave Me Irrelavent Solution

  4. #4
    Member
    Join Date
    Jul 2004
    Location
    UK
    Posts
    201
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Wait with out Using Wait in QTP

    Oh yes i too come to knew later

    so you want to wait while set some value to a text field.

    what exactly you want by having this delay?
    Malleswari.

  5. #5
    Senior Member
    Join Date
    Aug 2004
    Location
    Zurich
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Wait with out Using Wait in QTP

    Hi MalleswariQA,

    I want to wait before typing Hello Not "SET"

    Script Should be with in Single Statement ..

    type("Hi<t3>Hello");

  6. #6
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,788
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Wait with out Using Wait in QTP

    Not possible in QTP, why not use:

    Wait(3)
    Type "Hello"

    So it's not what you want but it does the job, sometimes you have to use what the tool has and not become too hung-up on "I want to do it like I did in WinRunner".

    QTP is NOT an enhancement of WinRunner!

    Mark Smith.

  7. #7
    Senior Member
    Join Date
    Oct 2004
    Location
    Bangalore
    Posts
    270
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Wait with out Using Wait in QTP

    Hi,
    Can i know why exactly you want to type Hi after some time hello, that to in MSGBOX....really surprising???

    Yogi

  8. #8
    Member
    Join Date
    Jul 2004
    Location
    UK
    Posts
    201
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Wait with out Using Wait in QTP

    Hi,

    I know whatz the difference for type an set....

    but u can try search on the forum using 'type' or some other keyword.

    similar problem has been addressed somewhere!!!

    also please try to put your actual problem instead of saying abt some thing similar in Winrunner tool.
    Malleswari.

  9. #9
    Member
    Join Date
    Nov 2004
    Posts
    69
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Wait with out Using Wait in QTP

    Hi 92985

    What is this man.what you want Exactly ?

  10. #10
    Member
    Join Date
    Oct 2002
    Posts
    38
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Wait with out Using Wait in QTP

    92985 doesn't know what he wants & even doesn't know how to post it

 

 

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 9.38%
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:21 PM.

Copyright BetaSoft Inc.