Hi All,
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*
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mercuryqtp/CALH6PoqMAeET13%2BFZtA5xLFyWVc8XkGmziuEox_EeVSkE-KHGQ%40mail.gmail.com.