Ldtp remap command isn't remapping the web section of USC

Bug #1000727 reported by Dave Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LDTP
Won't Fix
Medium
ldtp (Ubuntu)
New
Medium
Unassigned

Bug Description

Using the following code I can not access the first web element page if I started USC from ldtp.launchapp:

import ldtp

ldtp.launchapp('software-center')
frm = 'frmUbuntuSoftwareCen*'
ldtp.waittillguiexist(frm)
ldtp.settextvalue(frm, 'txtSearch', 'fullcircle-issue-56')
ldtp.wait(3)
ldtp.doubleclickrow(frm,'tbl0', 'fullcircle-issue-56')
ldtp.wait(3)
ldtp.mouseleftclick(frm, u'Buy\u2026')
ldtp.wait(5)
ldtp.remap(frm)
print sorted(ldtp.getobjectlist(frm))

there should now be a whole bunch of 'txty' where y is a number.

If I instead open software-center manually and navigate to the login page and then run the following in interactive shell it shows me the elements:

import ldtp
sorted(ldtp.getobjectlist('frmUbuntuSoftwareCen*')

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ldtp 2.3.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Thu May 17 12:58:21 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
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)

Revision history for this message
Dave Morley (davmor2) wrote :
Changed in ldtp:
importance: Unknown → Medium
status: Unknown → New
Changed in ldtp (Ubuntu):
importance: Undecided → Medium
Changed in ldtp:
status: New → In Progress
Changed in ldtp:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.