littlebear
2 months 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 gett...
- 2 months ago
Hello,
Long ago, I reported to SmartBear this "improve my performance" feature resulting in an "Empty" entry, and gave up on using it.
Also I learned to ignore the log messages of "improve my performance" as they do not make sense since my constructed XPath is a simple one.
I have been using string variables %Button% = 'Save', I did not try integer variables %ProjectDiv% = 1, could that make a difference?
To minimize these occurrences, keep in mind that NameMapping Aliases have parent child multi level structure, where Mapped objects are page and a flat out list of nodes. If your Mapped objects also consist of parent child multi level structure, you will get such performance message.
Hope this is helpful.