SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Nov 2002
    Location
    Canada
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    multiple same URL broswers?

    I am new to use Silktest to test web applications. I had a problem for your help:

    I want to open multiple browsers to the same URL,but I could not. How can I do it?

    :browser.loadpage("www.yahoo.com")
    :browser.loadpage("www.yahoo.com")

    I can only open one broswer by these two commands.

    Thanks

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

  2. #2
    Senior Member
    Join Date
    Oct 2002
    Location
    Calgary, Alberta, Canada
    Posts
    101
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: multiple same URL broswers?

    Here is a simple example:
    [ ] int i
    [-] main()
    [-] for(i=1;i<11;i++)
    [ ] Browser.Invoke ()
    [ ] Browser.LoadPage ("http://www.yahoo.com")
    [ ] Print("Loaded page {i}")
    [ ]


    ------------------
    Beware of bugs in the above code; I have only proved it correct, not tried it."
    --Donald Knuth
    Beware of bugs in the above code; I have only proved it correct, not tried it.
    --Donald Knuth

  3. #3
    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: multiple same URL broswers?

    Resreq,

    Just to clarify, are you wanting to open multiple instances of the same browser on one machine, or multiple different (ie, ns) browsers in succession? Do you want them on different machines testing in parallel?

    You can only manipulate one browser at a time on the same machine, just as an actual user would do.

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

  4. #4
    Junior Member
    Join Date
    Nov 2002
    Location
    Canada
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: multiple same URL broswers?

    DJGray,

    I just need to open another browser to verify that "changing password" works. So Signal_11's solution solves my problem. I did not notice the "Invoke" function before.

    Thank you



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

 

 

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 09:19 AM.

Copyright BetaSoft Inc.