Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
390 views
in Selenium by
recategorized by
I am trying to setup grid. I need helping hand in breaking up selenium grid commands. I need explaination where I can understand, which command does what.

1 Answer

0 like 0 dislike
by The go-to Tester (327 points)
selected by
 
Best answer

 

We have broken up selenium grid commands as below.

1.) JVM command.

java-selenium-commands-breakup

java-selenium-commands-breakup

2.) Commands supported by Selenium standalone JAR file. (as on Jan 1st 2015). We are covering most used commands to setup the grid.

-role (options hub,node) – This helps to instruct stand alone JAR file to act according to role defined. By default selenium stand alone will start as server, by defining role we can instruct stand alone server to act as node or grid hub. There are many other roles which are not covered here.

-browser (In case we are using JAR file to initiate node, using browser comand we can specifiy which browser to be acted as)

e.g.

browserName=firefox,version=34.0.5,maxInstances=5,platform=WINDOWS

Here,

  • browerName = name of the browser you want to specify
  • version = version of the browser
  • maxInstance = Maximum number of parallel instances supported by node.
  • platform = WINDOWS (Specify operating system name of the node.)
  • firefox_binary= if you want to instruct JAR file to look for binary from some other location then default location.

-hub = Specify location of grid.

e.g.http://localhost:4444/grid/register

If you grid hub is on some other computer, specify IP address of the computer hosting grid hub.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...