0% found this document useful (0 votes)
18 views1 page

Start Js

This document contains a TestCafe script for automating a login process on the Deep Thought Education website. It includes a fixture named 'start' that navigates to the login page and a test that inputs a username and password before clicking the login button. The script is structured to facilitate automated testing of the login functionality.

Uploaded by

shahbhumikak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

Start Js

This document contains a TestCafe script for automating a login process on the Deep Thought Education website. It includes a fixture named 'start' that navigates to the login page and a test that inputs a username and password before clicking the login button. The script is structured to facilitate automated testing of the login functionality.

Uploaded by

shahbhumikak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

import { Selector } from 'testcafe';

fixture('start')
.page('https://dev.deepthought.education/login');

test('My first test', async t => {


// Test code goes here
await t
.typeText('#username', 'Bhumika Shah')
.typeText('#password', 'Deep@thought')
.click('#login');

});

You might also like