I have a requirement where I need to change window titles before executing a test case from Coded UI. The window title remains same except that a part of it must be replaced by another string. Eg: [Main Window - abc] need to be updated as [Main Window - xyz].
Currently I have built an app which finds and replaces the text in .uitest files[as .uitest is just an xml.]
Can somebody let me know if there is a way to do it inside my test code itself. Like update the titles and then execute the case. Thank you in advance.
Aucun commentaire:
Enregistrer un commentaire