- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 12:02 AM
We switched our service portal to Employee Center recently and activated shopping cart at the same time.
The original checkout widget sc-shopping-cart-v2 did not fit our needs to we cloned it and changed the fields.
The problem now is that I cannot create ATF testing for this custom widget. There is a test step for the original widget but nothing for custom widgets.
I have looked at the test steps for custom UI but either I have to direct to an UI page or I have to scan the current page which doesn't work since the checkout widget is a pop-up window.
This is Rome, but we will upgrade to San Diego later this year.
Is there a way to create a ATF step to test our custom checkout widget?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 01:33 AM
Hi,
That's what I mentioned in my 1st response.
ATF has limitations in terms of Custom UI Steps.
It becomes difficult to detect the HTML elements using Custom UI Steps and hence you will face difficult in achieving this.
Please inform your customer about this limitations.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 01:48 AM
One last question: Would it be possible to use the Test Step "Run Server Side Script" to set the widget fields?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2022 12:51 AM
Hi,
I doubt it will work since Run Server Side Script runs on server and widgets are for UI
regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader