Error received while using the xpath of the dynamic elementI want to fetch the details of login failure from a website to the katalon console. Now, the problem i am facing while doing this is that, katalon cannot find the element by the id of the element because the id is dynamically changing. Hence i am using xpath to solve that problem. But while fetching a text on the website it cannot capture that element with a level tag.
On Clicking the login button thios error appears and then this error should be fetched by Katalon into its own console This is code used to fetch the details of the login error Which printing the variable data 1, i am not able to receive any kind of data in the Katalon log viewer or in the console.
If anyone one could help me on this, it would be much appreciated.