Skip to content

Instantly share code, notes, and snippets.

View admc's full-sized avatar

Adam Christian admc

View GitHub Profile
windmill.varRegistry.items['{$storedIHTML}']
# Generated by the windmill services transformer
from windmill.authoring import WindmillTestClient
def test_recordingSuite0():
client = WindmillTestClient(__name__)
client.storeVarFromLocAttrib(xpath=u"//span[@id='footer']/center/p/font", options=u'storedIHTML|innerHTML')
client.execIDEJS(js=u"windmill.varRegistry.items['{$storedIHTML}']")['result']
var setupModule = function(module) {
module.controller = mozmill.getBrowserController();
}
var testFoo = function(){
controller.open('http://www.dailymotion.com/openvideodemo');
controller.waitForPageLoad(null, 10, 5000);
controller.window.content.alert('test');
}
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building HudsonWindmillPlugin
[INFO] task-segment: [release:prepare, release:perform] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Resuming release from phase 'run-preparation-goals'
[INFO] Executing goals 'clean verify'...
# local windmill preferences file
# warning - this file will be overwritten by windmill
# so any edits should be done while windmill
# is not active.
import windmill
from windmill.server import add_forward_condition, remove_forward_condition
from windmill.server import proxy
proxy.exclude_from_retry.append('www.google-analytics.com')
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building HudsonWindmillPlugin
[INFO] task-segment: [release:prepare, release:perform] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Resuming release from phase 'scm-tag'
[INFO] Tagging release with the label HudsonWindmillPlugin-1.0...
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building HudsonWindmillPlugin
[INFO] task-segment: [release:prepare, release:perform] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Resuming release from phase 'scm-commit-release'
[INFO] Checking in modified POMs...
dhcp-10-10-8-121% mvn -B release:prepare release:perform
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building HudsonWindmillPlugin
[INFO] task-segment: [release:prepare, release:perform] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Resuming release from phase 'scm-commit-release'
dhcp-10-10-24-246% windmill safari http://127.0.0.1:8000
Leopard libedit detected.
ERROR: Cannot figure out interface name, please set NETWORK_INTERFACE_NAME in local settings file
Traceback (most recent call last):
File "/usr/local/bin/windmill", line 8, in <module>
load_entry_point('windmill==1.2pre', 'console_scripts', 'windmill')()
File "/Users/adam/Documents/projects/windmill/trunk/windmill/bin/windmill_bin.py", line 32, in main
admin_lib.command_line_startup()
File "/Users/adam/Documents/projects/windmill/trunk/windmill/bin/admin_lib.py", line 352, in command_line_startup
shell_objects = setup()
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py", line 460, in __bootstrap
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "/Users/adam/Documents/projects/windmill/branches/1.1.x/windmill/bin/shell_objects.py", line 113, in run_functest
functest.run_framework(test_args=[module_name], test_runner=WindmillFunctestRunner())
File "/Users/adam/Documents/projects/functest/functest/__init__.py", line 37, in run_framework
totals = frame.execute(tests)
File "/Users/adam/Documents/projects/functest/functest/frame.py", line 48, in execute
Leopard libedit detected.
email is not a windmill argument. Sticking in functest registry.
password is not a windmill argument. Sticking in functest registry.
stage is not a windmill argument. Sticking in functest registry.
Started ['/Applications/Firefox.app/Contents/MacOS/firefox-bin', '-profile', '/var/folders/YO/YOAvf2hSGt0+VnBIAKuImE+++TM/-Tmp-/tmp8m8-SS.mozrunner', 'http://www.facebook.com/windmill-serv/start.html']
Server running...
1 ==> load FunSpace app
windmill.server.proxy: INFO Retry success, http://fw.fb.community.monkey.labs.slide.com/connect/section_button.php to b.static.ak.fbcdn.net
windmill.server.proxy: INFO Retry success, http://www.facebook.com/fb_funpix/xdom to fb.community.monkey.labs.slide.com
1 ==> click Posts folder