I have the following problem in TestProject.
When I am running my created TestProject test for our system, it is working fine, all element locators are able to find the required elements correctly.
I also checked it while was debugging by test, for example, like here:
I checked it here while debugging for all my actions and all is OK.
But when I am running my test with “Run until here” option (after opening my test for editing and clicking “Record”), for all my actions in my test on the browser’s screen I see the following message: “The expected element in step #6 is missing. Don’t worry, TestProject’s AI is looking for another path forward…”
How can I get rid of such messages ?
It is taking additional time while AI is searching for the element and trying to find other locators.
Will it help if I will delete all other element locators from here and will leave only the first locator that is checked by me and is working fine ?
My test script will work faster in this case and AI will not attempt to find element on the screen using another locator ?
Why also sometimes AI cannot find element using first specified locator (but it is CHECKED AND WORKING fine) and is changing locators in places and suggest another locator that is also working, but I do not wont to replace them ?