bcpeinhardt / schnauzerUI

A human readable scripting language for automated UI tests.
MIT License
10 stars 0 forks source link

Bindings in Python, JavaScript, Or PHP / SchnauzerUI Server #9

Open bcpeinhardt opened 1 year ago

bcpeinhardt commented 1 year ago

SchnauzerUI scripts are really simple. They cover entirely procedural, UI based testing. Basically, you should be able to translate a use case to a SchnauzerUI script. But people want to be able to opt into complexity. So, much like TagUI has bindings for Python, I think it would be useful for SchnauzerUI to have bindings in one or more popular programming languages for more complex use cases. The main use case here is "mixed tests", where you do some stuff in the browser, make an api request or two, maybe validate some info in the database, etc. Since we're talking about web development, the language should probably be JavaScript or PHP. Rather than dealing with ffi or webassembly, I think the simplest way to do this will be to create a SchnauzerUI server (much like the Selenium server), which can take requests. This is gonna be a lot of work, and a lot of fun :)

bcpeinhardt commented 1 year ago

@dmgolembiowski Tagging you on this since you said it was your personal favorite idea, in case you have comments :)

dmgolembiowski commented 1 year ago

Sounds fun! I'll be returning from a vacation in 2 days and will have better tools to tinker around with these ideas.