Tauk’s 2 minute Dashboard — Recipe
1 min readMay 16, 2022
How to create a UI automation dashboard in less than 2 minutes?
Ingredients:
- Internet
- Pre written Appium/Selenium scripts (Python)
- Tauk Project ID (projectid)
- Tauk API token and Token ID (tokenid)
Procedure:
- Import tauk into your script
from tauk.config import TaukConfig
from tauk.tauk_webdriver import Tauk
2. Initialize tauk in your script before the test class —
Tauk(TaukConfig(api_token = <your_token>, project_id = <your_projectid>))
3. Add the decorator from tauk before each test method which needs to be tracked
@Tauk.observe(custom_test_name="test_sample_name")
4. Register the driver of your appium/selenium script to Tauk
Tauk.register_driver(self.driver)
Result:
- Run your automation test in the same way as before
- Login to tauk.com and select your project
- Your dashboard is ready and you can see the test result under “test_sample_name” along with the logs, screenshots, fail reports etc.
If you’d like a 2 minute dashboard, sign up here: https://tauk.com/signup
Edited on 8th June 2022: Tauk added more features and some changes in initialising them to plug to the dashboard.