Search found 9 matches

by jayaprakasha
Thu Jul 20, 2017 3:08 pm
Forum: Siesta
Topic: Accessing Global variables
Replies: 3
Views: 1459

Re: Accessing Global variables

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)
by jayaprakasha
Tue Jul 18, 2017 7:34 am
Forum: Siesta
Topic: running parallel tests in browserstack
Replies: 18
Views: 7184

Re: running parallel tests in browserstack

Its the latest version, 4.3.0 standard.
by jayaprakasha
Mon Jul 17, 2017 4:05 pm
Forum: Siesta
Topic: running parallel tests in browserstack
Replies: 18
Views: 7184

Re: running parallel tests in browserstack

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...
by jayaprakasha
Mon Jul 17, 2017 3:40 pm
Forum: Siesta
Topic: Accessing Global variables
Replies: 3
Views: 1459

Accessing Global variables

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...
by jayaprakasha
Mon Jul 17, 2017 3:21 pm
Forum: Siesta
Topic: running parallel tests in browserstack
Replies: 18
Views: 7184

Re: running parallel tests in browserstack

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.
by jayaprakasha
Thu Jul 13, 2017 8:30 am
Forum: Siesta
Topic: running parallel tests in browserstack
Replies: 18
Views: 7184

Re: running parallel tests in browserstack

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 brows...
by jayaprakasha
Tue Jul 11, 2017 3:12 pm
Forum: Siesta
Topic: running parallel tests in browserstack
Replies: 18
Views: 7184

Re: running parallel tests in browserstack

But when i run the above command, in browser-stack i cannot see parallel tests running. It shows that parallel tests running 1/5.
by jayaprakasha
Tue Jul 11, 2017 2:35 pm
Forum: Siesta
Topic: running parallel tests in browserstack
Replies: 18
Views: 7184

running parallel tests in browserstack

i understand we should use --max-workers to run tests in parallel in browser stack. Normally i goes like this.. webdriver http://localhost --filter="Workflow>" --rerun-failed --browserstack=user,key --cap browserName=chrome --cap platform=windows But how to mention the browser capabilities if i need...
by jayaprakasha
Fri Apr 28, 2017 6:57 am
Forum: Siesta
Topic: Command: `screenshot` skipped - not running in automation
Replies: 1
Views: 1007

Command: `screenshot` skipped - not running in automation

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: { fileName:...