No video
SeleniumBase Common API Methods
A preview of common API methods included with SeleniumBase, a test automation framework for Python Web-UI testing.
See github.com/sel... for the complete API list.
Created with iMovie by Michael Mintz.
Music and theme from Final Fantasy Tactics: "Unit Introductions" - By Square Enix Co., Ltd (See • Final Fantasy Tactics ... for the original.)
Пікірлер: 4
So cool! Thanks for sharing!👍
Thank you!
Hey, how to run tests(pipeline) on different environments? I found something like '--env=ENV' in documentation but in which file I should setup it? e.g. I have variables like staging_url = "staging.com", what I should put instead of that? Thank you
@MichaelMintz
3 жыл бұрын
Hi, those are command-line arguments that you can use to choose different code paths in your tests by using "if" statements. For example, you may have both a QA site, and a staging site. Those would have different logins most-likely. Use "if self.env == 'qa':" to execute the QA-specific code. Use "if self.env == 'staging':" to execute the staging-specific code. On the command-line, you would use "--env=staging" to call the staging version of your tests.