SPONSORS:






User Tag List

Results 1 to 2 of 2

Thread: SilkTest 5.0

  1. #1
    Member
    Join Date
    Oct 2002
    Location
    Earth (I think!)
    Posts
    92
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SilkTest 5.0

    Could others please verify the follow (I've tried it on multiple machines with the same configuration got same results)...

    Created a new test script (no object files would have been created).

    Use default options (that is do not open an existing .opt file).

    test.t
    [+] main()
    [ ] Browser.WaitForReady(2)
    [ ]

    With a browser (any Netscape4.08, 4.51, IE4) running...
    run the script.

    I get...
    [ ] Script test.t - 1 error
    [ ] Machine: (local)
    [ ] Started: 12:08:45PM on 19-Apr-1999
    [ ] Elapsed: 0:00:00
    [ ] Totals: 1 error, 0 warnings
    [ ]
    [ ] *** Error: Function failed to return a value
    [ ] Occurred in WaitForReady
    [ ] Called from main at test.t(2)

    My environment is:

    WindowsNT 4.0, sp4
    Silk 5.0
    Netscape 4.51 (even tried it on Netscape 4.08 and IE4)

    I'm curious because I'm compiling code that ran on 2.1.4 but now the compilation results in silk5.0 crashing. In trying to determine what was causing the crash I came across this very simple bug(?).
    Need to determine if there's something wrong with my environment or if it's 5.0

    Thanks,

    ShaneD
    Let go Luke!

  2. #2
    Guest

    Re: SilkTest 5.0

    I tried to run your Main() just as you laid out using SilkTest 5.0. It failed the same way, but then I would expect it too. There is nothing that opens the browser before that.

    Changing the file to include a declaration and using a testcase with a DefaultState, it is working.

    This is what I changed it to:

    [ ] const wMainWindow = BetaSoftSoftwareQualityAssu

    [-] window BrowserChild BetaSoftSoftwareQualityAssu
    [ ] tag "BetaSoft Software Quality Assurance Provider"
    [ ]
    [ ]
    [ ] const sLocation = "http://www.beta-soft.com"
    [ ]
    [ ]
    [-] testcase BetaSoft () appstate DefaultBaseState
    [ ] Browser.WaitForReady(2)
    [ ]

    This now passes.



 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin 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 11:05 PM.

Copyright BetaSoft Inc.