Testing the users collaboration with documents in the same website:

4 views
Skip to first unread message

Padma Madala

unread,
Mar 5, 2012, 6:21:23 AM3/5/12
to Selenium Users
Hey,

I am working for a product where I need to test like one user sends or
shares the documents with other user. Login with one user, do some
actions, logout then login as other user and asserting will be obvious
one but can I have two browser sessions opened at a time and sending
commands for both the browsers in the same test case???

gentle...@gmail.com

unread,
Mar 6, 2012, 12:25:50 AM3/6/12
to seleniu...@googlegroups.com
Yeah but u cannot do that with selenium RC, you need to use Selenium Grid for that.

Charan
Sent from my BlackBerry® smartphone from !DEA
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en.

Krishnan Mahadevan

unread,
Mar 6, 2012, 12:41:18 AM3/6/12
to seleniu...@googlegroups.com
This can be done without the grid, if you are working with WebDrivers wherein you would basically be instantiating two web drivers and then work with it.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

santhosh soma

unread,
Mar 6, 2012, 1:40:18 AM3/6/12
to seleniu...@googlegroups.com
We can do with both versions of selenium and webdriver by creating two objects for each browser thats it.

For the given scenario, we need to create the separate browser object for the two users.

let me know if you need any help in further.

Thanks
Santhosh.

Ross Patterson

unread,
Mar 6, 2012, 8:39:16 AM3/6/12
to seleniu...@googlegroups.com
Sure you can. Selenium RC is perfectly happy to launch multiple browsers - a separate one each time you call the Start() method. You can't run multiple Internet Explorer sessions, but that's an IE restriction. For Firefox and Chrome, it works just fine, and while I've never tried, I expect Opera would as well.

Ross

-----Original Message-----
From: seleniu...@googlegroups.com [mailto:seleniu...@googlegroups.com] On Behalf Of gentle...@gmail.com
Sent: Tuesday, March 06, 2012 12:26 AM
To: seleniu...@googlegroups.com
Subject: Re: [selenium-users] Testing the users collaboration with documents in the same website:

Yeah but u cannot do that with selenium RC, you need to use Selenium Grid for that.

Charan
Sent from my BlackBerry(r) smartphone from !DEA

Reply all
Reply to author
Forward
0 new messages