Commit 9afd77ec authored by Hassan Bin Eqbal's avatar Hassan Bin Eqbal

Update README.md

parent ddb5eba8
# TestCafe # TestCafe
Clone the Project, use the below commands Clone the Project, use the below commands
$ git clone git@gitlab.mynisum.com:HasanEqbal/testcafe.git $ git clone git@gitlab.mynisum.com:HasanEqbal/testcafe.git
$ cd PROJECT $ cd PROJECT
$ npm install $ npm install
Open the project in VisualStudio and ran the below commands in terminal Open the project in VisualStudio and ran the below commands in terminal
testcafe -c 2 edge .\test\RegistrationTest.js testcafe -c 2 edge .\test\RegistrationTest.js
it will open the EDGE browse and start running the testcases. it will open the EDGE browse and start running the testcases.
Some other usefull commands are below Some other usefull commands are below
testcafe -c 2 edge .\test\RegistrationTest.js -t "Validate register user data in database" testcafe -c 2 edge .\test\RegistrationTest.js -t "Validate register user data in database"
npx testcafe edge test/MetaData.js --fixture-meta version=1 npx testcafe edge test/MetaData.js --fixture-meta version=1
testcafe "chrome:emulation:device=iphone X" tests/sample-fixture.js testcafe "chrome:emulation:device=iphone X" tests/sample-fixture.js
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment