Performance Issue with Coded UI Test while searching for the HTMLHyperLink control in case you have several controls of this type on the web page
Problem description:
Performance issue with the CodedUI test while searching for the HTMLHyperLink control in case you have several controls of this type on the web page.
Resolution:
You may notice that CodedUI test will take time to search for the HTMLHyperLink control. By default CodedUI test generate "innerText" and "TagInstance" properties for the control.
To make the search faster for this control, please add the ID and Name property as well for the control and use them as a search property to make the search faster for this control. With this, in one of a case, I was able to reduce the search time from 10 seconds to not even 1 second.
Note: It is always good to have ID and Name for the controls while working with web plug-in with the CodedUI test.
Content developed by: Deepak Mittal
Content reviewed by: Teodora Stanev