1. rohit ranjan
  2. PowerBuilder
  3. Thursday, 9 February 2023 06:27 AM UTC

Hi,

We are using Powerbuilder 2019 R3 Build 2728 at the moment.

Our Automation team is testing our application with Automation tool 'Renorex' for which they had enabled Accessibility = 3 in PB.ini (use MSAA). We generate the executables through Powergen tool. Just wanted to check if we have to place PB.ini along with runtimes and executables so that Renorex uniquely identifies all the elements. Does the executable hold the information of Accessibility which has been set? 

Team also tried with the option Accessibility = 1, but it gives preference to Microsoft UI Automation. Some of our customers use different Automation tools, how to deal with that. 

Please suggest.

Thanks

Rohit

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 9 February 2023 15:30 PM UTC
  2. PowerBuilder
  3. # 1

Hi Rohit;

   Yes, the "Custom PB.INI" must be in the PB App's deployment folder along with the App EXE.

    For App user Accessibility variations, you can always update the local PB.INI via PowerScript to change the accessibility value.  ;-)

Regards ... Chris

  

Comment
  1. Miguel Leeuwe
  2. Friday, 10 February 2023 00:43 AM UTC
Hi Chris,

Changing the Accessibility options via PS while running the application, will that have immediate effect or should you then force a restart of the application?

regards.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Friday, 10 February 2023 01:05 AM UTC
You need to restart so it reads the PB.INI
  1. Helpful
  1. Chris Pollach @Appeon
  2. Friday, 10 February 2023 01:09 AM UTC
Hi Miguel ... A restart() commane would be the 100% way to force all Windows with open DWO's to get everything refreshed accessibility wise.

However, a close of all open sheets on an MDI frame based app might also be another good approach (I think). Although technically, closing the current open window & then reopening it would be the minimum required (as a guess).

Great question! Some good App testing would be prudent here IMHO (except the restart option) . ;-)

Regards ... Chris
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.