ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب End-to-End Web Testing with Cypress: Explore techniques for automated frontend web testing with Cypress and JavaScript

دانلود کتاب تست وب سرتاسر با Cypress: تکنیک‌های تست وب پیشانی خودکار با Cypress و JavaScript را کاوش کنید

End-to-End Web Testing with Cypress: Explore techniques for automated frontend web testing with Cypress and JavaScript

مشخصات کتاب

End-to-End Web Testing with Cypress: Explore techniques for automated frontend web testing with Cypress and JavaScript

ویرایش:  
نویسندگان:   
سری:  
ISBN (شابک) : 1839215631, 9781839215636 
ناشر: Packt Publishing Ltd 
سال نشر: 2021 
تعداد صفحات: 240
[241] 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 5 Mb 

قیمت کتاب (تومان) : 76,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 3


در صورت تبدیل فایل کتاب End-to-End Web Testing with Cypress: Explore techniques for automated frontend web testing with Cypress and JavaScript به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب تست وب سرتاسر با Cypress: تکنیک‌های تست وب پیشانی خودکار با Cypress و JavaScript را کاوش کنید نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب تست وب سرتاسر با Cypress: تکنیک‌های تست وب پیشانی خودکار با Cypress و JavaScript را کاوش کنید



با چارچوب Cypress آشنا شوید و بیاموزید که چگونه با کمک نکات متخصص، بهترین شیوه‌ها و نمونه‌های آزمایشی در دنیای واقعی، تست‌های خودکارسازی سرتاسر را با جاوا اسکریپت به بهترین شکل پیاده‌سازی کنید</ p>ویژگی های کلیدی

  • اولین تست سرتاسر خود را بنویسید و نحوه مدرن سازی محیط تست خود را بیابید
  • توسعه وب مبتنی بر آزمایش و تست مرورگر متقابل را با استفاده از Cypress اجرا کنید
  • li>
  • مزایای استفاده از Cypress نسبت به آزمایش سلنیوم و refactor برای برنامه‌های وب مدرن را کشف کنید
توضیحات کتاب

Cypress یک چارچوب اتوماسیون آزمایشی مدرن برای برنامه‌های frontend مبتنی بر وب است. آموزش Cypress به شما کمک می‌کند بر کاستی‌های راه‌حل‌های تست معمولی مانند مشکلات نمودار وابستگی، منحنی یادگیری شیب‌دار در تنظیم بسته‌های تست سرتاسر، و مشکلات در نوشتن زمان صریح انتظار برای آزمون‌هایتان غلبه کنید.

در تست پایان به انتها وب با Cypress، یاد خواهید گرفت که چگونه از ابزارهای مختلف Cypress از جمله سفر در زمان، عکس های فوری، خطاها و خروجی کنسول برای نوشتن تست های ایمن و بدون شکستگی استفاده کنید. تکنیک‌هایی را برای انجام توسعه مبتنی بر آزمایش (TDD) با Cypress کشف خواهید کرد و آزمایش‌های بین مرورگر را برای برنامه‌های کاربردی وب خود می‌نویسید. همانطور که پیشرفت می کنید، آزمایش هایی را برای یک برنامه نمونه اجرا می کنید و با ابزارها و ویژگی های مختلف در اکوسیستم Cypress کار می کنید. در نهایت، این کتاب Cypress به شما کمک می‌کند تا مفاهیم تست پیشرفته مانند تست بصری و شبکه‌سازی را درک کنید.

در پایان این کتاب، شما مهارت‌های لازم برای راه‌اندازی Cypress را برای هر موردی خواهید داشت. برنامه وب و نحوه استفاده کامل از آن را درک کنید.

آنچه یاد خواهید گرفت
  • با Cypress آشنا شوید و مزایای آن را نسبت به سلنیوم درک کنید
  • فرمان های رایج Cypress را کاوش کنید، ابزارها و تکنیک‌های نوشتن تست‌های کامل برای برنامه‌های وب
  • تنظیم و پیکربندی Cypress برای آزمایش مرورگرهای متقابل
  • درک نحوه کار با عناصر و انیمیشن‌ها برای نوشتن تست‌های بدون پوسته شدن< /li>
  • تکنیک‌های پیاده‌سازی و مدیریت درخواست‌های ناوبری را در آزمون‌ها کشف کنید
  • تست‌های رگرسیون بصری را با چشم‌های Applitools پیاده‌سازی کنید
این کتاب برای چه کسانی است

