Python Data-Driven Testing with DDT Library
The DDT (Data-Driven Testing) library is a third-party package that enables parameterized testing in Python's unittest framework. Before proceeding, install the package using pip: pip install ddt.
DDT provides the @ddt class decorator along with two method decorators: @data for direct test data input and @unpack for decomposing compound data st ...
Posted on Wed, 05 Aug 2026 16:11:57 +0000 by xgd
Implementing PO Design Pattern in Appium Framework - Enhanced Page Object Structure
Refactoring BasePage Module
Element Locator Methods
def find(self, by, locator=None):
return self.driver.find_elements(*by) if isinstance(by, tuple) else self.driver.find_element(by, locator)
Enhanced Find Method with Popup Handling
class BasePage():
_black_list = [MobileBy.ID, 'image_cancel']
_error_count = 0
_error_ma ...
Posted on Wed, 13 May 2026 02:49:10 +0000 by Piranha