Selenium-Gird

8 views
Skip to first unread message

Girish pattana

unread,
Aug 5, 2010, 5:48:50 AM8/5/10
to indian-seleni...@googlegroups.com
Hi ,
     Can any one please explain me , how to run test cases on two different browsers(IE & FF) on windows, parallely using Grid.Iam able to run testcases parallely using 2 instances of firefox, but not with IE and firefox.since while creating a selenium object iam passing arguments from a property file (hostname, port, browser =*chrome, url ).


Thanks,
 -Girish

amaresh ojha

unread,
Aug 5, 2010, 6:08:29 AM8/5/10
to indian-seleni...@googlegroups.com
U need to start two remote controls separately on ur machine , one for FF and other for IE.


--
You received this message because you are subscribed to the Google Groups "Indian Selenium Users Group" group.
To post to this group, send email to indian-seleni...@googlegroups.com.
To unsubscribe from this group, send email to indian-selenium-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/indian-selenium-users-group?hl=en.

girish babu

unread,
Aug 5, 2010, 6:08:26 AM8/5/10
to indian-seleni...@googlegroups.com

u need 2 pass  the parameter as browertype when u r starting the RC in grid mode....



On Thu, Aug 5, 2010 at 3:18 PM, Girish pattana <giri...@gmail.com> wrote:

--

Girish pattana

unread,
Aug 5, 2010, 6:36:09 AM8/5/10
to indian-seleni...@googlegroups.com

Hi,
     Iam creating selenium object from reading property file so below is code..so incase if open other instance of IE also it wont run that instance so...
    

Properties properties = new Properties ();
        try
        {
            properties.load (new FileInputStream ("config/RP.properties"));
            sHostname = properties.getProperty("
hostname");
            iPortNumber = Integer.parseInt(properties.getProperty("portnumber"));
            sExplorer = properties.getProperty("explorer");
            sURL = properties.getProperty("url");
          
---------------------------------------------------------------------------------------------------
hostname   = 127.0.0.1
portnumber = 5555
#explorer   = *chrome /usr/lib/firefox-3.0.5/firefox
explorer   = *chrome C:\\Program Files\\Mozilla Firefox\\firefox.exe
#url        = http://mq-wap-vm-lm01.ihost.aol.com:8500
url
Reply all
Reply to author
Forward
0 new messages