P
P
pavel0staratel2016-03-20 15:46:18
Automation
pavel0staratel, 2016-03-20 15:46:18

How in specflow to write a check for a value that is known only at the time the test is run?

I need to check the values ​​in a table in a web page. In most cases, these are known values. But sometimes the value is, for example, the current date. Is it possible to write something like "=today()" in the step so as not to create a new step just for this case?
Those. is it possible to do something like this using specflow:
Then I verify values ​​in MyTable
| ColumnA | ColumnB |ColumnC |
| Electricity | 100 | =today() |
| Electricity | 200 | =today() |

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Tkachenko, 2016-03-22
@eugene20tkachenko

In the standard way, there’s no way, just create some kind of a round.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question