Microsoft Active Accessibility (MSAA) can be used in GUI test automation or for accessibility. For test automation purposes, IAccessible::get_accName can be used to retrieve name of an edit box. To make this to work for MFC based applications, the tab order sequence should be modified such that the static label at the left of the edit box is one number lower. For example, if the edit box's tab order number is 5, the static label on the left should have tab order of 4. For MFC based application created using VS2010, menu Format | Tab Order (Ctrl + D) should show the order sequence graphically.
Note that this is applicable to the following test automation tools/frameworks:
- Test Partner
- Rational Robot
- UI Automation
Just to stress this out again, you need to have a static label to the left of the edit box for this work.
Enjoy!
References:
http://msdn.microsoft.com/en-us/library/dd373597(v=VS.85).aspx
http://msdn.microsoft.com/en-us/library/dd318483(VS.85).aspx
~ts
Subscribe to:
Post Comments (Atom)
Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04
Configuring TUN/TAP virtual network interface for use with QEMU on Xubuntu 24.04 I am planning to run qemu-system-ppc to play around QEMU ...

-
Tried to update my Ubuntu host today and it did pickup that new version of VirtualBox is available (4.1.8). All other packages installed pro...
-
Installing MonoDevelop in OpenSUSE 12.2 from its repository was very easy. When running it for the first time though I got the message: Th...
-
Tried to run GenerateProjectFiles.bat to build Unreal Engine from source ( link ), but got error like below: C:\>Users\x\UnrealEngi...
No comments:
Post a Comment