SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Dec 2001
    Location
    San Jose, CA
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can SilkTest call javascript\'s functions?

    I have a couple of javascript functions such as submit() and delete().
    If you point your mouse over these objects, you will see 'javascript:submit()' or 'javascript:delete()' in browser status bar.

    Can SilkTest directly call these?

    Thanks.
    Michael

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

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Westford, MA, USA
    Posts
    160
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can SilkTest call javascript\'s functions?

    Segue provides online documentation for this (at least in 5.5 they do -- that's what I'm using). For starters:

    ---------

    Can I test JavaScript objects?

    Generally, SilkTest does not recognize methods defined for JavaScript objects on a Web page. However, you can use our InvokeJava method to access methods for testing JavaScript objects in Netscape if these objects reside on a Web page that contains an applet.

    ----------

    For more information, just look up JavaScript in Help - Help Topics.

    AG

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

  3. #3
    rg
    rg is offline
    Member
    Join Date
    Feb 2000
    Posts
    98
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can SilkTest call javascript\'s functions?

    You can also call ExecScript and ExecLine for calling JavaScript code in IE 5+ and Netscape 6. Can't remember when this was added. Probably ST 5.5.

  4. #4
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Can SilkTest call javascript\'s functions?

    In 5.032 ExecScript and ExecLine *CAN* cause IE to crash. In 5.5 these functions might do the same thing, I never tried. Everything depends on your environment.

    For 5.032 I had win2k(no sp), IE5.0(with sp1 I believe).

    Use it at your risk

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

 

 

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 02:35 AM.

Copyright BetaSoft Inc.