- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2019 08:08 AM
Hi,
I am creating ATF steps for catalog item. When I test it on chrome, it failed on Set Variable Values(Catalog Item Form) step. I have checked the test screenshots and it look like it entered the form correctly and don't see field errors. Here is screenshot example,
When debugging it for specific error, I have found that it said, "Uncaught TypeError: Cannot read property 'getAttribute' of undefined",
I am not sure why I have that error. Does anyone know?
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2019 06:10 AM
I found a solution to ignore that error that the ATF doesn't like is use try/catch method in catalog client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2019 10:12 AM
ATF does not like DOM manipulations, Error means that particular form is doing some DOM manipulations on the client side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2019 11:56 AM
Does that mean ATF doesn't like catalog client script that use GlideAjax using getAttribute()?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2019 06:10 AM
I found a solution to ignore that error that the ATF doesn't like is use try/catch method in catalog client script.