I have a requirement to read a text file which is located on a shared drive and execute the UFT test cases based on the condition. I tried a groovy script to read the text file, but it gives an error message file not found.
Can anyone help me who to read text(located on a shared drive or in my local desktop) file?
Please find the error message below,
The system cannot find the file specified
FATAL: command execution failed
: Cannot run program "groovy" (in directory): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
|Field||Original Value||New Value|
|Summary||Unable to read text file which is placed in shared drive||Unable to read text file which is placed in shared drive/local desktop|
|Resolution||Not A Defect [ 7 ]|
|Status||Open [ 1 ]||Closed [ 6 ]|