I am trying to Submit a record for approval in Salesforce Classic. When I manually click (or XClick) the “Submit” button, a confirmation box appears with the buttons OK and Cancel, but nothing appears when I use the “click” command. I am aware that I should not be seeing the confirmation because it should be automatically confirmed, however this is not happening. In an effort to isolate the problem, I added a command to “assertConfirmation,” but I receive the error message “no confirm found!”
I am willing to use either “click” or “XClick” (though I prefer “click”), but I cannot get either command to actually submit the record.
I created this functioning test case a couple years ago when UI.Vision was Kantu. I haven’t used it since then. The code I used initially appears below.
My updated code:
{
“Command”: “click”,
“Target”: “name=submit”,
“Value”: “”
},
I can see that the correct button is clicked when it’s highlighted, but the submission is not happening.
So the first XClick opens the box, right? (If not, use XClick with an image as input, not an XPath)
Then you should be able to use a second XClick to press the OK button. If you can not use UIVision to grab the screenshot of the button, you can use a 3rd party tool like Snipping tool or Snagit. Then import the image to UIvision (See “Load image” button in the “Visual” tab).
XClickRelative is not really needed here. Something like this should work to close the box:
Just came back to note that no additional steps are required to reenter the loop. Once the “Run” test case is complete, focus returns seamlessly back to the original test case.
Hi can you help me please?
I’m also working to be able to appear dialog but after running it still doesn’t appear dialog.
I also did the same as above but still not working.
Can you help me.