SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    SQA Council
    Join Date
    Mar 2001
    Posts
    8,591
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Customising message box

    User Balasubramanya (Balasubramanya@kshema.com.nospam) posted:

    ------_=_NextPart_001_01C1351C.1B283BA4
    Content-Type: text/plain;
    charset="iso-8859-1"

    Hello all,
    Is it possible to create/customise a message box (other than using pause()
    that will pop up a specified message while executing any script, with OK and
    Cancel button in it?If so, on clicking OK, it should continue executing the
    script, and on clicking Cancel button, it should stop executing the script(
    similar to pause msg. box with OK and Cancel buttons). Has anyone tried
    this? If so, Please let me know.
    Balasubramanya,
    Kshema Technologies Ltd,
    12/2,Mylasandra Village, Behind R.V.College of Engg.,
    Mysore Road,Bangalore-59.
    Ph.no.860 3600/1/2/3 Ext. 2031
    Email: <mailto:Email: Balasubramanya@kshema.com> Balasubramanya@kshema.com
    Home Page: http://www.kshema.com <http://www.kshema.com/>



    *******************Confidential Notice********************

    This e-mail communication may contain information that is
    confidential and privileged. The information is intended
    to be for the use of the addressee only. If you are not the
    named addressee you should not disseminate, distribute or
    copy this e-mail: to do so could be a breach of confidence.

    Kshema Technologies Ltd.,
    # 1, Global Village, Mylasandra,
    Mysore Road, Bangalore 560059, INDIA.
    Tel: (91)-80-8603600-17
    Fax: (91)-80-8603372

    ************************************************** ********

    ------_=_NextPart_001_01C1351C.1B283BA4
    Content-Type: text/html; charset=US-ASCII
    Content-Transfer-Encoding: 7bit

    < !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


    <META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
    it possible to create/customise a message box (other than using pause() that
    will pop up a specified message while executing any script, with OK and Cancel
    button in it?If so, onclicking OK, it should continue executing the
    script, and on clicking Cancel button, it should stop executing the script(
    similar to pause msg. box with OK and Cancel buttons). Has anyone tried this? If
    so, Please let me know.</SPAN></FONT></DIV>
    Behind R.V.College of Engg.,
    Mysore Road,Bangalore-59.
    Ph.no.860
    3600/1/2/3 Ext<SPAN class=351242104-21032001>.
    href="mailto:Email: Balasubramanya@kshema.com">Email:

    < !-- |**|begin egp html banner|**| -->


  2. #2
    SQA Council
    Join Date
    Mar 2001
    Posts
    8,591
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Customising message box

    User Yoram Vardi (yoram.vardi@amdocs.com.nospam) posted:

    ------_=_NextPart_001_01C13525.5F28DC60
    Content-Type: text/plain;
    charset="iso-8859-1"

    Hi, check out the "Creating Dialog Boxes for Interactive Input" section in
    the users guide.


    Regards, Yoram.



  3. #3
    SQA Council
    Join Date
    Mar 2001
    Posts
    8,591
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Customising message box

    User (girish@magicsoftware.com.nospam) posted:
    hello Mr. Balsubramanya,

    I this this statement will solve u'r problem.......


    pause_test ("Hello to Pause the test", "OK", "Cancel");

    pls try it out and pls.. let me know.

    girish-t.

    Balasubramanya
    <Balasubramanya@k To: winrunner@yahoogroups.com
    shema.com> cc:
    Subject: [winrunner] Customising message box
    09/04/01 02:02 PM
    Please respond to
    winrunner


    Hello all,
    Is it possible to create/customise a message box (other than using pause
    () that will pop up a specified message while executing any script, with
    OK and Cancel button in it?If so, on*clicking OK, it should continue
    executing the script, and on clicking Cancel button, it should stop
    executing the script( similar to pause msg. box with OK and Cancel
    buttons). Has anyone tried this? If so, Please let me know.

    Balasubramanya,
    Kshema Technologies Ltd,
    12/2,Mylasandra Village, Behind R.V.College of Engg.,
    Mysore Road,Bangalore-59.
    Ph.no.860 3600/1/2/3 Ext. 2031
    Email: Balasubramanya@kshema.com
    Home Page: http://www.kshema.com

    Yahoo! Groups Sponsor



    ADVERTISEMENT
    Lose 20 lbs by November 5th


    [IMAGE]




  4. #4
    SQA Council
    Join Date
    Mar 2001
    Posts
    8,591
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Customising message box

    User (girish@magicsoftware.com.nospam) posted:

    hello Mr. Balsubramanya,

    I this this statement will solve u'r problem.......


    pause_test ("Hello to Pause the test", "OK", "Cancel");

    pls try it out and pls.. let me know.

    girish-t.


    Balasubramanya
    <Balasubramanya@k To:
    winrunner@yahoogroups.com
    shema.com> cc:
    Subject: [winrunner]
    Customising message box
    09/04/01 02:02 PM
    Please respond to
    winrunner


    Hello all,
    Is it possible to create/customise a message box (other than using pause
    () that will pop up a specified message while executing any script, with
    OK and Cancel button in it?If so, on*clicking OK, it should continue
    executing the script, and on clicking Cancel button, it should stop
    executing the script( similar to pause msg. box with OK and Cancel
    buttons). Has anyone tried this? If so, Please let me know.

    Balasubramanya,
    Kshema Technologies Ltd,
    12/2,Mylasandra Village, Behind R.V.College of Engg.,
    Mysore Road,Bangalore-59.
    Ph.no.860 3600/1/2/3 Ext. 2031
    Email: Balasubramanya@kshema.com
    Home Page: http://www.kshema.com
    ------------------------ Yahoo! Groups Sponsor ---------------------~-->
    Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide: "Securing Your Web Site for Business." Get it Now! http://us.click.yahoo.com/n7RbFC/zhw...gFAA/NhFolB/TM


  5. #5
    SQA Council
    Join Date
    Mar 2001
    Posts
    8,591
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Customising message box

    User Sunil Swami (sunswami@yahoo.com.nospam) posted:

    hi girish,

    the solution u mentioned does not work... u wud still get the two
    default button... "continue" and "pause".. and not OK n Cancel
    mentioned in the pause statement

    btw which version of WR r u using.


    ciao,
    sunil

    --- In winrunner@y..., girish@m... wrote:

    Balasubramanya

    winrunner@y...
    cc:

    [winrunner] Customising message box
    PM

    to

    winrunner



    pause
    script, with
    continue

    Sponsor



    ADVERTISEMENT
    5th


    [IMAGE]

    message
    program
    address in


    ------------------------ Yahoo! Groups Sponsor ---------------------~-->
    Secure your servers with 128-bit SSL encryption! Grab your copy of VeriSign's FREE Guide: "Securing Your Web Site for Business." Get it Now! http://us.click.yahoo.com/n7RbFC/zhw...gFAA/NhFolB/TM


  6. #6
    Member
    Join Date
    Feb 2001
    Location
    Providence RI
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Customising message box

    Try this

    Load_dll("c:\\windows\\system\\user.exe");

    exterb int MessageBox (int, string, string, int);

    if (MessageBox (NULL, "Do you wish to Contiue?","Message:,MB_YESNO)!=IDYES)
    {
    texit; #return code IDYES indicated that the Yes button was pressed
    }



    ------------------

  7. #7
    Junior Member
    Join Date
    Nov 2001
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Customising message box

    Hi,
    Whatever Girish suggests
    pause_test ("Hello to Pause the test", "OK", "Cancel");

    works fine with Version 7.01

 

 

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 03:47 PM.

Copyright BetaSoft Inc.