# Python Selenium Automation using unit test framework

**URL:** <https://discuss.python.org/t/python-selenium-automation-using-unit-test-framework/20893>\
**Category:** Python Help\
**Created:** [November 9, 2022, 1:58pm UTC](https://discuss.python.org/t/python-selenium-automation-using-unit-test-framework/20893 "2022-11-09T13:58:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rakesh3004](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@Rakesh3004](https://discuss.python.org/u/Rakesh3004)\
**Post date:** [November 9, 2022, 1:58pm UTC](https://discuss.python.org/t/python-selenium-automation-using-unit-test-framework/20893/1 "2022-11-09T13:58:00Z")

</div>

Hi All,

I am new to Python automation. I have developed one python unit test( **TC\_Login.py** ) which is working good. Now I want to create another unit test( **TC\_ComposeEmai** l) and for this I want t use ‘TC\_Login.py’ for logging in to application and after that I want TC\_ComposeEmail to execute.

So the basic thing is I want to reuse one unit test into another unit test

Thanks,  
Rakesh
