I had 20 objects in my Repository that needed to be changed
i.e. they used to be somthing like
Code: Select all
/element[@caption='1']/element[@caption='Rights']/button[@text='Ok']
obviously if i had the
Code: Select all
/element[@caption='1']/element[@caption='Rights']
but i didn't, so what i wanted to do it to create Folder put
Code: Select all
/element[@caption='1']/element[@caption='Rights' or @caption='Right']
Code: Select all
/element[@caption='1']/element[@caption='Rights']
i wanted to be smart and not do it manually for each and every item, so i went into the repository .cs file and did a Find and Replace for
Code: Select all
/element[@caption='1']/element[@caption='Rights']
that worked fine, but when i re-complied the project, the string i removed went back in, so i had to manaully change each and every item.
1. how and why did the string i removed came back after compilation?
2. is there a way to do it directly from the code like i wanted?
3. is there a way to do such a mass change via the GUI?
Kind Regards,
Tnimni