<div dir="ltr">Thanks for the advice, Nagappan.<br><br>Unfortunately, Selenium can&#39;t handle Java applets.&nbsp; I had hoped that since <a href="http://ldtp.freedesktop.org/wiki/">http://ldtp.freedesktop.org/wiki/</a> says LDTP works with &quot;any Java application (should have a UI based on swing)&quot;, that I could use it with the swing-based applet I need to test.<br>
<br>Since the applet does create some windows that appear outside of the browser, I tried creating one and passing its title to getobjectlist().&nbsp; Unfortunately, I got a &#39;window doesn&#39;t exist&#39; error.&nbsp; If LDTP can &quot;see&quot; windows created by regular swing-based Java applications, why can&#39;t it see these?&nbsp; Any ideas?<br>
<br>Thanks,<br><br>Bradford<br><br><div class="gmail_quote">On Tue, Jul 22, 2008 at 1:47 PM, Nagappan A &lt;<a href="mailto:nagappan@gmail.com">nagappan@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hello Smith,<br><br>Guess you are using Firefox 3.0 !?! Not sure, how well accessibility support is available for applets inside rendering region. I suggest to try with selenium for the rendering region and anything related to Window management, you can use LDTP. Selenium doesn&#39;t support them.<br>

<br>getapplist function just returns the list of application name as per accessibility info. getwindowlist, should return all the available windows, but the existing implementation just returns what ever available in internal hashtable. Will consider doing the first (soon).<br>

<br>Thanks<br>Nagappan<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Tue, Jul 22, 2008 at 8:22 AM, Bradford Smith &lt;<a href="mailto:bradford.carl.smith@gmail.com" target="_blank">bradford.carl.smith@gmail.com</a>&gt; wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
<div dir="ltr">Hi, guys.<br><br>I need to automate testing for a Java applet accessed through Firefox. Can anyone tell me how to find out the window name to use to access the applet?&nbsp; When I do getobjectinfo() on the name of the Firefox window, I don&#39;t seem to be getting any of the applet components in the list.<br>


<br>Also, can anyone tell me what getapplist() is good for? Although the documentation says it returns window titles, the returned strings don&#39;t seem to work with getobjectlist().&nbsp; Is there some way to use a string returned by getapplist() to get a list of the actual titles of windows belonging to that application?<br>


<br>Is there some way to get a list of all window titles?&nbsp; I would expect getwindowlist() to do this, but it just seems to list windows whose information has been cached in ldtp due to previous accesses to it with getobjectlist() or other routines.<br>


<br>Thanks,<br><br>Bradford C. Smith<br></div>
<br></div></div>_______________________________________________<br>
LDTP-dev mailing list<br>
<a href="mailto:LDTP-dev@lists.freedesktop.org" target="_blank">LDTP-dev@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/ldtp-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/ldtp-dev</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Linux Desktop (GUI Application) Testing Project - <a href="http://ldtp.freedesktop.org" target="_blank">http://ldtp.freedesktop.org</a><br><a href="http://nagappanal.blogspot.com" target="_blank">http://nagappanal.blogspot.com</a>
</font></div>
</blockquote></div><br></div>