Please update ldtp to 2.0.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ldtp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ldtp
This release is a rewrite of LDTP in Python.
The C library used in LDTP1.x series is deprecated, which makes it quite difficult to maintain in an LTS release.
From the upstream release notes:
LDTPv2 a complete rewrite of LDTPv1 in Python.
Following are the difference between LDTPv1 and v2:
* getlabel function is deprecated - you can use getobjectproper
* Label in v2 doesn't return the accelerator key (eg: in v1 "_Find" will be returned on v2 just "Find" is returned)
* Strict data types are checked, in v1 most of the inputs are considered as string, if not they will be converted to string, but on v2 exception will be
thrown, if incorrect type is passed to any function * In v1 we have ldtp binary, on v2 we need to check ldtpd.sh for now, this doesn't return the version for now, it has to be implemented, if you check for "ldtp --version" in v1
* In v1 each action command was given 1 second sleep time internally before execution, but on v2 there is no delay unless its set in environment variable LDTP_COMMAND_DELAY. So, the script has to use appropriate wait time
* As Javier (from Ubuntu QA team) found, launchapp, argument name changed from 'arg' to 'args'
Some of missing API in v2:
* Calendar object
* logFailures in v1 is not implemented in v2
* LDTP logging methods
* appundertest
* launchapp2
* blackoutregion
* label object
* panel object
* ProcessStatistics
LTFX is completely removed in LDTP v2 in favor of wnck implmentation
Related branches
- Ara Pulido (community): Approve
- Daniel Holbach (community): Approve
- Diff: 74515 lines
This bug was fixed in the package ldtp - 2.0.2-0ubuntu1
---------------
ldtp (2.0.2-0ubuntu1) lucid; urgency=low
* New upstream release (Fixes LP: #516248):
+ LDTPv2 is a complete rewrite of LDTPv1 in Python
+ LTFX is completely removed in LDTP v2 in favor of wnck
-- Ara Pulido <email address hidden> Wed, 27 Jan 2010 17:57:45 +0100