- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2020 01:31 PM
We just started using the "Click Component (Custom UI)" step today, to click a button on a custom page we made on the Service Portal, and we have been having a ton of problems with it. It seems to be very unreliable/inconsistent. I am not sure if we are doing something wrong.
The component we need is not listed there, so we select "Retrieve Components". It takes a while for it to run through that, and sometimes we receive errors along the way, and it dumps us out in what seems to be a "test impersonation state". Most of the time, we are unable to get the components that we need. We have an Approval Page on the Portal, and we are trying to click the "Approve" button. My test has four approvals in it. The odd thing is I got it to work for the first two Approvals, but not the second two. No matter what I do, I cannot get it to display the Approve button I need in the drop-down box.
Is there some "trick" or "best practices" when it comes to working with this step? It seems to be quite frustrating to try to use this. We have not had much success with it.
Thanks
Solved! Go to Solution.
- Labels:
-
Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2020 04:48 AM
As I said in my initial post, I have tried that numerous times, and it was not working. So I looked at my previous step, and noticed that I had set it to return the wrong page, which is why I was not returning the correct elements!
So, if anyhow has this same problem, be sure to check the previous step.
Sometimes, it helps just to walk away for a while, and come back and look at it again with fresh eyes!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2020 03:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2020 05:42 AM
What is your step prior to this one where you are trying to click tge button?
Are you successfully opening the Service Portal page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2020 11:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2020 11:20 AM
I am sorry, but I do not know the answer to that question. We did not have that situation. I am, by no means, and expert in ATF. We have been struggling, fumbling our way through it, and have asked many questions here in the Community and opened up a few HI Tickets too (which you may need to do if you cannot find/get an answer).
I wish they had better documentation on ATF! Most of the documentation we have come across is only for basic examples.
