SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2

Thread: Error Codes

  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

    Error Codes

    User =?iso-8859-1?q?Sankara=20Narayanan?= (narayanan_sss@yahoo.co.uk.nospam) posted:

    Here, rc captures the return code that is returned by
    the TSL builtin function win_exists here. If
    win_exists executes successfully, it will return 0 and
    if not, it will return some error code. For the list
    of error codes see TSL online reference.

    The TSL online reference gives the same list of error
    codes for all the TSL Functions. Iam wondering how it
    is possible. Long time back I raised a question
    regarding this. I didnt get any reply and hence Iam
    repeating the same question once again. Requesting
    your thoughts on this.

    Thanks in advance.

    With Regards,
    Sankara,
    The Police Dog.

    = = = Original message = = =

    I am new to WinRunner and programming in general. I
    see "rc" in the
    code but am not sure what it does (se example below).
    I've checked the
    glossary and it does not really explain it. Can
    someone give me a brief
    overview?

    Thanks!


    hour = get_system_date_or_time("hour");
    rc = win_exists(DST_FA_LIST_WINDOW, 20);
    if((hour < 15) &#0124; &#0124; (hour > 19))
    set_tl_step_condition("Validate Trading
    Services link",
    "Trading is UP", "Trading is DOWN!", rc, 1);




    Yahoo! Groups Sponsor

    ADVERTISEMENT



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

    Re: Error Codes

    The list of TSL Error codes is the complete list of all TSL functions possible errors.
    Naturally each TSL function returns only its own relevant subset of these errors.

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

 

 

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 12.50%
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 04:45 PM.

Copyright BetaSoft Inc.