Move to next iteration fails. UFT
♥ 0 |
I am trying to have my test move to a different iteration if a condition fails within a function. Instead of moving to the next iteration it is exiting the test. Please see example below: Function check_errorMessage(PropertyType,PropertyValue1) Dim myp1,myo1 Set myo1 = description.Create() myo1(PropertyType).value=PropertyValue1 Set myp1 = Browser("").Page("*").WebElement(myo1) If myp1.Exist(30) Then End If Set myo1 = nothing End Function Please advise me on what needs to be changed.
Marked as spam
|