Forum Discussion
chriscc
3 years agoContributor
Hi diwakar_sh12 ,
I am not that proficient with python, but you might want to put the try/except block inside of the while loop, that way it can continue with the next entry if an error is raised. I'm not certain of the exact syntax/format, but something like this might work:
while not ddv.EOF
aqTestCase.Begin("Test Case" + ddv.Value[0]);
try:
openApp()
clickObject(contactUs)
waitTillPageLoads()
fillContactForm(ddv)
except:
Log.Error("Error Occured")
closeBrowser(Project.Variables.browser)
aqTestCase.End()
ddv.Next()
I hope this helps.