• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: About the accessibility stuff...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About the accessibility stuff...


  • Subject: Re: About the accessibility stuff...
  • From: Stéphane Sudre <email@hidden>
  • Date: Fri, 7 Jun 2002 18:26:04 +0200

On Friday, June 7, 2002, at 05:50 PM, Bill Cheeseman wrote:

on 02-06-07 9:15 AM, Stiphane Sudre at email@hidden wrote:

Could the fact that almost every Cocoa widgets supports the
accessibility APIs means that it would be possible to create some kind
of Test Scripts (` la Virtual User)?

This was not possible with ASK.

What couldn't you do with ASK (AppleScript Studio)?

What I'm looking for is a way to run Test scripts like:

Click on Button 1

Click on Button 2

Switch to Tab "something"

Type text "this is a text"


With AppleScript Studio, this is not possible except if you add some script ability to your application.

If with the accessibility stuff, you're able to get the hierarchy of the Widgets, maybe it's possible to create a tool to generate and run the Test scripts I'm describing above without having to recode the application.

From what I understand, you can get lot of attributes with the Accessibility API. Combining it with the CGRemoteOperation.h APIs it might be possible to do it, at least for mouse clicks.

I tend to believe that there's some hidden APIs that can allow you to query an application for the accessibility description.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: About the accessibility stuff...
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: About the accessibility stuff... (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Launching Terminal example
  • Next by Date: RE: NSUserDefaults question
  • Previous by thread: Re: About the accessibility stuff...
  • Next by thread: Re: About the accessibility stuff...
  • Index(es):
    • Date
    • Thread