i have same problem while deploy attended bots in other machine. After publish the package, i find some (Not All) selectors for activities like click, type, etc will be missing, and image saving for activities like element exit, image exist, click image, etc ALWAYS gone. So that we have to re-indicate/grab from screen again each activity to apps that we use before. its oke if not to much, bu how if we handle such a long process, it will takes time. Any suggestion for that problem?
You need not re indicate it. Images are important for activities such as image exist, click image etc. For those activities, images are stored in the code in form of Base64, so images will be displayed always. In case of click, type into kind of activities, images are not needed. Selectors are important.
In Type into, click activities, images are stored in .screenshot folder. Folders starting with ‘.’ will be lost when you convert it to zip.
So whenever you are zipping the code, remove ‘.’ in prefix of the foldername and zip. Later after unzipping, you can add that prefix and open the code.
Yes, renaming back gives this error. In that case i open the code, use click activity and click a random place and then delete the click activity.
When you do this, automatically .screenshot folder will be created.
Then i copy all images from screenshot folder to .screenshot folder and open the code.
All images will be present. You can then delete screenshot folder.