While executing my test case ,it keeps fail due to object id not able to identify.
But id looks fine . attached screenshot of web html and katalon
HTML Snippet
Katalon object
Katalon Error
Please help me to understand why its failing
While executing my test case ,it keeps fail due to object id not able to identify.
But id looks fine . attached screenshot of web html and katalon
HTML Snippet
Katalon object
Katalon Error
Please help me to understand why its failing
looks the like id is dynamic
yes it is dynamic .But both katalon test object id and html id same why it is not locating ?
“Dynamic” in this context means the id changes each time the page is loaded into the browser.
Looking at your code, I don’t believe it is dynamic. It looks like an ASP.NET
id - lengthy but fixed and derived from code on the server (page-behind).
As to why Katalon cannot find it, perhaps it is not available when you try to perform actions on it. Did you wait for it to become visible?
https://docs.katalon.com/katalon-studio/docs/webui-wait-for-element-visible.html
Another possibility is that the element lives within an iframe, in which case, Katalon wouldn’t be able to find it if you’re in the wrong context.