Using the LoadAndRunAction properties for passing the dynamic name of the action.
Issue : We are getting Action is not found while running the second time of respective action because external action available in the Solution Explorer.
Sample scripts :
intk=1
Do While intk >=0 '' // infinity loop for continuously to get the data through mail
strexe_folder="D:\Execution_scripts\ProjectOne\SIT\GUITest1" '' // path of the action is dynamic one.
Set objFSO = CreateObject("Scripting.FileSystemObject")
If objFSO.FolderExists(strexe_folder) Then
LoadAndRunAction (trim(strexe_folder)),"Action1",oneiteration
Else
Print "Folder does not Exist"
End If
Set objFSO = Nothing
intk = intk+1
Loop
I am looking to overcome the above problem through code.
Note : It was working fine while first time execution the script
Thanks,
U Saravanan