Anusha Byna

Anusha Byna

  • NA
  • 3
  • 807

Verification of file existence

Mar 6 2019 7:50 PM
Hi 
 
Scenario : File abc.txt verification   
 
If file exists then call method1()
 
else 
 
verify the file location(C:\lfs\abc.txt) for every 10sec until the file is found and when the file is available, call the method1().
 
Since I'm beginner, done scripting for the file existence case but stuck at the verification of every 10sec. Any suggestions for this scenaio will be great
 
Thanks
Anusha 
 

Answers (3)