Hi,<br>Here are some updates - still working on nautilus test case. It looks as if there are several changes between nautilus in 12.10 and later versions.<br>Running into issues when trying to move mouse cursor to execute right clicks with in the child window. Tried using both move_to_object and geometry and got these errors.<br>
Please let me know if I am missing some steps here or possible workarounds. <br>Basic scenario to create empty doc in saucy:<br>launch app<br>browse to /tmp<br>generate a tmp file name<br>move cursor to center of window<br>
right click, select New Document/Empty Document<br><br>Loading tests from: /home/test/autopilot<br><br>Tests running...<br>======================================================================<br>ERROR: tests.test_nautilus.NautilusTests.test_create_empty_doc<br>
----------------------------------------------------------------------<br>_StringException: Traceback (most recent call last):<br>  File "/home/test/autopilot/tests/test_nautilus.py", line 72, in test_create_empty_doc<br>
    self.mouse.move_to_object(self.app)<br>  File "/usr/lib/python2.7/dist-packages/autopilot/input/_X11.py", line 398, in move_to_object<br>    raise ValueError("Object '%r' does not have any recognised position attributes" % object_proxy)<br>
ValueError: Object '<Window 'tmp' Xid: 23079834>' does not have any recognised position attributes<br><br><br>Ran 1 test in 3.601s<br>FAILED (failures=1)<br><br><br>Loading tests from: /home/test/autopilot<br>
<br>Tests running...<br>======================================================================<br>ERROR: tests.test_nautilus.NautilusTests.test_create_empty_doc<br>----------------------------------------------------------------------<br>
_StringException: Traceback (most recent call last):<br>  File "/home/test/autopilot/tests/test_nautilus.py", line 73, in test_create_empty_doc<br>    self.wc = self.app.geometry<br>  File "/usr/lib/python2.7/dist-packages/autopilot/process/_bamf.py", line 464, in geometry<br>
    origin = GdkX11.X11Window.foreign_new_for_display(get_display(), self._xid).get_origin()<br>  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 137, in constructor<br>    return info.invoke(cls, *args, **kwargs)<br>
TypeError: argument display: Expected Gdk.Display, but got Xlib.display.instance<br><br><br>Ran 1 test in 3.688s<br>FAILED (failures=1)<br><br>Thanks,<br>Vasudevan Kottilil<br><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 8:07 AM, Nicholas Skaggs <span dir="ltr"><<a href="mailto:nicholas.skaggs@canonical.com" target="_blank">nicholas.skaggs@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <font face="Verdana">I wanted to remind everyone we have another
      hackfest scheduled for tomorrow: <br>
      <br>
      <a href="https://wiki.ubuntu.com/QATeam/Hackfest/20130604" target="_blank">https://wiki.ubuntu.com/QATeam/Hackfest/20130604</a><br>
      <br>
      We will continue the migration to autopilot 1.3 (very close to
      completion) as well as hack on some manual testcases too. In
      addition, we'll be attempting to hack on ubiquity using autopilot
      to perform automated installer tests. If you can't join us
      specifically during the hackfest, that's ok! There is another one
      scheduled for June 13th. And of course, ccontributions to the
      manual or automated test repositories are welcome anytime, and
      there's documentation to help you get started:<br>
      <br>
      <a href="https://wiki.ubuntu.com/QATeam/ContributingTestcases" target="_blank">https://wiki.ubuntu.com/QATeam/ContributingTestcases</a><br>
      <br>
      In addition I'd like to remind everyone June is our month for
      classroom sessions. For those who signed up to host a class, now
      is the time to slot in a date a time for your session;
      <a href="https://wiki.ubuntu.com/Testing/Activities/Classroom/Saucy/" target="_blank">https://wiki.ubuntu.com/Testing/Activities/Classroom/Saucy/</a>.
      Ideally we will have held all sessions before the end of June to
      middle of July :-).<br>
      <br>
      Finally, our remember our cadence testing is set to begin in just
      a couple weeks on June 15th. This will mark the first week for us
      actively testing saucy and it's development. To help you prepare,
      ensure you have a computer (or virtual machine) setup and running
      saucy to help test during the cadence week. If you wish, you can
      plan to do some image testing and then utilize the installation
      for the cadence testing as well :-). See this tutorial for more
      information:<br>
      <br>
      <a href="https://wiki.ubuntu.com/Testing/Cadence/Walkthrough" target="_blank">https://wiki.ubuntu.com/Testing/Cadence/Walkthrough</a><br>
      <br>
      Remember now is the time for hacking on testcases, working through
      new ideas and learning new things. As the cycle continues, more
      and more testing will be required. Take the time now to make sure
      our testing experience this cycle will be better than the last.<br>
      <br>
      Happy Testing!<span class="HOEnZb"><font color="#888888"><br>
      <br>
      Nicholas<br>
    </font></span></font>
  </div>

<br>--<br>
Ubuntu-quality mailing list<br>
<a href="mailto:Ubuntu-quality@lists.ubuntu.com">Ubuntu-quality@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality</a><br>
<br></blockquote></div><br>