littlebear
5 hours agoContributor
Improve test performance message creating blank selectors
Hello,
In my test, I am manipulating my selector for an object using variables. It only has one selector. For example:
//div[@role='main']/div[%ProjectDiv%]
Because of this, I am frequently getting Log messages (previously they were warnings) telling me to improve my performance by making a given selector, that I don't currently have, the first selector for an object. Like this selector, for instance:
//div[@role='main']/div[1]
For curiosity's sake, I will "improve my performance", and when I do so my objects selectors look like this:
This is quite weird, and it will certainly not help my test's performance. Does anyone know of a way to either remove these messages or help Testcomplete recognize the variable selector is best once and for all?
Thanks you,