Support Forum
Ok, can you try launching siesta's own examples in BS in parallel, with small --chunk-size:
bin/webdriver https://localhost/siesta/examples/index.html --max-workers 5 --chunk-size 3 --browserstack....
bin/webdriver https://localhost/siesta/examples/index.html --max-workers 5 --chunk-size 3 --browserstack....
Read the API documentation
I have a similar issue while running my siesta test suite in Jenkin. we have a below error popping up randomly every time when we run the test. It is not reproducible in the local though. Do you know why?
<Exception from launcher>
While running big script: return (function (args) {
var me = Siesta.my.activeHarness
return me ? me[ 'launchAutomatedTests' ].apply(me, args)
Exception: TypeError: Cannot set property 'automationElementId' of undefined
TypeError: Cannot set property 'automationElementId' of undefined
at Object.<anonymous> (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46993:45)
at Object.map (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:67:28)
at Object.launchAutomatedTests (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46990:43)
at Object.override [as launchAutomatedTests] (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:817:32)
at eval (eval at execute (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17), <anonymous>:4:58)
at eval (eval at execute (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17), <anonymous>:5:15)
at eval (eval at execute (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17), <anonymous>:5:2868)
at eval (<anonymous>)
at Object.execute (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17)
at Object.override [as execute] (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:817:32)
</Exception from launcher>
harness url: https://elsevier.qa.ordersetsmanager.com/application/smoke-test-harness_orderSets_Elsevier.html?selenium=true
<Exception from launcher>
While running big script: return (function (args) {
var me = Siesta.my.activeHarness
return me ? me[ 'launchAutomatedTests' ].apply(me, args)
Exception: TypeError: Cannot set property 'automationElementId' of undefined
<Exception from launcher>
While running big script: return (function (args) {
var me = Siesta.my.activeHarness
return me ? me[ 'launchAutomatedTests' ].apply(me, args)
Exception: TypeError: Cannot set property 'automationElementId' of undefined
TypeError: Cannot set property 'automationElementId' of undefined
at Object.<anonymous> (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46993:45)
at Object.map (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:67:28)
at Object.launchAutomatedTests (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46990:43)
at Object.override [as launchAutomatedTests] (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:817:32)
at eval (eval at execute (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17), <anonymous>:4:58)
at eval (eval at execute (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17), <anonymous>:5:15)
at eval (eval at execute (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17), <anonymous>:5:2868)
at eval (<anonymous>)
at Object.execute (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17)
at Object.override [as execute] (https://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:817:32)
</Exception from launcher>
harness url: https://elsevier.qa.ordersetsmanager.com/application/smoke-test-harness_orderSets_Elsevier.html?selenium=true
<Exception from launcher>
While running big script: return (function (args) {
var me = Siesta.my.activeHarness
return me ? me[ 'launchAutomatedTests' ].apply(me, args)
Exception: TypeError: Cannot set property 'automationElementId' of undefined
Hm.. Please check your test suite for the duplicated test urls? Currenly the urls of all test scripts should be unique, if you want to re-use the same script in several tests you can append some query parameter, like : `sometest.t.js?version=1`
Read the API documentation
Pretty outdated, yes, latest is 5.3.1. Can try upgrading to the latest to see if this issue still appears in it?
Read the API documentation