blueprintmrk / selenium-vba

Automatically exported from code.google.com/p/selenium-vba
0 stars 0 forks source link

How to do parallel runs on remote machines #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Operating system :
.Net Framework version :3.5 and 4.0
Office Version :2003,2007,2010
SeleniumWrapper version :2.32

What new feature do you need?
Can the current version support parallel test runs on remote machines as 
supported by Selenium grid?
If so can you give us some examples how to do it?
An example of use ?
1.In the Selenium Java version we have Web Driver and Selenium Grid combined to 
perform parallel test runs on different remote machines.
How to do this in Selenium-vba.

The reason I ask this question is, I am excited about Selenium-vba but this is 
a critical requirement for my project.If this feature available then I can move 
my vbscript based test automation engineers to Selenium-vba. Else I have to 
train them on Java development or recruit new java developers. This can help me 
a lot to reuse my test resources.
Venkatesen

Original issue reported on code.google.com by sqave...@gmail.com on 13 Jun 2013 at 3:43

GoogleCodeExporter commented 9 years ago
The current version supports remote control through the startRemotely command 
and therefore allows the use of the Grid.

Syntax :
startRemotely browser, remoteAddress, baseUrl
 browser : Name of the browser : firefox, ie, chrome, phantomjs, htmlunit, htmlunitwithjavascript, android, ipad, opera
 remoteAddress : Remote url address (ex : "http://localhost:4444/wd/hub")
 baseUrl : Base URL of the tested website

Example : 
Set selenium = CreateObject("SeleniumWrapper.WebDriver")
selenium.startRemotely "firefox", "http://localhost:4444/wd/hub", 
"http://www.google.com"
selenium.Open "/"
...

So yes it supports parallel testing on remote machines as long as you run your 
vbs scripts independently.

PS, the getScreenshot command doesn't work in the current version while the 
driver is used remotely (Fixed in the next release (1.0.13.3) which will be 
available soon).

Original comment by florentbr on 13 Jun 2013 at 10:16

GoogleCodeExporter commented 9 years ago
Thanks. I figured it out after posting the query. Also faced issues with screen 
capture in remote execution. Now that you have clarified both.Please close the 
requirement.
Venkatesen

Original comment by sqave...@gmail.com on 14 Jun 2013 at 1:20

GoogleCodeExporter commented 9 years ago

Original comment by florentbr on 17 Jun 2013 at 6:47