After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684209 - Incorrect control mapping
Incorrect control mapping
Status: RESOLVED NOTABUG
Product: LDTP
Classification: Other
Component: general
Cobra2.x
Other Windows
: Normal normal
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2012-09-17 12:43 UTC by Konstantin
Modified: 2012-09-17 18:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Konstantin 2012-09-17 12:43:16 UTC
1. Start Windows Device Manager
2. Execute the following code ( c# .NET ):

Ldtp.Ldtp window = new Ldtp.Ldtp("Device Manager");
string[] list = window.GetObjectList(); // "tblcProcessors" is present in the array
window.Click("tblcProcessors"); // throws an exception - object not found

According to the Inspect utility, the object is a tree item, not a table cell, so it's wrongly identified.
Comment 1 Nagappan Alagappan 2012-09-17 18:42:49 UTC
Hello,

You have to use this API:

selectrow('Device Manager', 'ttbl0', 'Processors')

Regarding Tree Item listed as table cell, its purposely [1]

[1] - https://github.com/ldtp/cobra/blob/master/Ldtpd/CommonStruct.cs#L106

Thanks