SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Jan 2003
    Location
    edison,nj,usa
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to site in a browser from script on its own

    Can any one please let me know that how can i open site in browser

    Thanks,

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

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to site in a browser from script on its own

    What do you mean? The question lacks sufficient information to really answer it.

    If I understand you correctly you're looking at something like:

    string sURL = "http://www.google.com"

    Browser.Location.SetText(sURL)
    Browser.Location.TypeKeys("<Enter>")

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

  3. #3
    Senior Member
    Join Date
    Dec 2000
    Location
    Phoenix, AZ
    Posts
    371
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to site in a browser from script on its own

    or you could do something like

    string sURL = "http://www.google.com"

    Browser.Invoke()
    Browser.LoadPage(sURL)


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

  4. #4
    Junior Member
    Join Date
    Jan 2003
    Location
    edison,nj,usa
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to site in a browser from script on its own

    Hi I have tried like
    string sURL = "http://www.google.com"

    Browser.Location.SetText(sURL)
    Browser.Location.TypeKeys("<Enter>")

    But i am getting syntax error.
    And how can i mention the type of browser that to use IE or netscape.
    Thanks

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

  5. #5
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to site in a browser from script on its own

    I'm taking a guess that Silk is pretty new to you. I'd like to suggest that you spend a great deal of time in the library browser you will find under the help menu. It is tremendously helpful at getting started with the tool.

    More to your specific question... here is how I call browsers. I have a list of "supported" browsers in an ini file. The value attached to each browser is either true of false. I call that ini file and add all those set to true to a list of string (lsBrowsersToTestUnder) and based on that list of string, do this...

    Hope that helps. Aside from the Library Browser, look also at Help Topics and read about the BROWSERTYPE data type. I think you'll find some useful information there.

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

 

 

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 12:21 AM.

Copyright BetaSoft Inc.