SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 1999
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Browser.GetCaption ( ) - is it working correctly?

    When I run this code, Silk returns the caption of the page where it did the Click () instead of the page that it loads. Has anybody else seen this? Sometimes it even returns the URL that it is trying to load as the caption.



    [This message has been edited by sampath (edited 11-10-1999).]

  2. #2
    Member
    Join Date
    Jul 1999
    Location
    Raleigh- North Carolina
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Browser.GetCaption ( ) - is it working correctly?

    Instead of :

    Browser.GetCaption ()

    use:

    BrowserPage.GetCaption ()

    Ive seen it before, and I dont why but the Browser functions seem to be async....
    They dont respect the:

    Agent.SetOption (OPT_VERIFY_ACTIVE, TRUE)

    So they just perform their task without any waiting.

    Anybody knows why ??

    Mauro

  3. #3
    Junior Member
    Join Date
    Aug 1999
    Location
    Boston, MA
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Browser.GetCaption ( ) - is it working correctly?

    Take a look at the Browser.WaitForReady() method ... You may want to put it between the Link.Click() and the Browser.GetCaption()


    ------------------
    John McGrail
    John McGrail

 

 

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 05:48 AM.

Copyright BetaSoft Inc.