[LDTP-Dev] [Bug 673938] New: Seahorse opens a dlgQuestion for Deleting a password entry ldtp isn't able to interact with it

LDTP (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 11 11:55:35 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=673938
  LDTP | pyldtp | 2.3.0

           Summary: Seahorse opens a dlgQuestion for Deleting a password
                    entry ldtp isn't able to interact with it
    Classification: Other
           Product: LDTP
           Version: 2.3.0
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: pyldtp
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: davmor2 at gmail.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: ---


Using this code to delete a usc password entry stalls at the dlgQuestion;

  ldtp.launchapp('seahorse')
  ldtp.waittillguiexist('frmPasswordsandKeys')
  ldtp.expandtablecell('frmPasswordsandKeys', 'ttbl0', 0, 1)
  ldtp.waittillguiexist('dlgPasswords:login')
  ldtp.mouseleftclick('dlgPasswords:login', 'btnClose')
  ldtp.waittillguinotexist('dlgPasswords;login')
  if ldtp.doesrowexist('frmPasswordsandKeys', 'ttbl0', 'Ubuntu Software Center
Store') == 1:
   ldtp.selectrow('frmPasswordsandKeys', 'ttbl0', 'Ubuntu Software Center
Store')
   ldtp.selectmenuitem('frmPasswordsandKeys', 'mnuDelete')
   assert ldtp.waittillguiexist('dlgQuestion') ***
   ldtp.click('dlgQuestion', 'btnCancel')
  elif ldtp.doesrowexist('frmPasswordsandKeys', 'ttbl0', 'Ubuntu Software
Center') == 1:
   ldtp.selectrow('frmPasswordsandKeys', 'ttbl0', 'Ubuntu Software Center')
   ldtp.selectmenuitem('frmPasswordsandKeys', 'mnuDelete')
   assert ldtp.waittillguiexist('dlgQuestion')
   ldtp.click('dlgQuestion', 'btnCancel') ***
  ldtp.selectmenuitem('frmPasswordsandKeys', 'mnuQuit')

the lines with *** at the end are the ones not seen. Could be an issue in atspi
however accerciser seems to see the dlg window.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-ldtp 2.3.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu1
Architecture: amd64
Date: Wed Apr 11 19:47:00 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120327)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: ldtp
UpgradeStatus: No upgrade log present (probably fresh install)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are watching the assignee of the bug.


More information about the LDTP-dev mailing list