← Back to team overview

sikuli-driver team mailing list archive

[Question #245115]: [sikuli-java] Share a Screen instance or re-create a new one

 

New question #245115 on Sikuli:
https://answers.launchpad.net/sikuli/+question/245115

Hi,

A question on best practice with sikuli-java - regarding the 'cost' of creating Screen objects:

I have a collection of tests. Is it a better practice to instantiate the Screen object once and use that in all the tests or instantiate a Screen object in each test  ? In other words is Screen class heavy in terms of creation or the amount of resources it uses ?

Thanks.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.