GNOME Bugzilla – Bug 542447
Wildcards for Applications in LDTP editor
Last modified: 2008-07-17 21:53:36 UTC
LDTP editor records the full name of the window when it records. It could be converted using reg-ex 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 Enhanced Results: Window name recorded as "*Evolution*" . So it would produce a Success even if the window name changes during execution of converted script.
Created attachment 114351 [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.
Created attachment 114352 [details] [review] database of supported window names this file is to 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.
Thanks for your patch and great work ! Will integrate them in the head.
to see snapshots of the GUI for the enhancement refer too http://allsortsofshrink.blogspot.com/2008/07/gui.html
Shreyank, Thanks for your contribution :) Your work is now available in main branch of GIT.