[BangPypers] Fw: Run selenium script in python on remote systems
newtech2learn at yahoo.com
Fri Jun 8 07:04:23 CEST 2012
Please provide your valuable inputs to resolve below mentioned issue.
Baiju: Pls let me know the steps with jenkins to get some confidence on selenium+python.
On Thu, Jun 7, 2012 at 8:55 PM, Prem Sri <newtech2learn at yahoo.com> wrote:
> Thanks for providing the info. I can able to run the script on local system
> thru "Hub". Unable to run on remote system.Sorry for asking again as I just
> started learning...
> Two systems
> System-1: XP, Firefox_ver: 12; python-2.7.3, jdk-1.6 and setup the
> path.Installed jenkins [Unable to understand the usage].
> System-2: XP, Firefox_ver: 4; python-2.7.2, jdk-1.6 and setup the path.
> Python-Selenium script: Taken the script and modified accordingly and PFA
> for the same
> Both systems are in the same network and communicating properly.
> Started the RC server as hub "java -jar
> selenium-server-standalone-2.22.0.jar -role hub"
> Started the node "java -jar selenium-server-standalone-2.22.0.jar -role node
> -hub http://System-2IP:4445/grid/register -browser
> browserName=firefox,version=4,firefox_binary="C:\Program Files\Mozilla
> Nothing is running
> I want to run "Webdriver" in both scenarios as mentioned in ur mail
> [pointers 1,2]
> What should be the setup in System-1 and System-2? What changes required in
> the script?
> How to use json and jenkins to this scenario?
> From: Baiju M <baiju.m.mail at gmail.com>
> To: Prem Sri <newtech2learn at yahoo.com>; Bangalore Python Users Group - India
> <bangpypers at python.org>
> Sent: Wednesday, June 6, 2012 9:24 PM
> Subject: Re: [BangPypers] Run selenium script in python on remote systems
> On Wed, Jun 6, 2012 at 9:15 PM, Prem Sri <newtech2learn at yahoo.com> wrote:
>> I am unable to find proper steps to run the selenium script in python on
>> remote systems. Could you please provide the steps.
> Just few pointers:
> 1. You can use Jenkins with slaves and run selenium scripts remotely.
> 2. Use Grid2
> Jenkins has a plugin for this:
> Baiju M
More information about the BangPypers