Forum Discussion

bdrummond's avatar
bdrummond
Contributor
7 years ago
Solved

Do i put the IF...then & Else statement in the wrong location?

hi there,  i have issue trying to have my If...Then and Else statement to work with my object in my keyword test project.  Scenario:  As you can see from the image- i have an If...Then...Els...
  • cunderw's avatar
    cunderw
    7 years ago

    You're still checking the Visible property of an object that doesn't exist which is the cause of the error. 

     

    In you if statement change Aliases.IC.databaseUpgrade.Visible to Aliases.IC.databaseUpgrade.Exists it should fix.