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:'C:\Users\jayaprakasha\Documents\screenshot1.png'}}
);
//OR
t.screenshot({ fileName:'C:\Users\jayaprakasha\Documents\screenshot1.png'},function(){ });
});
Support Forum
Hi,
Screenshots can only be saved to the filesystem when running the test suite in the automation mode: https://www.bryntum.com/docs/siesta/#!/ ... automation
Note, this functionality is only available in Standard package.
Screenshots can only be saved to the filesystem when running the test suite in the automation mode: https://www.bryntum.com/docs/siesta/#!/ ... automation
Note, this functionality is only available in Standard package.
Read the API documentation