این کتاب برای متخصصان تست اتوماسیون، نرم‌افزارها و آزمایش‌کنندگان وب، و توسعه‌دهندگان وب فرانتند که دارای دانش سطح متوسط ​​جاوا اسکریپت و دانش اتوماسیون تست سطح مبتدی هستند، همانطور که ما برای مبتدیانی که به دنبال شروع کار با Cypress و یادگیری نحوه عملکرد آن هستند. همچنین اگر شما یک آزمایشگر سلنیوم هستید که می خواهید به Cypress مهاجرت کنید و از قابلیت های آن استفاده کنید، این کتاب برای شما مفید خواهد بود. درک سطح متوسط ​​از برنامه نویسی جاوا اسکریپت و دانش سطح مبتدی تست وب مورد نیاز است.


توضیحاتی درمورد کتاب به خارجی

Get to grips with the Cypress framework and learn how to best implement end-to-end automation testing with JavaScript with the help of expert tips, best practices, and real-world testing examples

Key Features
  • Write your first end-to-end test and find out how to modernize your testing environment
  • Execute test-driven web development and cross-browser testing using Cypress
  • Discover the advantages of using Cypress over Selenium and refactor testing for modern web apps
Book Description

Cypress is a modern test automation framework for web-based frontend apps. Learning Cypress will help you overcome the shortcomings of conventional testing solutions such as dependency graph problems, the steep learning curve in setting up end-to-end testing packages, and difficulties in writing explicit time waits for your tests.

In End-to-End Web Testing with Cypress, you’ll learn how to use different Cypress tools, including time travel, snapshots, errors, and console output, to write fail-safe and non-flaky tests. You’ll discover techniques for performing test-driven development (TDD) with Cypress and write cross-browser tests for your web applications. As you advance, you’ll implement tests for a sample application and work with a variety of tools and features within the Cypress ecosystem. Finally, this Cypress book will help you grasp advanced testing concepts such as visual testing and networking.

By the end of this book, you’ll have the skills you need to be able to set up Cypress for any web app and understand how to use it to its full potential.

What you will learn
  • Get to grips with Cypress and understand its advantages over Selenium
  • Explore common Cypress commands, tools, and techniques for writing complete tests for web apps
  • Set up and configure Cypress for cross-browser testing
  • Understand how to work with elements and animation to write non-flaky tests
  • Discover techniques for implementing and handling navigation requests in tests
  • Implement visual regression tests with Applitools eyes
Who this book is for

This book is for automation testing professionals, software and web testers, and frontend web developers who have intermediate-level JavaScript and beginner-level test automation knowledge, as well as for complete beginners who are looking to get started with Cypress and learn how it works. You’ll also find this book useful if you are a Selenium tester who wants to migrate to Cypress and leverage its capabilities. An intermediate-level understanding of JavaScript programming and beginner-level knowledge of web testing are required.



فهرست مطالب

Cover
Copyright
About PACKT
Contributors
Table of Contents
Preface
Section 1: Cypress as an End-to-End Testing Solution for Frontend Applications
Chapter 1: Installing and Setting Up Cypress
	Technical requirements
	Installing Cypress on Windows
		Downloading and installing Node.js
		Initializing the project
		Installing Cypress on Windows
		Recap – Installing Cypress on Windows
	Installing Cypress on MacOS
		Installing Node.js
		Initializing the project
		Installing Cypress on Mac
		Installing Cypress using Yarn
		Installing Cypress via direct download
		Recap – Installing Cypress on macOS
	Opening Cypress
		Running with Npx
		Running with Yarn
		Running with the node modules path
		Desktop application launch
		Recap – Opening Cypress
	Switching browsers
		Exercise
		Recap – Switching browsers
	Adding npm scripts
		Opening a Cypress command script
		Recap – Adding npm scripts
	Running Cypress tests
		Combining Cypress commands using scripts
		Recap – Running Cypress tests
	Summary
Chapter 2: Differences between Selenium WebDriver and Cypress
	Why choose Cypress?
		Recap – why choose Cypress?
	Comparing Cypress and Selenium WebDriver
		Browser driver
		Retries and waits
		Target usage
		Architecture
		Cross-browser compatibility
		Cypress trade-offs
		Summarizing the differences
		Recap – comparing Cypress and Selenium WebDriver
	Cypress for frontend applications
		Test Runner
		Setup process
		Implementation and debugging
		Exhaustive testing capabilities
		Recap – Cypress for frontend applications
	Summary
Chapter 3: Working with Cypress Command-Line Tools
	Technical requirements
	Running Cypress commands
		Global and local commands
		Recap – running Cypress commands
	Understanding basic Cypress commands
		cypress run
		cypress open
		Using the cypress info command
		Using the cypress version command
		Optional exercise for Cypress command usage
		Recap – understanding basic Cypress commands
	Cypress debugging on the command line
		Optional exercise for Cypress debugging
		Recap – Cypress debugging on the command line
	Summary
Chapter 4: Writing Your First Test
	Technical requirements
	Creating test files
		Testfiles location
		Testfiles extensions
		Testfile structure
		Creating our test file
		Recap – creating test files
	Writing your first test
		Example test
		Test classification
		Exercise on tests classification
		Recap – writing your first test
	Writing practical tests
		Visiting the Todo application page
		Searching for an element
		Interacting with the Todo input element
		Asserting the application state
		Exercise on practical testing
		Recap – writing practical tests
	Cypress' auto-reload feature
		Recap – Cypress' auto-reload feature
	Cypress assertions
		Implicit subjects
		Explicit subjects
		Exercise–implicit and explicit subjects
		Recap – Cypress assertions
	Summary
Chapter 5:  Debugging Cypress Tests
	Technical requirements
	Understanding page events
		Recap – understanding page events
	Understanding errors on a test runner
		Error name
		Error message
		Code frame file
		Code frame
		Stack trace
		Print to console
		Learn more
		Recap – understanding errors on a test runner
	Understanding time travel on executed tests
		Recap – understanding time travel on executed tests
	Understanding test snapshots
		Recap – understanding test snapshots
	Understanding the console debug output
		macOS
		Windows/Linux OS
		Recap – understanding the console debug output
	Special debugging commands
		cy.debug
		cy.pause
		Recap – special debugging commands
	Summary
Section 2: Automated Tests with the TDD Approach
Chapter 6: Writing Cypress Tests Using the TDD approach
	Technical requirements
	Understanding TDD
		Advantages of TDD
		Disadvantages of TDD
		Recap – understanding TDD
	Writing TDD tests in Cypress
	Setting up the application
		Adding new todo items
		Deleting a Todo item
		Viewing a count of the added todo items
	Recap – setting up the application
	Modifying TDD tests
		Adding new todo items
		Deleting a todo item
		Viewing added todo items
		Viewing the count of added todo items
		Recap – modifying TDD tests
	Summary
Chapter 7: Understanding Element Interaction in Cypress
	Technical requirements
	Understanding actionability
		Visibility
		Disability
		Detached
		Readonly
		Animations
		Covering
		Scrolling
		Coordinates
		Recap – understanding actionability
	Forcing actionability
		Overriding Cypress actionability checks
		Recap – forcing actionability
	Summary
Chapter 8: Understanding Variables and Aliases in Cypress
	Technical requirements
	Understanding Cypress variables
		Closures
		Recap – Understanding Cypress variables
	Understanding Cypress aliases
		Sharing contexts between test hooks and tests
		Accessing element references
		Accessing route references
		Accessing request references
		Recap – Understanding Cypress aliases
	Summary
Chapter 9: Advanced Uses of Cypress Test Runner
	Technical requirements
	Understanding the instrument panel
		Intercepts
		Stubs
		Spies
		Recap – understanding the instrument panel
	Understanding the Selector Playground
		Selecting unique elements
		Editing selector elements
		Recap – understanding the Selector Playground
	Test Runner keyboard shortcuts
		Recap – Test Runner keyboard shortcuts
	Summary
Section 3: Automated Testing for Your Web Application
Chapter 10: Exercises – Navigation and Network Requests
	Technical requirements
	Implementing navigation requests
		cy.visit()
		Exercise 1
		cy.go()
		Exercise 2
		cy.reload()
		Exercise 3
		Recap – implementing navigation requests
	Implementing network requests
		cy.request()
		Exercise 4
		cy.intercept()
		Exercise 5
		Recap – implementing network requests
	Advanced navigation request configuration
		cy.visit() configuration options
		Recap – advanced navigation request configuration
	Summary
Chapter 11: Exercise – Stubbing and Spying XHR Requests
	Technical requirements
	Understanding XHR requests
		Utilizing XHR requests in tests
		Recap – utilizing XHR requests in tests
	Understanding how to stub requests
		Stubbing XHR requests
		Exercise 1
		Recap – understanding how to stub requests
	Understanding how to spy on methods in a test
		Why spy?
		Exercise 2
		Recap – understanding how to spy on methods in a test
	Summary
Chapter 12:  Visual Testing in Cypress
	Technical requirements
	Visual testing
		Why visual testing?
		Recap – visual testing
	Understanding viewports
		Viewports and testing
		Viewports and automated visual testing
		Recap – viewports
	Automated visual testing tools
		Percy
		Applitools
		Recap – automated visual testing tools
	Summary
Other Books You May Enjoy
Index




نظرات کاربران