- Видео 80
- Просмотров 134 351
Test Automation 101
Добавлен 23 окт 2022
Welcome to our Test Automation Channel. We will walkthrough with various methods and skills for Software Automation Test. Firstly, we dedicated to Selenium WebDriver and test automation! If you're looking to master the art of automated testing with Selenium, you've come to the right place. We cover everything you need to know to become a proficient Selenium tester, from the basics to advanced techniques.
Our video series starts with a comprehensive introduction to Selenium, where we delve into its core concepts and demonstrate how to set up Selenium WebDriver with Java and Maven. We'll guide you through writing your first test script and executing it to perform basic automation tasks.
Our video series starts with a comprehensive introduction to Selenium, where we delve into its core concepts and demonstrate how to set up Selenium WebDriver with Java and Maven. We'll guide you through writing your first test script and executing it to perform basic automation tasks.
How to use XPath
In this video, We demonstrate how to integrate and use XPath in your Cypress tests to handle complex element selection scenarios. While Cypress primarily supports CSS selectors, XPath provides additional flexibility, especially when dealing with complex DOM structures or elements with dynamic attributes.
🔑 In This Video:
Installing and configuring the Cypress XPath plugin 🛠️
Writing tests using cy.xpath() for precise element targeting 🎯
Examples: Selecting elements by attributes, partial text, and structure
Comparing XPath vs CSS selectors: When to use each?
Best practices for XPath with Cypress to maintain reliable tests
By the end of this video, you'll be able to integrate XPath seamlessly int...
🔑 In This Video:
Installing and configuring the Cypress XPath plugin 🛠️
Writing tests using cy.xpath() for precise element targeting 🎯
Examples: Selecting elements by attributes, partial text, and structure
Comparing XPath vs CSS selectors: When to use each?
Best practices for XPath with Cypress to maintain reliable tests
By the end of this video, you'll be able to integrate XPath seamlessly int...
Просмотров: 67
Видео
Cypress Common Assertions
Просмотров 61День назад
In this video, we introduce some of the most commonly used assertions in Cypress to help you write reliable and maintainable test scripts. Assertions are crucial for validating the behavior of your web application, ensuring everything works as expected. This video covers both implicit and explicit assertions with practical examples to get you started! 🔑 In This Video: Overview of Cypress Assert...
Cypress Core Commands
Просмотров 6814 дней назад
In this video, I introduce the core commands of Cypress that every tester needs to know! 🛠️ These essential commands will help you interact with elements, control browser behavior, and validate your application's UI and functionality efficiently. If you're just starting with Cypress, mastering these commands is the key to writing reliable test scripts. 🔑 In This Video: Overview of essential Cyp...
Create your own test script
Просмотров 23321 день назад
In this video, I’ll walk you through the process of creating your very first Cypress test script from scratch! 🎯 If you’re new to Cypress or automation testing, this video will show you how to set up and write basic test scripts for your web applications, ensuring they run smoothly and behave as expected. 🔑 In This Video: Setting up your first test suite with Cypress 🛠️ How to create and organi...
Cypress Automation Test - Introduction and Setup
Просмотров 125Месяц назад
Welcome to my in-depth introduction to Cypress, the modern, developer-friendly testing framework for web applications. In this video, you'll learn everything you need to get started with Cypress, from what it is, why it's a great choice for end-to-end testing, to how to set it up in your project. 🔑 In This Video: What is Cypress? 🤔 How does Cypress differ from other testing tools like Selenium?...
ChatGPT & Software Quality Assurance
Просмотров 228Месяц назад
In this video, we dive into the exciting world of Software Quality Assurance with the help of ChatGPT! Learn how this AI tool can assist in test case generation, bug identification, automated testing, and much more. We’ll cover key aspects such as: How ChatGPT can streamline test case creation Using AI for automated code review Enhancing bug reporting and documentation with natural language pro...
Selenium Java Automation Testing from scratch for beginners
Просмотров 548Месяц назад
Selenium Java Automation Testing from scratch for beginners Welcome to our comprehensive Selenium Java Automation Testing Full Course. This in-depth video series is designed to equip you with the knowledge and skills to become proficient in automating web application testing using Selenium Java. Whether you're a beginner looking to enter the field of software testing or an experienced tester ai...
Selenium Python Automation Testing from scratch for beginners.
Просмотров 3022 месяца назад
Selenium Python Automation Testing from scratch for beginners. Welcome to our comprehensive Selenium Python Automation Testing Full Course. This in-depth video series is designed to equip you with the knowledge and skills to become proficient in automating web application testing using Selenium Python. Whether you're a beginner looking to enter the field of software testing or an experienced te...
How to bypass login with Selenium Python
Просмотров 2872 месяца назад
Learn how to bypass the login process in your Selenium Python automation scripts with this step-by-step tutorial! Whether you're testing web applications or automating repetitive tasks, skipping the login step can save you time and simplify your workflow. In this video, we’ll cover: Setting up Selenium with Python Navigating to the login page Extracting cookies or session data Implementing logi...
Set Up Page Object Model In Selenium Python
Просмотров 1282 месяца назад
Welcome to this in-depth tutorial on Selenium with Python where we dive into the Page Object Model (POM) design pattern. Whether you're a beginner looking to understand the basics or an experienced developer aiming to refine your test automation framework, this video is for you! In this video, you will learn: 🔹 What is Page Object Model (POM) and why it's essential in test automation. 🔹 How to ...
Visual Regression Test in Selenium Python
Просмотров 2252 месяца назад
Welcome to our in-depth tutorial on Visual Regression Testing using Selenium and Python! In this video, we walk you through the concept of visual regression testing, why it's essential, and how you can implement it effectively in your projects. What You'll Learn: The fundamentals of visual regression testing. Setting up your environment for Selenium with Python. Capturing and comparing screensh...
Behavior Driven Testing In Selenium Python
Просмотров 1033 месяца назад
Welcome to our tutorial on Behavior Driven Testing (BDT) with Selenium and Python! In this video, we'll walk you through the basics of BDT, its importance in modern software development, and how you can implement it using Selenium and Python. What You'll Learn: The fundamentals of Behavior Driven Development (BDD) and Testing (BDT) Setting up your development environment Writing feature files i...
Selenium Python Reports
Просмотров 2103 месяца назад
Welcome to our in-depth tutorial on using Selenium with Python! In this video, we will walk you through the basics of Selenium, a powerful tool for browser automation, and demonstrate how to integrate it with pytest-html and pytest-json for enhanced reporting capabilities.
How to run Lighthouse with Selenium Python
Просмотров 2593 месяца назад
Welcome to our in-depth tutorial on Selenium Python Lighthouse! 🚀 In this video, we'll explore the powerful combination of Selenium and Python to automate web testing and performance auditing using Google Lighthouse. Whether you're a beginner or an experienced tester, this guide will help you understand how to leverage these tools for efficient and comprehensive web testing. 🔍 What You'll Learn...
How to run Selenium Python Tests with Docker
Просмотров 8243 месяца назад
Welcome to this comprehensive guide on using Selenium with Python in a Docker environment! In this video, we'll walk you through the steps to set up and use Selenium for web automation with Python, all within a Docker container. This setup is ideal for ensuring consistency across different environments and simplifying dependency management. What You'll Learn: Introduction to Selenium and its us...
Selenium Accessibility Test In Python
Просмотров 3484 месяца назад
Selenium Accessibility Test In Python
How to use expected condition with Selenium Python
Просмотров 2794 месяца назад
How to use expected condition with Selenium Python
How to work in color with Selenium Python
Просмотров 1694 месяца назад
How to work in color with Selenium Python
How to use DevTool in Selenium Python
Просмотров 3185 месяцев назад
How to use DevTool in Selenium Python
Selenium Python interacts with web elements using Actions API
Просмотров 3435 месяцев назад
Selenium Python interacts with web elements using Actions API
Interacting with Iframe web elements in Selenium Python
Просмотров 2485 месяцев назад
Interacting with Iframe web elements in Selenium Python
How to interact with cookies in Selenium Python
Просмотров 3275 месяцев назад
How to interact with cookies in Selenium Python
How to manage windows with Selenium Python
Просмотров 2975 месяцев назад
How to manage windows with Selenium Python
Compare GPT-4 and GPT-4o in QA application
Просмотров 1936 месяцев назад
Compare GPT-4 and GPT-4o in QA application
How to run Data-Driven Tests with Selenium Python
Просмотров 1906 месяцев назад
How to run Data-Driven Tests with Selenium Python
Write Selenium Script in Python I
Просмотров 1,1 тыс.6 месяцев назад
Write Selenium Script in Python I
Selenium Python: Setup & Introduction
Просмотров 1,3 тыс.6 месяцев назад
Selenium Python: Setup & Introduction
Thanks!!! I hope this improve my tech career!!!
I tried the same approach but getting an 404 error in html report.
Thank you for watching the video, please watch it from 7 mins, and change url = "www.google.com", try again. Thanks again!
@testautomation999 okay 👍🏽
Thank you, brother.
could you please give me a source code sample?
Thank you for watching. This video consists of many previous videos. So, you may refer to GitHub: github.com/lukeyang22/admT/tree/a81979a02fb48a375cc4e23e438aa8507a0c086d/src
How to find script post automation
You can save it. Please refer to ruclips.net/video/fNMOtNOmPDM/видео.html at 6:25 Thank you.
Can you share the github link of the project? thanks!
GitHub: github.com/lukeyang22/selenium/tree/main/MyTest Thank you!
@@testautomation999 Thank you very much for your sharing. However, the part you explain in the video is not included in the project in the link you sent. Maybe you shared the wrong project?
Selenium IDE now works with Edge also
Thank you very much!
Thanks for the interesting video. The usage of synchronized block is not clear though, i didn't analyze your code, but synchronized blocks are usually used to prevent concurrent access to the code inside this block, and it seems like even though you run tests in parallel, only one thread at a time is executed, while others are waiting for it to finish
Thank you for watching the video and comments!
This is amazing !!! Thank you for the efforts .. definitely gonna watch it till the very end and learn loads . 🎉 keep growing
Amazing project! I have a question, is it possible to focus the test on specific parts / features of the webpage? as a QA sometimes I need to test only a specific implemented feature and not the whole page, but the only tools that do it are paid, including the axe accessibility test tool, so it would be amazing if I could develop an automation test case that focus on specific parts of the page to test accessibility. thank you!
Thank you for watching. This method goes to look into violations based on each page including every web elements on the page, so if the new build infects accessibility of the element it will return violation or violation free.
Great content.. Can you please share the repo link for this code?
Thank you! You may find the resource github.com/lukeyang22/admT/tree/a81979a02fb48a375cc4e23e438aa8507a0c086d/src
How do we take full page screen shot. My application has one fixed flyer on one side and screenshot is not coming of full page.
You may try to driver.manage().window().fullscreen(); before it takes screenshot. Thanks.
Font size of the video is way too small to comprehend, pleas zoom a little while recording Cheers!!
Thank you so much! We will pay attention and modify Font size later.💗
for `selenium-side-runner -c "browserName=firefox” C:/Users/luluk/Documents/video.side` the "browserName=firefox” should be "browserName=firefox" note the ” should be "
The background noise is making it hard to concentrate.
Sorry for that.
Thanks for the video ! We can also use allure-reports !
Great video! It would be nice to see the code, if possible, to not have to type everything.
I have a simple bot for a website that I use, but it stopped working(site update). It’s a typescript and follows a selenium-based script that uses a very simple algorithm. Do you think you can help me identify the problem? Thank you!!!!
Sorry I don't think I can help because I don't know what's the problem with your bot.
I was just finishing some end-to-end and automation stuff, then I said "let's put all of this blueprint in Docker". Refreshed my YT and bam, saw the video! Could not be happier!
can i do it without maven on my current project?
Yes, you can do without Maven which will be different from the shown project.
I have a question, can we automatically send order "prompt" to analyze the conversation and past it to google sheet? without doing coding for the google sheet? like once I say to chat gpt, make a samary and send it to google doc or google sheet. is there a way for doing that?
link for code.. pls
Sorry I did not check in codes. Here odes: from selenium import webdriver from selenium.webdriver.common.by import By import pytest from selenium.webdriver.support.select import Select from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support.wait import WebDriverWait import time from selenium.webdriver.support.color import Color BLUE =Color.from_string("rgba(255, 255, 255, 1)") RED = Color.from_string("rgba(220, 53, 69, 1)") DeepRed = Color.from_string("rgba(220, 53, 69, 1)") YELLOW = Color.from_string("yellow") BLACK = Color.from_string("rgba(13, 110, 253, 1)") @pytest.fixture() def edge(): # initialize a chrome driver driver = webdriver.Edge() driver.maximize_window() yield driver def test_1_booking_color(edge): edge.get('www.admlucid.com/Golf') time.sleep(3) btn_Booking = edge.find_element(by=By.XPATH, value='/html/body/div/main/table[1]/tbody/tr/td[4]/form/button') btn_Booking_Color = Color.from_string(btn_Booking.value_of_css_property('color')) # validate the color of button if it's blue, click on it if btn_Booking_Color == BLUE: print('The button color is blue') btn_Booking.click() else: print(btn_Booking_Color.__str__()) time.sleep(3) txt_customer = edge.find_element(by=By.ID, value='Customer') txt_email = edge.find_element(by=By.ID, value='Email') txt_customer.send_keys("John Smith") txt_email.send_keys("jsmith@admlucid.com") btn_Create = edge.find_element(by=By.XPATH, value='/html/body/div/main/div[1]/div/form/div[8]/input') btn_Create_Color = Color.from_string(btn_Create.value_of_css_property('color')) if btn_Create_Color == BLUE: print('The Create button color is blue') btn_Create.click() else: print(btn_Create_Color.__str__()) time.sleep(3) msg_phone = edge.find_element(by=By.ID, value='Phone-error') msg_phone_color = Color.from_string(msg_phone.value_of_css_property('color')) msg_date = edge.find_element(by=By.ID, value='Date-error') msg_date_color = Color.from_string(msg_date.value_of_css_property('color')) msg_StartTime = edge.find_element(by=By.ID, value='StartTime-error') msg_StartTime_color = Color.from_string(msg_StartTime.value_of_css_property('color')) msg_EndTime = edge.find_element(by=By.ID, value='EndTime-error') msg_EndTime_color = Color.from_string(msg_EndTime.value_of_css_property('color')) assert msg_phone_color == RED assert msg_date_color == RED assert msg_EndTime_color == RED assert msg_StartTime_color == RED def test_2_picture_color(edge): edge.get('www.admlucid.com') time.sleep(3) picture = edge.find_element(by=By.XPATH, value='/html/body/div/main/div[2]/div[3]/a/img') picture_color = Color.from_string(picture.value_of_css_property('color')) print('Picture Color is '+picture_color.__str__()) assert picture_color == BLACK picture_bk_color = Color.from_string(picture.value_of_css_property('background-color')) print('Picture Background Color is ' + picture_bk_color.__str__()) def test_3_delete_golf_color(edge): edge.get('www.admlucid.com/Golf') time.sleep(3) # Login btn_login = edge.find_element(by=By.XPATH, value='/html/body/header/nav/ul/li/a') btn_login.click() txt_user = edge.find_element(by=By.ID, value='Input_Email') txt_pw = edge.find_element(by=By.ID, value='Input_Password') btn_submit = edge.find_element(by=By.ID, value='login-submit') txt_user.send_keys("test2@admlucid.com") txt_pw.send_keys("p8FrK4pE!g.ryKs") btn_submit.click() time.sleep(3) edge.get('www.admlucid.com/Golf') time.sleep(3) # search for golf and delete it txt_search = edge.find_element(by=By.NAME, value='SearchString') btn_search = edge.find_element(by=By.XPATH, value='/html/body/div/main/table[1]/tbody/tr/td[1]/form/button') txt_search.send_keys("Testing Golf Course A") btn_search.click() time.sleep(3) link_delete = edge.find_element(by=By.XPATH, value='/html/body/div/main/table[2]/tbody/tr[1]/td[6]/a[3]') link_delete.click() time.sleep(3) btn_delete = edge.find_element(by=By.XPATH, value='/html/body/div/main/div/form/input[2]') btn_delete_color = Color.from_string(btn_delete.value_of_css_property('background-color')) assert btn_delete_color == DeepRed if btn_delete_color == DeepRed: print("The Delete Button Color is " + btn_delete_color.__str__()) btn_delete.click() time.sleep(3)
Helpful.
please tell me how to solve the error "Error: Unable to obtain browser driver."
Thank you! You may check install selenium-webdriver, and make sure installation successfully.
I have the same problem after building my application, how do I solve it? It works in the test environment, but after building it doesn't.
hey, thanks for the content. How can you proceed to use docker and to get the devtools? I saw you had a video about the devtools but not in docker. I did the setup you showed for docker and the one for devtools, but things don't work. Do you know how to proceed with that? Thanks for your videos.
Thank you! Sorry to delay replying. You may try to use "ChromeDriver driver = (ChromeDriver) new RemoteWebDriver(new URL(remote_url_chrome), options)" instead of "ChromeDriver driver = new ChromeDriver()"
Can you please share this project github link
The GitHub has been shared on other video and I put them in this video. Please check this video description. Thank you.
Can u share those links in ur description to the sites.. It is really helpful.
Hi @MasterNeoRNCP: Thank you very much for great suggestion, I updated the video description with URL and docker commands.
is there a java version for this ?
No. Thanks.
Hello Sir, I'm trying to replicate what you did in this video, but the name of the IDE you used. Could you pls let me know the name?
Thank you for watching the video. You may need IntelliJ Download and install IntelliJ: www.jetbrains.com/idea/download and also need Docker.
Thank you for this. Is there any place we can find the test code you are copying and pasting so that we are able to copy and paste ourselves? Thank you again!
Thank you. We will update codes and then let you know.
You may find some codes: github.com/lukeyang22/C-S
Hi can you provide repo with that files? Thanks
Thanks. The files are simple, load-test.yml: config: target: www.admlucid.com phases: - duration: 60 arrivalRate: 1 rampTo: 5 name: Warm up phase - duration: 60 arrivalRate: 5 rampTo: 10 name: Ramp up load - duration: 30 arrivalRate: 10 rampTo: 30 name: Spike phase plugins: ensure: {} apdex: {} metrics-by-endpoint: {} apdex: threshold: 100 ensure: thresholds: - http.response_time.p99: 100 - http.response_time.p95: 75 scenarios: - flow: - loop: - get: url: "/" - get: url: "/Home/Selenium" - get: url: "/Identity/Account/Login" count: 5
Can I do this with VS instead of VS Code?
This case we used VS Code with JavaScript, if you setup JavaScript with VS, it will be OK.
Very nice sir but i was wondering if it's possible to get the data I need to enter in web form and return transaction serial back to database without using api coz it's not available in the website I'm trying to automate
Thank you! I think you may get the form data which be or being sending to the back-end processes such as JavaScript or database, or you may confirm the form data stored in the database.
@@testautomation999 my database is sql server or excel table as alternative option
Hello Can You do the same in python? I want to capture a response of meta ads library of any ad in network xhr. How to do it?
Sorry, I did not try those in Python.
With this shall we launch desktop applications?
You need to download and install Visual Studio Code and Node.js, then you can write selenium scripts in JavaScript. Do I answer your question? Thanks.
Good stuff my friend, thanks for making this!
Hi.. Without opening new tab can we perform the Lighthouse performance in opened window.?
We did not try to open only a tab to perform lighthouse, but we can do lighthouse without launching browser , adding --chrome-flags="--headless" after lighthouse URL . lighthouse URL --chrome-flags="--headless". Thanks.
hello, nice video. Is it possible to get the DevTools with this approach? I think that RemoteWebDriver does not support that, but I'm wondering if this approach would cover that? Thanks
Very helpful video. Can you provide text of custom instruction here from QA point of you
Thank you. I update the video description with text of custom instructions, you may find them.
@@testautomation999 thank you
🤤 Promo_SM
Hi, do we have a way to run this in edge browser? tried this and its not working in edge
Sorry, did not try to use edge. Thanks.
CreateAxeHtmlReport() not able to find...
Nice video, well done.
Hi there , thank you so much for this informative video! What other resources would you suggest to learn more and improve my skills in automation testing?
Thank you very much! It's our pleasure, our videos are informative. I suggested other skills in automation testing maybe API test, Load/Performance test, as UI automation testing we only introduced Selenium, other automation UI testing such as Cypress we will introduce later.
how to skip login ?
It did not really skip login, gave URL after login with token. Thanks.
do you have any idea how to make it(devtools) works on parallel testing ? so we have separated report per group
Thank you. You may rewrite tests as parallel tests and can run the tests parallelly, please refer to our video part 19 ruclips.net/video/Z0GRob7lmb0/видео.html
The save popup dialogue is absurdly loud
Thank you very much!
Why mocha rather than just running the code with node?
Just use mocha test framework. It may run in node or other test framework. Thanks.
Hello, I followed your guidance about the Selenium grid hub and node. I've almost done the example except for the VNC. After running the test, the session is automatically removed from the grid, so I can click on the camera icon. How can I fix it? Please give me the ideal. Thanks
Thank you for watching the video. In my case, the session would be keeping for a while, after a while the session would be disappearing. I clicked on the icon to watch the processes when the test was running.
As asked how to set up Firefox in Docker, enter commands: docker pull selenium/standalone-firefox; docker pull selenium/node-firefox-debug. And then Docker will give guiding commands to install Firefox.