I discovered the 'Use extended find when possible' option was enabled when we disabled 'Map object names automatically' feature was disabled. We don't want object automatically mapped due to merging issues. We now have nodes with similar objects and differing aliases which is causing all sorts of find object issues. I said all that to ask the question - Is it better to not use 'Extended Find' if you want to explicitly associate objects within the hierrarcy? I'm almost to the point of starting over but the project has thousands of mapped objects. Are most out there using 'extended find'?
Solved! Go to Solution.
I tend not to use it.
But thats because I prefer to know if ANYTHING changes in an application so I can check with the developers if it's intentional.
I also do all my mapping manually and VERY carefully. (Ditto the Alias map - which should be much smaller, and much more human-readable than the full name map.)
Takes more time up front, but pays off in the long run.
I would absolutely agree with Colin.
I like to use Extended Find option, but just because for my tests the changes in internal structure of the AUT are irrelevant but tests stability across different versions of AUT is of primary importance. Which means: as long as some object (e.g. Save button) can be found within some parent area, we are not interested in its exact location.
And I have my both hands up voting for the mapping done manually and use of Aliases but not Namamapping object in test code with the Aliases tree organized according to the end-user UI experience and AUT logic.
/Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
Thanks for the feedback. I wish I had known about extended find before getting a year under my belt. I'm going to remove the extended find via Notepad ++ and start over.