Playwright with TypeScript / JavaScript Series - kzbin.info/aero/PL83cimSRP5ZmwhC6u255huRwSi9tlP-nc Read data from Json file Video - kzbin.info/www/bejne/bonOZWuYpL6IgNU Read data from CSV file Video - kzbin.info/www/bejne/bonOZWuYpL6IgNU Understanding of Fixtures Video - kzbin.info/www/bejne/mISmmpSNht1gjdE POM with Fixtures Video - kzbin.info/www/bejne/p6qmgaeYet-nrNk Fixtures over hooks Video - kzbin.info/www/bejne/p3_VpZJogZKrpLc OrangeHRM Practice Website - demoqa.com/automation-practice-form
@WishInfinite6 ай бұрын
@prabhubabu9709 Thank you for your wonderful feedback! I'm glad you find the videos helpful and easy to follow. I appreciate your interest in the code. While I haven't uploaded the code to Git just yet, I'll definitely consider it and share you the link. In the meantime, if you have any specific questions about the code or need further clarification, feel free to ask here. I'm here to help! Happy learning!
@DiRo05664 ай бұрын
Well explained!
@WishInfinite4 ай бұрын
Thank you 🙂
@notmyname202717 күн бұрын
I see that you have pom fixtures as well, how would you import and use both pom and test data fixtures in the same test
@WishInfinite16 күн бұрын
@notmyname2027 , This is good question, I have noted your scenario and will cover it with My Framework Videos, For now if you want to do it then You can do it by chaining your import of test. Follow below steps - 1 - Let's say 1st you are importing test as baseTest from @playwright/test in TestDataFixture.ts file like below - (and from same file you will export test with test data) - So No change here. import { test as baseTest } from "@playwright/test"; 2 - Now in POMFixture.ts file, rather then importing test as baseTest from @playwright/test module you will import it from TestDataFixture.ts and now here in POMFixture.ts file also you would be able to use test data fixture, (and from same file you will export test with POM fixture) import {test as baseTest} from "../fixtures/TestDataFixture". 3 - Now if you will import test from POMFixture in your any of the test script file, then with this test you would be able to use both POM fixtures as well as data fixture, because in base test we included test data fixture first and then in same test we included POM fixture. hope this will help :)
@CodeFreak19816 ай бұрын
Very hard to see the video with the low quality. Can you upload higher quality?
@WishInfinite6 ай бұрын
Hello @CodeFreak1981, It seems you're encountering video quality issues. I see that the video was uploaded in 4K. KZbin might still be processing higher resolutions. Please check the video settings again later to see if 4K playback is available. In the meantime, you can try navigating to the Settings menu, click on Quality, and choose from options such as 4K, HD, 720p, or any other suitable setting available.
@sathisheverseeu8519Ай бұрын
Is it possible to run single step with multiple set of data like dataset in specflow
@WishInfiniteАй бұрын
I would suggest then use JSON or CSV to pass data in such cases as I have explained in kzbin.info/www/bejne/bonOZWuYpL6IgNU, kzbin.info/www/bejne/jKPYqJ2lm5eHj9k . Still you want to try it with fixture then you will have to pass data in array from fixture and then you will have to iterate inside test only as you would not be able to receive fixture details outside test block so it would not be possible to use for loop outside test. and in above case you would be executing same code / step with different data in single test and it will not get considered as separate test. Hope this helps.