Search found 9 matches

Awesome! That works..so what would be the probable solution for option 2: how do i declare a global variable/object and use them in all test cases?(say in harness or preload file i declare and set a value for a variable and want to access it in all my test cases)
Its the latest version, 4.3.0 standard.
Thanks much..That was right! My test cases depends on the same login function. So i tried to execute two test cases that do no depend on each other(no login at all), but still i am facing the same exception and the thread gets closed. My concern is that the exception is on siesta-all.js and not on m...
Hello, Tried option 1: I am trying to load a JSON file and get my Test data from it. I have used xmlhttprequests for this. But when i use a onreadystatechange condition to get my Json object my t.it or t.describe does not wait until the function is performed. It just gets terminated/throws object no...
This is as i said before, one test case runs in one thread successfully. The other one doesn't run as the thread gets closed, a new thread opens and again fails. Finally that test case is failed with the below mentioned exception as shown in the cmd in the previous post.
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 s...
But when i run the above command, in browser-stack i cannot see parallel tests running. It shows that parallel tests running 1/5.
i understand we should use --max-workers to run tests in parallel in browser stack. Normally i goes like this.. webdriver https://localhost --filter="Workflow>" --rerun-failed --browserstack=user,key --cap browserName=chrome --cap platform=windows But how to mention the browser capabilitie...
Hi, I am trying to add a screenshot script to my code, but i am getting this message in the center pane of siesta tool on execution. 'Command: `screenshot` skipped - not running in automation' The script i tried for screenshot is, t.it("Take screenshot",function(t){ t.chain( {screenshot: {...