Bug 16282 - Wildcards for Applications in LDTP editor
Summary: Wildcards for Applications in LDTP editor
Alias: None
Product: LDTP
Classification: Unclassified
Component: Editor (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium enhancement
Assignee: Shreyank Gupta
QA Contact: Shreyank Gupta
Depends on:
Reported: 2008-06-09 12:38 UTC by Shreyank Gupta
Modified: 2008-07-10 14:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

Patch of the enhancement (59.86 KB, patch)
2008-07-10 14:27 UTC, Shreyank Gupta
Details | Splinter Review
database of supported window names (32 bytes, text/plain)
2008-07-10 14:30 UTC, Shreyank Gupta

Note You need to log in before you can comment on or make changes to this bug.
Description Shreyank Gupta 2008-06-09 12:38:36 UTC

LDTP editor records the full name of the window when it records. When converted to python scripts using the convert button, it could be converted using wild-cards to a window name that contains the name of the application and wild-cards, so that it will run fine in case the window name changes to another name that still contains the name of the application.

Steps to Reproduce: 

    1) Run LDTP Editor with any popular application, say Evolution.

    2) Record some action.

    3) Convert the recorded code to a python script using the Convert Button.

    4) Play the code. In case the window name does not match the window name specified in the code, it produces an error. Although both the conflicting window names have 'Evolution' in them.

Actual Results: Failure

Expected Results: Window name used as "*Evolution" in the script. So it would produce a Success

Platform: Any
Comment 1 Shreyank Gupta 2008-07-10 14:27:11 UTC
Created attachment 17627 [details] [review]
Patch of the enhancement

Patch to implement the user-defined Window name Support using wildcards. Could not include the file appdata in the patch so have attached it separately.
Comment 2 Shreyank Gupta 2008-07-10 14:30:54 UTC
Created attachment 17628 [details]
database of supported window names

this file resides in the /python directory which i could not include in the patch. The file contains some default window names as LDTP team's choice of supported applications. Feel free to add into it more window names as you feel fit and required.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.