Hi,
Its possible to contoll the acitons.
First save the test which contains your 5 actions, then go to the local path of the script (i.e. C:\test\), open the script folder. you can find total 6 action folders there like Action0...Action5
open Action0-->open script file(notepad file) ->follow the below steps and save the script and run in QTP
Suppose if you dont want to execute Action2 in second Iteration
use the below script:
'################
'#########################
Regards
KrishDeep
Chennai
Its possible to contoll the acitons.
First save the test which contains your 5 actions, then go to the local path of the script (i.e. C:\test\), open the script folder. you can find total 6 action folders there like Action0...Action5
open Action0-->open script file(notepad file) ->follow the below steps and save the script and run in QTP
Suppose if you dont want to execute Action2 in second Iteration
use the below script:
'################
Code:
RunAction "Action1", oneIteration
'I have used Environment variable to get the Test Iteration
temp=Environment("TestIteration")
'## for second iteration condition get fail & it won't execute second Action
if temp<>2 then RunAction "Action2", oneIteration
End If
RunAction "Action3", oneIteration
RunAction "Action4", oneIteration
RunAction "Action5", oneIterationRegards
KrishDeep
Chennai

