Forneus-1901 / Testing-Challenges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing-Challenges

################################# 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/

About


Languages

Language:Java 100.0%