check if folder exists
Hi, i am fairly new to eggplant and sensetalk , can anyone please help me in the below
how to check if a specific folder exists
If you are checking to see if a folder exists on the sut then you will need to write a .bat script that is ran via eggplant on the sut.
If you are checking to see if a folder exists on the machine driving the sut, this is how I do it.
The below example stores the path in a variable,
Checks to see if the folder exists,
If it is found it deletes it
then creates a new folder
set rundir to "/some/path"
if there is a folder rundir then
Delete folder rundir
create a new folder rundir
More info can be found here:
Hope that helps!