Great! i can see the tests in parallel in browser stack as i gave the "--chunk-size 5" option. But, the test cases pass only in one thread/instance and the other thread always fails .
For example,
Test cases executed = 11
maxworkers =2
chunk size = 5
threads run in browser stack= 2
i can see 5 browser stack instances have run totally and 2 in parallel in which one thread always fails. Is it because one fails another one starts to try again and it tries for 5 attempts?(See attachment-only the 5th instance is running some of the test cases, all others gets stopped)
My command prompt throws this error for the failed threads,
<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.uat.ordersetsmanager.com/application/
resources/siesta/siesta-all.js:46986:45)
at Object.map (
https://elsevier.uat.ordersetsmanager.co ... n/resource
s/siesta/siesta-all.js:67:28)
at Object.launchAutomatedTests (
https://elsevier.uat.ordersetsmanager.com/app
lication/resources/siesta/siesta-all.js:46983:43)
at Object.override [as launchAutomatedTests] (
https://elsevier.uat.ordersetsm
anager.com/application/resources/siesta/siesta-all.js:817:32)
at __EXECUTE_SCRIPT_RESULT__.automationElementId (eval at execute (
https://el
sevier.uat.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46363
:17), <anonymous>:4:58)
at eval (eval at execute (
https://elsevier.uat.ordersetsmanager.com/applicati
on/resources/siesta/siesta-all.js:46363:17), <anonymous>:5:15)
at eval (eval at execute (
https://elsevier.uat.ordersetsmanager.com/applicati
on/resources/siesta/siesta-all.js:46363:17), <anonymous>:5:234)
at eval (<anonymous>)
at Object.execute (
https://elsevier.uat.ordersetsmanager.co ... ation/reso
urces/siesta/siesta-all.js:46363:17)
at Object.override [as execute] (
https://elsevier.uat.ordersetsmanager.com/ap
plication/resources/siesta/siesta-all.js:817:32)
</Exception from launcher>