c# - How to customize a CodedUI test search property - specifically window title -
suppose trying automate notepad, , depending on open, tile of window either "notepad", "notepad - letter_to_boyfriend.txt", "notepad - readme.txt", etc.
when recorded coded ui test, assumed title "notepad". want customize test somehow, title looks "notepad*" enough.
how can so? sorry, not have recorded code share @ moment, might later. not hard reproduce.
it has got search property. in advance.
doubleclick on [mapname].uitest, in ui control map select window, press f4 see properties, , in search properties change operator equalsto contains , value "notepad".
Comments
Post a Comment