SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    New Member
    Join Date
    Apr 2008
    Location
    New York
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to automate multiple user login sessions?

    Hi all,

    I'm using UFT 11, trying to automate multiple user login sessions into Chrome browser, e.g. 3 users logging into their Yahoo accounts respectively and stay online. How do I do it?

    I was able to do so using selenium webdriver, which handles this situation automatically.

    But when I use UFT, after the first user logs in the first browser, the second browser will have the first user session. I could open an incognito browser to login a second user, but any new incognito browser will have the same session as the second one. So I can have maximum two logins.

    Thanks a lot for any help.

  2. #2
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,805
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    What about using IE or Firefox for the 3rd user?

    Mark Smith.

  3. #3
    New Member
    Join Date
    Apr 2008
    Location
    New York
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Our product is based on Chrome, so have to use it.

  4. #4
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,805
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    What about trying a 32-bit and 64-bit of Chrome?

    Mark Smith.

  5. #5
    New Member
    Join Date
    Apr 2008
    Location
    New York
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    That's a good idea, thanks.
    However I'm looking for a solution on the QTP side instead of the AUT.

  6. #6
    SQA Knight
    Join Date
    Jun 2008
    Posts
    2,573
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    With QTP being single threaded the solution there would be to spin up another machine with another license.

    ...or just make a command line call to your selenium script.

  7. #7
    Apprentice
    Join Date
    Nov 2011
    Posts
    17
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    After login grab HWND value of each browser.

  8. #8
    Apprentice
    Join Date
    Nov 2015
    Posts
    30
    Post Thanks / Like
    Blog Entries
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Firefox would be the best option for this scene. Otherwise you can use IE or Opera as well.

  9. #9
    New Member
    Join Date
    Apr 2008
    Location
    New York
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Quote Originally Posted by sureshdsc View Post
    After login grab HWND value of each browser.
    Can you be more specific? After grabbing HWND value of each browser, then?

  10. #10
    New Member
    Join Date
    Apr 2008
    Location
    New York
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Quote Originally Posted by markzuekarly View Post
    Firefox would be the best option for this scene. Otherwise you can use IE or Opera as well.
    But our product (AUT) is Chrome based, can't switch.

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.00%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 01:21 PM.

Copyright BetaSoft Inc.