Bug 16282

Summary: Wildcards for Applications in LDTP editor
Product: LDTP Reporter: Shreyank Gupta <shreyankg>
Component: EditorAssignee: Shreyank Gupta <shreyankg>
Status: ASSIGNED --- QA Contact: Shreyank Gupta <shreyankg>
Severity: enhancement    
Priority: medium CC: shreyankg
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch of the enhancement
database of supported window names

Description Shreyank Gupta 2008-06-09 12:38:36 UTC
Overview: 

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.