To add to this, I usually launch my tests from a batch file. If the
chromedriver.exe is located in "C:\selenium" then at the start of the
batch file I put:
set PATH=C:\selenium;%PATH%
This insures I get the chromedriver.exe I want and not something
someone might have installed in C:\Windows or C:\Windows\system32.
On Jan 19, 4:14 pm, Bill Ross <
r...@cgl.ucsf.edu> wrote:
> Fwiw if you put chromedriver.exe on the machine's PATH, you don't have
> to specify the location.
>
> Bill
>
> On 1/18/2013 3:04 PM, Prithvi Raj wrote:
>
>
>
>
>
>
>
> > Hi Richard,
>
> > Thanks for your help. I did try using it in the command prompt on the
> > command prompt while starting the node
> > -Dwebdriver.chrome.driver= C:\Grid
> > Files\chromedriver_win_23.0.1240.0\chromedriver.exe
>
> > But still the same error. Can you please advise how to go about or is
> > there a link where i can look into.
>
> > Thanks
>
> > Prithvi
>
> > On Sat, Jan 19, 2013 at 3:21 AM, Richard Lavoie
> > <
lavoie.rich...@gmail.com <mailto:
lavoie.rich...@gmail.com>> wrote:
>
> > The property has to be set on the executing slave node with a -D
> > jvm parameter.
>
> > It makes no sense in the first place to set the property in local
> > system when hou want the browser to be executed remotely.
>
> > R.
>
> > On 2013-01-18, at 15:25, Prithvi Raj <
mprithvi...@gmail.com
> >> <
lavoie.rich...@gmail.com <mailto:
lavoie.rich...@gmail.com>> wrote:
>
> >> If you look on the link that Mike sent, there is an example
> >> of Capability configuration and it explains the problem that
> >> I'm talking about.
>
> >> R.
>
> >> On 2013-01-18, at 13:50, Prithvi Raj <
mprithvi...@gmail.com
> >> <mailto:
mprithvi...@gmail.com>> wrote:
>
> >>> Richard,
>
> >>> Thanks. I have also attached the console when after
> >>> connecting the hub and node. This are the browsers
> >>> configured on my slave.
>
> >>> Can you throw some light on the capability object? I see
> >>> that DesiredCapabilities is derived from Capability Interface.
> >>> If you can direct me with a snippet that would be great.
>
> >>> Mike - Thanks I did configured the grid seeing that website
> >>> and I could successfully configure.
>
> >>> I did configured TestNG with parallel attribute and thread
> >>> counts. Anyways I will ask in the TestNg forum as well if I
> >>> am doing something wrong.
>
> >>> Cheers!!!
>
> >>> Prithvi
>
> >>> On Fri, Jan 18, 2013 at 11:34 PM, Richard Lavoie
> >>> <
lavoie.rich...@gmail.com <mailto:
lavoie.rich...@gmail.com>>
> >>> wrote:
>
> >>> What do you see when you connect to the console of the
> >>> grid ? what are the browsers configured for your slave ?
>
> >>> Mouse over the icons to see the capabilities handled for
> >>> each browsers.
>
> >>> Also the problem might also be with the Platform
> >>> capability matching (I've had problems with that in the
> >>> past in previous versions, dunno if it was fixed), try
> >>> creating yourself a Capability object without using
> >>> DesiredCapabilities.firefox() and just specify the
> >>> browser attribute. See if that helps.
>
> >>> On Fri, Jan 18, 2013 at 12:59 PM, Prithvi Raj
> >>> <
mprithvi...@gmail.com <mailto:
mprithvi...@gmail.com>>
> >>> wrote:
>
> >>> Hi Richard,
>
> >>> Both of them have been started as I had prepared a
> >>> bat file which invokes the grid and node together
> >>> and I can see the console which shows the number of
> >>> instances of different browsers. Also I had changed
> >>> the instances in WebConfig.txt file.
>
> >>> So Its up and running but the tests are not getting
> >>> executed.
> >>> What could be the reason?
> >>> I have attached the screenshots for your reference.
>
> >>> Cheers!!!
>
> >>> Prithvi
>
> >>> On Fri, Jan 18, 2013 at 10:48 PM, Richard Lavoie
> >>> <
lavoie.rich...@gmail.com
> >>> <mailto:
lavoie.rich...@gmail.com>> wrote:
>
> >>> if you wanna know what are the slaves connected
> >>> to your grid, you can connect to your grid by
> >>> http onhttp://grid:4444/and follow the console
> >>> link
>
> >>> On Fri, Jan 18, 2013 at 12:17 PM, Richard Lavoie
> >>> <
lavoie.rich...@gmail.com
> >>> Raj <
mprithvi...@gmail.com
> >>> <mailto:
mprithvi...@gmail.com>> wrote:
>
> >>> d by:
> >>> org.openqa.selenium.remote.ErrorHandler$UnknownServerException:
> >>> Error forwarding the new session cannot
> >>> find : {platform=WINDOWS,
> >>> ensureCleanSession=true, br
>
> >>> When you have a grid, you also need to start
> >>> a slave node to connect to this grid so you
> >>> have real executors. The grid only acts as a
> >>> proxy and cannot acts at the same time as a
> >>> slave executor.
>
> >>> So you have to start a Grid, and a slave node.
>
> >>> --
> >>> Richard Lavoie
> >>> IT consultant / consultant en informatique
>
> >>> --
> >>> Richard Lavoie
> >>> IT consultant / consultant en informatique
> >>> --
> >>> You received this message because you are
> >>> subscribed to the Google Groups "webdriver" group.
> >>> To post to this group, send email to
> >>>
webd...@googlegroups.com
> >>> <mailto:
webd...@googlegroups.com>.
> >>> <mailto:
webdriver%2Bunsu...@googlegroups.com>.
> >>> <mailto:
webd...@googlegroups.com>.
> >>> <mailto:
webdriver%2Bunsu...@googlegroups.com>.
> >>> For more options, visit this group at
> >>>
http://groups.google.com/group/webdriver?hl=en.
>
> >>> --
> >>> Richard Lavoie
> >>> IT consultant / consultant en informatique
> >>> --
> >>> You received this message because you are subscribed to
> >>> the Google Groups "webdriver" group.
> >>> To post to this group, send email to
> >>>
webd...@googlegroups.com
> >>> <mailto:
webd...@googlegroups.com>.
> >>> <mailto:
webdriver%2Bunsu...@googlegroups.com>.
> ...
>
> read more »