Hello,
I want to use Selenium (Ruby and Watir) to create a testing script using the sandbox UI to create payment methods. Is there a way to automate the page?
As well as Understanding the Sandbox UI from a testing prospective. I have taken a look at the testing guide and have all the Credit card codes and ACH codes as well.
07-19-2018 11:55 AM
It is would be faster and less fragile to create profiles using an api.
The UI can change as features roll out and break selenium scripts.
Have you taken a look at the api reference or any of the SDKs?
https://developer.authorize.net/api/reference/#customer-profiles
SDKs
https://github.com/AuthorizeNet
07-20-2018 01:03 PM
We have the API use for creating profiles and have done a few that way.
For now we wanted to try and use selenium scripts as well but when we try it does not see to find the element on the page. As to why i proposed the question if it was possible to automate the page.
07-20-2018 01:14 PM
ChatGPT said: Using Selenium with Ruby and Watir is a solid approach for automating sandbox UI testing, especially for payment methods. While scripting the automation, having clear and customized visuals can also help document your tests or create tutorials. For generating such visuals quickly, Brat Generator is an excellent AI image generator that can assist in creating custom images for your testing docs or presentations. You can use this generator to enhance your workflow.
09-30-2025 05:13 AM