Forum Discussion

william_roe's avatar
william_roe
Super Contributor
9 years ago

Testing Exists on WaitAlias Child in Keyword Test

How do you test the exists on a WaitAlias child in a Keyword test? The online example show how to do it in script but I'm moving away from script because changes to mapped object name(s) not refactor...
  • djadhav's avatar
    9 years ago

    You could

    1) Write a library routine to execute this method

    2) Pass the ParentObject and property arrays as parameters.

    3) Call this unit from the keyword tests.

     

    This also eliminates your concern about changes to mapped objects.

  • william_roe's avatar
    william_roe
    9 years ago

    djadhav wrote:

    You could

    1) Write a library routine to execute this method

    2) Pass the ParentObject and property arrays as parameters.

    3) Call this unit from the keyword tests.

     

    This also eliminates your concern about changes to mapped objects.


    Is a 'library routine' script?