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
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.
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.
on Mar 23, 2017 at 08:14:22.
(provided by the Example extension).