I'm looking for a tool, that will automatically performs specified actions such as clicking on links, filling and submitting forms, and so on. I mean I write some kind of script with instructions and the program will execute it. I want to use it for testing websites and want to repeat the same test sequence many times, so I don't want to do it manually.
Important requirement is that it must allow me to use conditions and store values during the test run.
For example: If there is a login button (which means we are not logged in) then perform login sequence first, but if there is a logout button (we are logged in), then go to products page and click on the first product. It should also allows me to read and store the name of the first product into a variable that will be used later.
I was trying multiple solutions:
Selenium and Selenium IDE - First is overly complicated even to install it, not to mention using it. I'm not even sure if there is any possibility to use variables or conditions - if so, it is not so easy. Second is very impractical macro recording tool with bugged UI.
Alternatives like Codeception, iMacros, DalekJS and others - they are all just a macrorecording or scripting tools that does not allow to use conditions, only strictly given sequence of commands.
Are there any paid or free solutions for this, without overly complicated installations and settings? It should preferably use a browser (Chrome, FF) to display what the test is doing or what the currently tested loaded page looks like, not only the results or log.