← Back to team overview

sikuli-driver team mailing list archive

[Question #270616]: How to clear the loaded images in sikuli

 

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

Here is my following scenario.

I have to automate same tests in 4 different browsers.
I divided the images into 4 categories and all the images are with same name.
Each browser has a separate class & load the images in their respective directories.

ImagePath.add(Constants.IMG_DIR + browser);

When i run each browser tests individually everything went well.

The issue arise when i run all browser tests in a batch. because each browser folder contains the same image names, sikuli won't  load the images again.

Is there any reload Or unload methods available which can clear the cache of images that are already loaded in sikuli?

Or is there any other way which can be used to avoid these.

The last option is to rename the images, which is not an easy task for me as it involves good amount of changes.

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