Skip to content

Instantly share code, notes, and snippets.

@davidlinse
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidlinse/81c6c7820e9f1cb6085e to your computer and use it in GitHub Desktop.
Save davidlinse/81c6c7820e9f1cb6085e to your computer and use it in GitHub Desktop.
error messages from se-builder exporters when exporting full_example.json
#!/bin/bash
# attempts to export the 'examples/full_example.json'
# with all available selenium2 exporters.
#
# must be run from root of se-builder project
#
# $ sh run-all-exporters.sh
#
# author: david linse
mkdir exports/
for f in $(ls ./seleniumbuilder/chrome/content/html/js/builder/selenium2/io/formats)
do
file=$(echo $f | sed s/\.js//);
echo "\n# Exporting $file -> $f ..."
node tools/convert.js $file tests/examples/full_example.json exports/$f
echo "Exit-Code: $?"
echo "-----\n"
sleep 0.1
done
# Exporting csharp_new -> csharp_new.js ...
evalmachine.<anonymous>:285
throw(_t('sel2_cant_export_step_type', step.type.name));
^
[object Arguments]
Exit-Code: 8
-----
# Exporting csharp_new_nunit -> csharp_new_nunit.js ...
~/se-builder/tools/convert.js:39
var output = format.format(input, "whatever-name-man", format.get_params);
^
TypeError: Cannot read property 'get_params' of undefined
~/t /se-builder/tools/convert.js:39:66
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
Exit-Code: 8
-----
# Exporting english -> english.js ...
Exported to english
Exit-Code: 0
-----
# Exporting java -> java.js ...
~/se-builder/tools/convert.js:39
var output = format.format(input, "whatever-name-man", format.get_params);
^
TypeError: Cannot read property 'get_params' of undefined
~/t /se-builder/tools/convert.js:39:66
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
Exit-Code: 8
-----
# Exporting java_junit -> java_junit.js ...
~/se-builder/tools/convert.js:39
var output = format.format(input, "whatever-name-man", format.get_params);
^
TypeError: Cannot read property 'get_params' of undefined
~/t /se-builder/tools/convert.js:39:66
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
Exit-Code: 8
-----
# Exporting java_new -> java_new.js ...
Exported to java_new
Exit-Code: 0
-----
# Exporting java_testng -> java_testng.js ...
~/se-builder/tools/convert.js:39
var output = format.format(input, "whatever-name-man", format.get_params);
^
TypeError: Cannot read property 'get_params' of undefined
~/t /se-builder/tools/convert.js:39:66
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
Exit-Code: 8
-----
# Exporting json -> json.js ...
Exported to json
Exit-Code: 0
-----
# Exporting node-mocha -> node-mocha.js ...
Exported to node-mocha
Exit-Code: 0
-----
# Exporting node-nightwatch -> node-nightwatch.js ...
evalmachine.<anonymous>:285
throw(_t('sel2_cant_export_step_type', step.type.name));
^
[object Arguments]
Exit-Code: 8
-----
# Exporting node-protractor -> node-protractor.js ...
Exported to node-protractor
Exit-Code: 0
-----
# Exporting node-wd -> node-wd.js ...
Exported to node-wd
Exit-Code: 0
-----
# Exporting php -> php.js ...
evalmachine.<anonymous>:285
throw(_t('sel2_cant_export_step_type', step.type.name));
^
[object Arguments]
Exit-Code: 8
-----
# Exporting phpunit -> phpunit.js ...
evalmachine.<anonymous>:285
throw(_t('sel2_cant_export_step_type', step.type.name));
^
[object Arguments]
Exit-Code: 8
-----
# Exporting python -> python.js ...
Exported to python
Exit-Code: 0
-----
# Exporting python_unittest -> python_unittest.js ...
~/se-builder/tools/convert.js:39
var output = format.format(input, "whatever-name-man", format.get_params);
^
TypeError: Cannot read property 'get_params' of undefined
~/t /se-builder/tools/convert.js:39:66
at fs.js:266:14
at Object.oncomplete (fs.js:107:15)
Exit-Code: 8
-----
# Exporting ruby -> ruby.js ...
evalmachine.<anonymous>:285
throw(_t('sel2_cant_export_step_type', step.type.name));
^
[object Arguments]
Exit-Code: 8
-----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment