00:00 Intro
04:46 1. Click
08:54 2. Type Text
10:53 3. Double click
12:32 4. Right click
15:50 5. Hover
18:02 6. Drag n Drop
20:26 7. Scroll to element
22:05 8. Alert or Pop-up
25:50 9. Wait
26:06 10. Screenshot
TestCafe Actions
1. Click: await t.click(‘#my-button’);
2. Type Text: await t.typeText(‘#my-input’, ‘Hello, TestCafe!’)
3. Double click: await t.doubleClick(Selector(‘#my-element’))
4. Right click: await t.rightClick(Selector(‘#my-element’))
5. Hover: await t.hover(Selector(‘#my-element’))
6. Drag n Drop: await t.dragToElement(‘#drag1′,’#div1’)
7. Scroll to element: await t..scrollIntoView(‘#id’)
8. Alert or Pop-up: await t.setNativeDialogHandler(() => false)
await t.click(‘.pop-up-alert’)
9. Wait: await t.wait(1000)
10. Screenshot: Screenshot .takeScreenshot(‘screenshot1.png’)
Code –
All Free Tutorials ?
▬▬▬▬▬▬▬
Every Like & Subscription gives me great motivation to keep working for you
You can support my mission for education by sharing this knowledge and helping as many people as you can
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav Pal
▬▬▬▬ USEFUL LINKS ▬▬▬▬
Ask Raghav –
Shorts Eng –
Shorts Hindi –
GitHub Repositories –
Udemy –
Stories –
▬▬ CI | CD | DEVOPS ▬▬
Jenkins Beginner –
Jenkins Tips & Trick –
Docker –
Jenkinsfile –
Kubernetes –
Vagrant –
Ansible –
▬▬ UI TESTING ▬▬
Selenium Beginners –
Selenium Java Framework from Scratch –
Selenium Python –
Selenium 4 –
Selenium Tips –
Selenium Builder –
Katalon Studio –
Robot Framework with RIDE-
Robot Framework with Eclipse –
Protractor –
AccelQ –
Test Project –
Cucumber BDD –
Cypress –
Playwright –
WebdriverIO –
XPath & Web Locators –
▬▬ API TESTING ▬▬
Web Services (API) –
SoapUI –
Postman –
Postman 2022 –
Rest Assured –
Karate API Testing –
General –
JMeter API Testing –
Katalon Studio API Testing –
API Mocking –
▬▬ MOBILE TESTING ▬▬
Appium –
Mobile Playlist –
▬▬ PERFORMANCE TESTING ▬▬
JMeter Beginner –
JMeter Intermediate –
JMeter Advanced –
JMeter Tips & Tricks –
Gatling –
Performance Testing –
▬▬ SOURCE CODE MANAGEMENT ▬▬
Git & GitHub –
GITLAB –
▬▬ IDE ▬▬
Eclipse –
IntelliJ IDEA –
Visual Studio Code –
▬▬ PROGRAMMING ▬▬
Java Beginners –
Java Tips & Tricks –
Groovy –
JavaScript –
TypeScript –
Python –
Ruby –
▬▬ BUILD TOOLS ▬▬
Maven –
Gradle –
▬▬ CLOUD SERVICES ▬▬
Browserstack –
Saucelabs –
LambdaTest –
▬▬ DATA FORMATS ▬▬
JSON –
XML –
▬▬ OTHERS ▬▬
Virtualization on Windows –
Mock Interviews –
Redis –
Misc –
Tools & Tips –
QnA Friday –
Sunday Special –
—
[ad_2]
source