Page 2 of 2

Re: running parallel tests in browserstack

Posted: Tue Jul 18, 2017 7:34 am
by jayaprakasha
Its the latest version, 4.3.0 standard.

Re: running parallel tests in browserstack

Posted: Tue Jul 18, 2017 9:36 am
by nickolay
Ok, can you try launching siesta's own examples in BS in parallel, with small --chunk-size:

bin/webdriver http://localhost/siesta/examples/index.html --max-workers 5 --chunk-size 3 --browserstack....

Re: running parallel tests in browserstack

Posted: Wed Jul 24, 2019 8:44 pm
by nayila
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> (http://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46993:45)
at Object.map (http://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:67:28)
at Object.launchAutomatedTests (http://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46990:43)
at Object.override [as launchAutomatedTests] (http://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:817:32)
at eval (eval at execute (http://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17), <anonymous>:4:58)
at eval (eval at execute (http://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17), <anonymous>:5:15)
at eval (eval at execute (http://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17), <anonymous>:5:2868)
at eval (<anonymous>)
at Object.execute (http://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:46370:17)
at Object.override [as execute] (http://elsevier.qa.ordersetsmanager.com/application/resources/siesta/siesta-all.js:817:32)
</Exception from launcher>
harness url: http://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

Re: running parallel tests in browserstack

Posted: Fri Jul 26, 2019 8:59 am
by nickolay
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`

Re: running parallel tests in browserstack

Posted: Fri Jan 24, 2020 5:58 pm
by nayila
Hey, all my test URLs are all unique since my test cases name are all unique.

Re: running parallel tests in browserstack

Posted: Tue Jan 28, 2020 8:48 pm
by nickolay
@nayila What is your Siesta version?

Re: running parallel tests in browserstack

Posted: Tue Feb 04, 2020 6:47 pm
by nayila
4.4.2, do you think it is too old?

Re: running parallel tests in browserstack

Posted: Tue Feb 04, 2020 6:52 pm
by nickolay
Pretty outdated, yes, latest is 5.3.1. Can try upgrading to the latest to see if this issue still appears in it?

Re: running parallel tests in browserstack

Posted: Tue Feb 04, 2020 6:53 pm
by nayila
will do, thank you!