################################# TASK 1 ############################################
Class Name/Scrpit name: CookiesDeletion
This script automates browser tasks:
1.Opens the browser.
2.Deletes all cookies.
3.Sets window size.
4.Sets window position.
5.Maximizes the window.
################################# TASK 2 ############################################
Class Name/Scrpit name: BasicAuthBypassAutomation
๐๐๐ฒ 1: ๐๐ฒ๐ฉ๐๐ฌ๐ฌ ๐ญ๐ก๐ ๐๐๐ฌ๐ข๐ ๐๐ซ๐จ๐ฐ๐ฌ๐๐ซ ๐๐ฎ๐ญ๐ก๐๐ง๐ญ๐ข๐๐๐ญ๐ข๐จ๐ง ๐๐จ๐ฉ๐ฎ๐ฉ ๐
Hey there, Selenium fans! It's Day 1 of our exciting 50-day coding challenge, and we're thrilled to kick things off with you. Over the next few weeks, we'll be diving into the world of web automation, learning new skills, and tackling fun challenges together. Today, we're starting simply by writing our first Selenium script. So, get ready to launch into automation and make Day 1 the beginning of an amazing journey!
โ ๐๐๐ฒ 1 -๐๐จ๐๐ข๐ง๐ ๐๐ก๐๐ฅ๐ฅ๐๐ง๐ ๐:
๐๐๐ฌ๐ญ ๐๐๐๐ง๐๐ซ๐ข๐จ: Develop an automation script that bypasses the Basic Browser Authentication Popup.
Link: https://the-internet.herokuapp.com/basic_auth
๐๐ฌ๐๐ซ๐ง๐๐ฆ๐: admin / ๐๐๐ฌ๐ฌ๐ฐ๐จ๐ซ๐: admin
################################# TASK 3 ############################################
Class Name/Scrpit name: DisabledFieldInputAutomation
๐๐๐ฒ 2: ๐๐จ๐ฐ ๐ญ๐จ ๐ก๐๐ง๐๐ฅ๐ ๐๐ข๐ฌ๐๐๐ฅ๐ ๐ญ๐๐ฑ๐ญ๐๐จ๐ฑ ๐จ๐ซ ๐ฉ๐๐ฌ๐ฌ๐ฐ๐จ๐ซ๐ ๐๐ข๐๐ฅ๐ ๐๐ฌ๐ข๐ง๐ ๐๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐
Hey there, Selenium fans! It's Day 2 of our exciting 50-day coding challenge, and over the next few weeks, we'll be diving into the world of web automation, learning new skills, and tackling fun challenges together.
โ ๐๐๐ฒ 2 -๐๐จ๐๐ข๐ง๐ ๐๐ก๐๐ฅ๐ฅ๐๐ง๐ ๐:
๐๐๐ฌ๐ญ ๐๐๐๐ง๐๐ซ๐ข๐จ: Develop an automation script that will input a value in a disabled field (You cannot able to input value in field with sendkeys() directly if field is disabled)
๐๐ข๐ง๐ค: https://seleniumpractise.blogspot.com/2016/09/how-to-work-with-disable-textbox-or.html
################################# TASK 4 ############################################
Class Name/Scrpit name: ReadingBoxRatingAutomation
๐๐๐ฒ 3 - ๐๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐๐จ๐๐ข๐ง๐ ๐๐ก๐๐ฅ๐ฅ๐๐ง๐ ๐๐
Hey there, Selenium fans! It's Day 3 of our exciting 50-day coding challenge, and over the next few weeks, we'll be diving into the world of web automation, learning new skills, and tackling fun challenges together.
โ ๐๐๐ฌ๐ญ ๐๐๐๐ง๐๐ซ๐ข๐จ:
๐๐ฌ๐ข๐ง๐ ๐ฌ๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐๐ฎ๐ญ๐จ๐ฆ๐๐ญ๐ข๐จ๐ง - ๐ซ๐๐๐ ๐ญ๐ก๐ * ๐ซ๐๐ญ๐ข๐ง๐ ๐จ๐ ๐ญ๐ก๐ ๐๐จ๐จ๐ค, ๐๐ง๐ญ๐๐ซ ๐ข๐ญ ๐ข๐ง ๐ญ๐ก๐ ๐ญ๐๐ฑ๐ญ ๐๐จ๐ฑ ๐๐ง๐ ๐๐ฅ๐ข๐๐ค "๐๐ก๐๐๐ค ๐ซ๐๐ญ๐ข๐ง๐ " ๐๐ฎ๐ญ๐ญ๐จ๐ง. ๐ฒ๐จ๐ฎ ๐ฌ๐ก๐จ๐ฎ๐ฅ๐ ๐ฌ๐๐ "๐ฐ๐๐ฅ๐ฅ ๐๐จ๐ง๐!" ๐ฆ๐๐ฌ๐ฌ๐๐ ๐.
๐๐ข๐ง๐ค: https://play1.automationcamp.ir/advanced.html
๐๐ข๐ง๐ญ: Use CSS Pseudo-elements Concept
################################# TASK 5 ############################################
Class Name/Scrpit name: ClickDelayedElementAutomation
โ ๐๐๐ฒ 4 - ๐๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐๐จ๐๐ข๐ง๐ ๐๐ก๐๐ฅ๐ฅ๐๐ง๐ ๐๐
Hey there, Selenium fans! It's Day 4 of our exciting 50-day coding challenge, and over the next few weeks, we'll be diving into the world of web automation, learning new skills, and tackling fun challenges together.
โ ๐๐๐ฌ๐ญ ๐๐๐๐ง๐๐ซ๐ข๐จ:
๐๐ฌ๐ข๐ง๐ ๐ฌ๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐๐ฎ๐ญ๐จ๐ฆ๐๐ญ๐ข๐จ๐ง - ๐๐ฅ๐ข๐๐ค ๐จ๐ง ๐ญ๐ก๐ ๐ ๐ซ๐จ๐ฐ๐ข๐ง๐ ๐๐ฎ๐ญ๐ญ๐จ๐ง ๐๐ง๐ ๐จ๐ง๐๐ ๐๐ฅ๐ข๐๐ค๐๐ ๐ฒ๐จ๐ฎ ๐ฌ๐ก๐จ๐ฎ๐ฅ๐ ๐ฌ๐๐ "๐๐ฏ๐๐ง๐ญ ๐๐ซ๐ข๐ ๐ ๐๐ซ๐๐" ๐ฆ๐๐ฌ๐ฌ๐๐ ๐. ๐๐๐ซ๐ข๐๐ฒ ๐ญ๐ก๐๐ญ "๐๐ฏ๐๐ง๐ญ ๐๐ซ๐ข๐ ๐ ๐๐ซ๐๐".
๐๐ข๐ง๐ญ: Not all elements are instantly clickable, particularly when animations etc. are in use.
โ ๐๐ฅ๐ข๐๐ค ๐๐๐ฅ๐จ๐ฐ ๐ฅ๐ข๐ง๐ค: https://testpages.eviltester.com/styled/challenges/growing-clickable.html
################################# TASK 6 ############################################
Class Name/Scrpit name: SecureCodeEntryAutomation
โ ๐๐๐ฒ 5 - ๐๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐๐จ๐๐ข๐ง๐ ๐๐ก๐๐ฅ๐ฅ๐๐ง๐ ๐๐
Hey there, Selenium fans! It's Day 5 of our exciting 50-day coding challenge, and over the next few weeks, we'll be diving into the world of web automation, learning new skills, and tackling fun challenges together.
โ ๐๐๐ฌ๐ญ ๐๐๐๐ง๐๐ซ๐ข๐จ:
๐๐ฌ๐ข๐ง๐ ๐๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐๐ฎ๐ญ๐จ๐ฆ๐๐ญ๐ข๐จ๐ง ๐๐ง๐ญ๐๐ซ ๐ญ๐ก๐ ๐ฏ๐๐ฅ๐ข๐ ๐๐จ๐๐ ๐๐ฒ ๐ค๐๐ฒ๐๐จ๐๐ซ๐ ๐ค๐๐ฒ๐ฌ ๐๐ฒ ๐ฉ๐ซ๐๐ฌ๐ฌ๐ข๐ง๐ ๐ญ๐ก๐ ๐จ๐ง๐ฅ๐ฒ ๐ค๐๐ฒ ๐๐ฎ๐ญ๐ญ๐จ๐ง ๐๐ง๐ ๐๐ฌ๐ฌ๐๐ซ๐ญ๐ข๐ง๐ "๐ฌ๐ฎ๐๐๐๐ฌ๐ฌ" ๐ฆ๐๐ฌ๐ฌ๐๐ ๐. The confirmation code is - "999999". You cannot use sendkeys("9") directly.
๐๐ข๐ง๐ญ: Use keyboard events Keys concept
โ ๐๐ฅ๐ข๐๐ค ๐๐๐ฅ๐จ๐ฐ ๐ฅ๐ข๐ง๐ค: https://qaplayground.dev/apps/verify-account/
################################# TASK 7 ############################################
Class Name/Scrpit name: StopAndWaitEfficiencyTester
โ ๐๐๐ฒ 6 - ๐๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐๐จ๐๐ข๐ง๐ ๐๐ก๐๐ฅ๐ฅ๐๐ง๐ ๐๐
Hey there, Selenium fans! It's Day 6 of our exciting 50-day coding challenge, and over the next few weeks, we'll be diving into the world of web automation, learning new skills, and tackling fun challenges together.
โ ๐๐๐ฌ๐ญ ๐๐๐๐ง๐๐ซ๐ข๐จ:
๐๐ซ๐๐๐ญ๐ ๐๐ง ๐๐ฎ๐ญ๐จ๐ฆ๐๐ญ๐ข๐จ๐ง ๐๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐ญ๐๐ฌ๐ญ ๐ฌ๐๐ซ๐ข๐ฉ๐ญ ๐ญ๐ก๐๐ญ ๐๐ฅ๐ข๐๐ค๐ฌ ๐ญ๐ก๐ ๐๐ญ๐๐ซ๐ญ ๐๐ฎ๐ญ๐ญ๐จ๐ง ๐๐ง๐ ๐ญ๐ก๐๐ง ๐ฐ๐๐ข๐ญ๐ฌ ๐๐จ๐ซ ๐ญ๐ก๐ ๐ฉ๐ซ๐จ๐ ๐ซ๐๐ฌ๐ฌ ๐๐๐ซ ๐ญ๐จ ๐ซ๐๐๐๐ก 75%. ๐๐ก๐๐ง ๐ญ๐ก๐ ๐ญ๐๐ฌ๐ญ ๐ฌ๐ก๐จ๐ฎ๐ฅ๐ ๐๐ฅ๐ข๐๐ค ๐๐ญ๐จ๐ฉ. ๐๐ก๐ ๐ฅ๐๐ฌ๐ฌ ๐ญ๐ก๐ ๐๐ข๐๐๐๐ซ๐๐ง๐๐ ๐๐๐ญ๐ฐ๐๐๐ง ๐ฏ๐๐ฅ๐ฎ๐ ๐จ๐ ๐ญ๐ก๐ ๐ฌ๐ญ๐จ๐ฉ๐ฉ๐๐ ๐ฉ๐ซ๐จ๐ ๐ซ๐๐ฌ๐ฌ ๐๐๐ซ ๐๐ง๐ 75% ๐ญ๐ก๐ ๐๐๐ญ๐ญ๐๐ซ ๐ฒ๐จ๐ฎ๐ซ ๐ซ๐๐ฌ๐ฎ๐ฅ๐ญ.
โ ๐๐ฅ๐ข๐๐ค ๐๐๐ฅ๐จ๐ฐ ๐ฅ๐ข๐ง๐ค: http://uitestingplayground.com/progressbar
################################# TASK 8 ############################################
Class Name/Scrpit name: MenuInteractionVerifier
โ ๐๐๐ฒ 7 - ๐๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐๐จ๐๐ข๐ง๐ ๐๐ก๐๐ฅ๐ฅ๐๐ง๐ ๐๐
Hey there, Selenium fans! It's Day 7 of our exciting 50-day coding challenge, and over the next few weeks, we'll be diving into the world of web automation, learning new skills, and tackling fun challenges together.
โ ๐๐๐ฌ๐ญ ๐๐๐๐ง๐๐ซ๐ข๐จ:
๐๐ซ๐๐๐ญ๐ ๐๐ง ๐๐ฎ๐ญ๐จ๐ฆ๐๐ญ๐ข๐จ๐ง ๐๐๐ฅ๐๐ง๐ข๐ฎ๐ฆ ๐ญ๐๐ฌ๐ญ ๐ฌ๐๐ซ๐ข๐ฉ๐ญ ๐ญ๐ก๐๐ญ ๐ฉ๐๐ซ๐๐จ๐ซ๐ฆ๐ฌ ๐ญ๐ก๐ "๐๐ข๐ ๐ก๐ญ ๐๐ฅ๐ข๐๐ค" ๐จ๐ ๐ฆ๐จ๐ฎ๐ฌ๐ ๐๐ง๐ ๐ฒ๐จ๐ฎ ๐ฐ๐ข๐ฅ๐ฅ ๐ฌ๐๐ ๐ญ๐ก๐ ๐ฆ๐๐ง๐ฎ ๐ญ๐ก๐๐ง ๐ง๐๐ฏ๐ข๐ ๐๐ญ๐ ๐ญ๐จ "๐๐ก๐๐ซ๐ ๐ฆ๐๐ง๐ฎ" ๐จ๐ฉ๐ญ๐ข๐จ๐ง ๐๐ง๐ ๐๐ฅ๐ข๐๐ค ๐จ๐ง ๐๐ฅ๐ฅ "๐ฌ๐จ๐๐ข๐๐ฅ ๐ฆ๐๐๐ข๐ ๐ฅ๐ข๐ง๐ค๐ฌ" ๐ข๐ง ๐ฌ๐ฎ๐-๐ฆ๐๐ง๐ฎ. ๐๐ง๐ ๐๐ฌ๐ฌ๐๐ซ๐ญ๐ฌ ๐ญ๐ก๐ ๐ฏ๐๐ซ๐ข๐๐ข๐๐๐ญ๐ข๐จ๐ง ๐ฆ๐๐ฌ๐ฌ๐๐ ๐ ๐๐จ๐ซ ๐๐ฅ๐ฅ ๐ฌ๐จ๐๐ข๐๐ฅ ๐ฅ๐ข๐ง๐ค๐ฌ. e.g: "Menu item Twitter clicked"
โ ๐๐ฅ๐ข๐๐ค ๐๐๐ฅ๐จ๐ฐ ๐ฅ๐ข๐ง๐ค: https://qaplayground.dev/apps/context-menu/