Closed GoogleCodeExporter closed 9 years ago
An additional observation:
If I pass server_host=http://my.remote.host:4444 anyway while the tunnel is
open, the remote server is connected properly.
If I then close the tunnel, the connection fails.
Again, it seems that server_host is ignored.
Same effect happens with version 2.8.
Original comment by dietrich...@gmail.com
on 18 May 2012 at 12:07
I forgot to mention connecting to the remote host without tunnel via telnet as
in
telnet my.remote.host 4444
gives me a connection and I see an incoming request in the selenium server
debug log.
Original comment by dietrich...@gmail.com
on 21 May 2012 at 7:30
A simple test in java connects, too:
String serverHost = "my.remote.host";
int serverPort = 4444;
String browserStartCommand = "*firefox";
String browserURL = "http://www.mydomain.com";
String url = "/index.html";
System.out.println(serverHost);
System.out.println(serverPort);
System.out.println(browserStartCommand);
System.out.println(browserURL);
System.out.println(url);
DefaultSelenium selenium = new DefaultSelenium(serverHost, serverPort,
browserStartCommand, browserURL);
selenium.start();
selenium.open(url);
selenium.waitForPageToLoad("30000");
selenium.isTextPresent("Mydomain");
selenium.close();
selenium.stop();
Original comment by dietrich...@gmail.com
on 21 May 2012 at 8:10
The issue is solved, I had a selenium import statement in the top-level suite,
but the effective import took place in a resource.
Original comment by dietrich...@gmail.com
on 21 May 2012 at 8:30
Good you were able to solve the problem.
Original comment by pekka.klarck
on 21 May 2012 at 10:41
Original issue reported on code.google.com by
dietrich...@gmail.com
on 18 May 2012 at 12:03