Forum Discussion

David91's avatar
David91
Frequent Contributor
7 years ago

Test PowerBuilder app

Hi, can i use testcomplete for powerbuilder app testing?? Because if i use object mapping each button is same name object and adress to object -> button1 etc. You need to install a library or extensions?? Thank you

3 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    What it sounds like is that the properties being used for mapping the objects are not unique enough since they are finding multiple objects as the same Alias.  Powerbuilder apps CAN be tested with Testcomplete... but you need to make sure your mapping is robust enough.  If you could do an Object Spy of the component you're attempting to work with with the full list of available properties, we might be able to help.

    • David91's avatar
      David91
      Frequent Contributor

      This panel contains several editboxes that can not be mapped. Object spy displays only the panel, not editboxes, or other components located in this panel  :( More on pictures.. Thank you

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        I'll take a look at the pictures but it might not help.

         

        According to documentation (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/power-builder/index.html) TestComplete can interact with PowerBuilder applications, but depending upon whether you're using PowerBuilder Classic or PowerBuilder .NET the methodology is different.  Additionally, there are particular versions of both that TestComplete supports.  So, if you're using a more recent version of PowerBuilder than 12.6 (which appears to be the most recent version) then you might have difficulties.

         

        In any case, take a look at the documentation for preparing PowerBuilder applications for use with TestComplete.  That would be the first place to start.

         

        EDIT: Looking at the pictures you provided, you are definitely using PowerBuilder Classic and attempting to interact with components in a DataWindow.  According to the documentation (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/power-builder/classic.html#GeneralNotes), TestComplete cannot interact with DataWindow controls without using MSAA.  Instructions are provided in the TestComplete documentation on what you need to do with your PowerBuilder application in order to allow TestComplete to access those components.