A
A
Alexander Vasilenko2016-11-24 15:22:58
Software testing
Alexander Vasilenko, 2016-11-24 15:22:58

How to write test cases for identical screens?

There are two screens. In nav we have two different links, for example: P-1, P-2 - these are two very similar screens.
These screens have a completely identical element, a table with columns COL-1, COL-2, COL-3
Our task is to check the presence of columns in these two tables.
The question is this: Are we splitting the check for the presence of these columns into two different cases, or are we writing everything in one?
Or something different?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2016-11-24
@SanchelliosProg

Data Driven Testing?

@testing.parameters[(2, 2, 4), (2, 3, 5), (3, 15, 18]
def test_sum(a, b):
   assert(sum(a,b) == c)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question