<div>Hi Piñeiro,</div>
<div> </div>
<div>at-spi is running.</div>
<div>Nokia-N900-42-11:/# ps aux | grep at-spi<br> 1795 root 13832 R /usr/lib/at-spi/at-spi-registryd<br> 2458 root 2088 S grep at-spi<br></div>
<div>I am able to run some applications on N900. But I am able to run only with "dogtail.rawinput" functions.</div>
<div>Does it supports Object based refernce to the applications?. </div>
<div> </div>
<div>Example. I have tried with Filemanager. I have launched the filemanager with following command</div>
<div>GTK_MODULES=gail:hail:atk-bridge ossofilemanager</div>
<div> </div>
<div>It launched filemanager and I am able to see "Nokia N900" folder in that. and i tried tree.root.dump() and i have got</div>
<div>>>> tree.root.dump()<br>{root}<br> Node roleName='application' name='ossofilemanager' description=''<br> Node roleName='frame' name='File manager' description=''<br>
Node roleName='filler' name='' description=''<br> Node roleName='filler' name='' description=''<br> Node roleName='push button' name='' description='' text=''<br>
press<br> release<br> click<br> Node roleName='label' name='' description='' text=''<br> Node roleName='label' name='' description='' text=''<br>
Node roleName='label' name='' description='' text=''<br> Node roleName='panel' name='' description=''<br> Node roleName='application' name='.' description=''<br>
</div>
<div>But I am not able to click the "Nokia N900" folder. I am not able to click any object in the appliation. Please help</div>
<div> </div>
<div>-Praveen</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Apr 7, 2010 at 7:25 PM, Piñeiro <span dir="ltr"><<a href="mailto:apinheiro@igalia.com">apinheiro@igalia.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">From: praveen koduru <<a href="mailto:prawin1111@gmail.com">prawin1111@gmail.com</a>><br><br></div>
<div class="im">> I have checked atspi is running or not like this<br>>>>> import atspi<br>>>>><br>> (no errors). Is this the way to check whether it is running or not??<br><br></div>No, I mean something more simple:<br>
<br>ps aux | grep at-spi<br>
<div class="im"><br>> I am trying to get the object of "Calculator" app on N900. I really dont<br>> know how to do that. where as on desktop I did like this for opening an<br>> Totem application.<br>> totem = tree.root.application('totem')<br>
> MovieMenu=totem.menu('Movie').click()<br>> This justed worked on Desktop. Whereas to get the object of "Calculator "<br>> App on Maemo. I did this<br>> Calc=tree.root.application('/usr/bin/osso_calculator')<br>
> searching for child of {root}: "/usr/bin/osso_calculator" application<br>> (attempt 3)<br>> searching for child of {root}: "/usr/bin/osso_calculator" application<br>> (attempt 4)<br>> ... and the trying went on.<br>
<br></div>As I told you before, arm-for-testing on doesn't enable a11y for all<br>applications. Take into account that this link is for a automatic<br>testing framework, so it only include some applications.<br><br>In order to load the a11y modules, GTK_MODULES need to be set to<br>
<div class="im">GTK_MODULES=gail:hail:atk-bridge.<br><br></div>arm-for-testing on change the launcher of the supported applications<br>in order to be sure that GTK_MODULES has the correct values.<br>
<div class="im"><br>> So could you please suggest me how to get the object of "Calculator" and<br>> click one button with that.<br><br></div>You could try the same suggestion I made in the previous mail related<br>
with the contacts application. Try to change the calculator launcher,<br>in order to use the summoner and have the envvar with the correct<br>value:<br>
<div class="im"><br>>> #!/bin/sh<br>>> unset AF_DEFINES_SOURCED<br>>> source /etc/osso-af-init/af-defines.sh<br>>> export GTK_MODULES=gail:hail:atk-bridge<br>>> exec maemo-summoner /usr/bin/osso-addressbook.launch<br>
<br></div>In the same way, you could create a simple gtk application, without<br>maemo-launcher, and then try to execute it by hand in this way:<br><br>$GTK_MODULES=gail:hail:atk-bridge ./my-gtk-application<br>
<div class="im"><br>> Thanks a lot for your help.<br><br></div>You are welcome, sorry for not be enough clear in my explanations, and<br>thanks to test it. I have "Try if all a11y pieces works on n900" in my<br>
TODO list for a long time.<br><br>> -Praveen<br>
<div>
<div></div>
<div class="h5"><br>BR<br><br>===<br>API (<a href="mailto:apinheiro@igalia.com">apinheiro@igalia.com</a>)<br></div></div></blockquote></div><br>