Pytest Tutorial: Data Provider Testing | Parameterization | Pass Data From File | Data Driven Tests

  Рет қаралды 5,847

Kumar'S

Kumar'S

Күн бұрын

Пікірлер: 8
@SamsMeett
@SamsMeett 2 жыл бұрын
Thank you very much! I am student from Russia and this video helped to me in my studding work.
@KumarS1
@KumarS1 2 жыл бұрын
You are welcome!
@Divyaaaaaaaaaa10
@Divyaaaaaaaaaa10 2 жыл бұрын
Could you please share a demo on joining data frames and validating with a reference dataset
@zozonoaroro6201
@zozonoaroro6201 Жыл бұрын
Is it possible to link a cucumber feature scenario outline with a xlsx or CSV file in pytest bdd framework
@KumarS1
@KumarS1 Жыл бұрын
I have not tried that, its not possible out of box. Nor I find any plugins or anything for that. thanks!
@deepthiguduru
@deepthiguduru 2 жыл бұрын
Can we pass JSON file as input data for mark.parameterize ? I have a JSON File which has array of JSON Objects. Each JSON Object in an array is a testcase , and testcases should continue eventhough one testcase fails with Assertion Error ? Can we achieve with mark.parameterize ?
@KumarS1
@KumarS1 2 жыл бұрын
Yes we can do that. The testdata to be passed to the parametrize function has to be a list. So you may need to modify the input json data a bit before passing it. The get_data function can be used to read json and return list here. thanks.. kumar
@deepthiguduru
@deepthiguduru 2 жыл бұрын
@@KumarS1 Thank you . I will try this once 💐💐
Reading data from Excel Files (Selenium Python)
13:35
QAFox
Рет қаралды 4,4 М.
UFC 308 : Уиттакер VS Чимаев
01:54
Setanta Sports UFC
Рет қаралды 922 М.
HELP!!!
00:46
Natan por Aí
Рет қаралды 42 МЛН
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 51 МЛН
#53 Python Tutorial for Beginners | Types of Methods
11:38
Telusko
Рет қаралды 437 М.
Jira Training | Jira Tutorial for Beginners | Jira Course | Intellipaat
36:09
Using pytest in VS code the basics.
16:48
Pytalista
Рет қаралды 9 М.