[LDTP-Dev] [Bug 583021] New: If an application changes a context, it is not longer found by LDTP

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon May 18 00:55:37 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=583021

  LDTP | ldtp | Ver: 1.6.0
           Summary: If an application changes a context, it is not longer
                    found by LDTP
           Product: LDTP
           Version: 1.6.0
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ldtp
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: apulido at gmail.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
Using this script (excerpt)

[...]
evolution = ooldtp.context("*Evolution")
mnuComposeNew = evolution.getchild("mnuComposeNewMessage")
mnuComposeNew.click()
ldtp.waittillguiexist("frmComposeMessage")
compose_window = ooldtp.context("frmComposeMessage"")
txtTo = compose_window.getchild("txtTo")
txtTo.settextvalue("test at test.org")
txtSubject = compose_window.getchild("txtSubject")
txtSubject.settextvalue("Greetings")

txtBody = compose_window.getchild("txt6")
txtBody.settextvalue("This is a test")

As the name of the compose window changes to the subject, the window is no
longer found, but the LDTP server loses the application as well:

Search window name: frmComposeMessage - Inbox (0 total) - Evolution -
frmInbox(0total)-Evolution
Window does not exist
child_name: Greetings
Before strip Greetings - After Greetings
window_name: frmGreetings
Search window name: frmComposeMessage - Greetings - frmGreetings
Window does not exist
Accessible application name: evolution.py
Child count: 0
Application: evolution not running
Unable to get handle



Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:
The window is not found, but the application is found and a proper error is
returned

Does this happen every time?
Yes

Other information:


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=583021.


More information about the LDTP-dev mailing list