Forum Discussion

BillA603's avatar
BillA603
Contributor
11 years ago

Need help with Checkpoint on control in DataWindow on PowerBuilder Desktop App.

Hello,

 

I am working on a script running against a PowerBuilder 11.5 developed Windows Application.

 

We have a client demographic screen and part of my script sets the client's Date of Birth. There is also a dropdown control that automatically selects an Age Range based on the DOB value. I am hoping to use a Checkpoint to verify that the Age Range matches the DOB.

 

When I use the Checkpoint Wizard and try to pick the dropdown with the target object pointer, the entire DataWindow gets selected. I want to isloate the Age Range dropdown so I can check its value.


I was wondering if anyone out there has experience with testing PowerBuilder applications and how I might approach this.

 

I have included an image below to illustrate.

 

Thanks,

Bill

 

6.jpg

3 Replies

  • Hi,

     

    To test PowerBuilder Applications, some additional settings should be set in TestComplete, as well as the app should be prepared in a special way. Did you perform this?

    Please refer to the "Testing PowerBuilder Applications" ( http://smartbear.com/viewarticle/56890/ ) help topic for more information.

    • BillA603's avatar
      BillA603
      Contributor

      Tanya,

       

      Thanks for the information. It looks like PowerBuilder 12 supports Microsoft Active Accessibility (MSAA), which is needed. We are currently using PowerBuilder 11 so I will have to hold off on evaluating this for now.

       

      If there's anyone out there who has implemented this, I would love to hear some specifics concerning what needs to be done on the PowerBuilder and Testcomplete sides.

       

      I saw mention of the PowerBuilder Object AccessibleName property in the link that you sent. If we need to modify the AccessibleName property of all of our PowerBuilder objects in order to implement this, that might be just too risky. I am hoping that it can be more automatic on the PowerBuilder side.

       

      Thanks

       

      • HKosova's avatar
        HKosova
        Icon for Alumni rankAlumni

        Hi Bill,

        Try just adding pbdw* to Tools > Current Properties > Open Applications > MSAA, and see if it helps.