From: Chris Nehren Date: Fri, 8 Apr 2011 06:54:51 +0000 (-0400) Subject: mst's notes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FTest-Harness-Selenium.git;a=commitdiff_plain;h=958f6b25cdda10e0e921337156b3abc3bb816485 mst's notes --- diff --git a/ths.txt b/ths.txt new file mode 100644 index 0000000..9ae4003 --- /dev/null +++ b/ths.txt @@ -0,0 +1,19 @@ + +THS + +Need: XVNC. Selenium. Browser. Maybe app server. + +XVNC and Selenium may be on a remote host (for simplicity, require same remote host) + +$app_run_command -> script/myapp_server.pl -p 3000 +$app_host_port -> ${hostname}:3000 + +Start xvnc -> vncserver :${disp} or ssh user@host vncserver :${disp} +Start selenium -> DISPLAY=:${disp} selenium-rc -port ${port} or ssh user@host ... + +Kill xvnc -> vncserver :${disp} -kill +Kill selenium -> GET http://${host}:${port}/selenium-server/driver/?cmd=shutDownSeleniumServer + +allow suppling of $remote as 'user@host' to populate ssh command -and- $host for selenium kill + +