Forum Discussion

BD_Geoactive's avatar
BD_Geoactive
Contributor
2 hours ago

Why my While Loop keyword test is breaking when the value found is = to False

When the value is found to be True, it does what i set it to do... but when the objects re closed, the value would return false.

Why the above wont work in Test Complete 15.81? 

When the while loop found the value to false it just said the object is not Visisble so it return false, but it stopped teh test because its flase. I though it should break out of the while loo and to the IC > MDIForm etc etc (next steps)

2 Replies

  • e.g., it stopped the test, instead of breaking out of the while loop, and continue the test?

     

    • rraghvani's avatar
      rraghvani
      Icon for Champion Level 3 rankChampion Level 3

      Does the object Aliases.IC.MDIForm1.MdiClient.ChartForm, actually exists?

      Check the project settings for "On error:"