Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
silverlight web pages
#1
Hi,

With html webpages it is possible to click html elements, check the state of check boxes etc, using commands like htm, htmlclick, <elementname>.checked etc.

I would like to be able to do the same thing with a web page where the check boxes etc. were created by silverlight, and thus cannot be found by htm or acc.

Is this possible, or will it be possible in the future?


Bye, arthur.
#2
Silverlight controls are accessible objects.

Example with http://layout.osenkov.com/
Macro Macro1466
Code:
Copy      Help
Acc a=acc("Show XAML" "CHECKBUTTON" win("Layout Designer by Kirill Osenkov - Windows Internet Explorer" "IEFrame") "MicrosoftSilverlight" "" 0x1001)
a.DoDefaultAction
#3
Thanks,

This indeed works for the website you gave as example. But does it also depend on the developers of a website how accessible they've made their silverlight UI elements?

For instance, if I use the "Find accessible object dialog" on the website https://pcmaerlant.swp.nl, it does not find any silverlight controls. See the following snippet of the userinterface element tree from the "find accessible element" dialog box:


WINDOW (ShellDocObject View) ""
.CLIENT ""
..CLIENT "https://pcmaerlant.swp.nl/4.355/magister.aspx"
...PANE "Magister 5.0"
....CLIENT ""
.....<no more children here, where I think there should be>

I suppose there's no way around this?


Bye, Arthur.
#4
Yes, accessible objects don't work in this web page.
#5
Well that's a shame.

Thanks for your reply.


Forum Jump:


Users browsing this thread: 3 Guest(s)