您好,欢迎光临本网站![请登录][注册会员]  
文件名称: Automatic Operation of Browser using Selenium and C#
  所属分类: C#
  开发工具:
  文件大小: 15mb
  下载次数: 0
  上传时间: 2019-03-02
  提 供 者: tlfo****
 详细说明:One of test automation tools is Selenium. It is widely used around the world as a tool for automating test for web application. In this book we use Selenium WebDriver to perform automatic operation of the browser. As for browser we use both Mozilla Firefox and Google Chrome. Selenium is a very usefI hope you enjoy selenium life 2018.4 kenpapa Who this book is for is book is for those who are experienced in programming C# and are interested in automated testing of web application Since Linux (ubuntu is used as a working environment, if you dont have linux development experience, it would be better for you to read this book after understanding Basic Linux Commands Basic linux commands is described in detail in the following site, for example Basic Linux Commands for Beginners https://makerpro/education/basic-linux-commands-for-beginners Structure of this book In Chapter 1, we will learn the knowledge necessary for automatic operation of browser using Selenium WebDriver. In particular, it is important to understand the methods for automatic operation and the way of identifying the elements to be operated In Chapter 2, we will prepare the environment for using Selenium WebDriver to perform automatic operation of browser. In this book we operate Firefox and Chrome browsers so we will prepare the environment of both browsers In addition, in order to understand the internal mechanism of selenium Webdriver we will communicate with browser driver directly using Json WireProtocol and try to operate browser. In Chapter 3, we will perform automatic operation of demo site as a basic practice of selenium Webdriver. The demo site consists of "button Link. Text box, Radio Button, Checkbox, Dropdown, File Upload, Text, Text in iframe The purpose of this chapter is to become accustomed to using Se elenium WebDriver In Chapter 4, we will perform automatic operation of Word Press site as an advanced practice of selenium WebDriver. First of all, we will install WordPress and Woo Commerce plugin to prepare a site to be automatically operated, then we will perform automatic operation for "posting blog article","registering product on EC siteand " purchasing product at EC site using Selenium WebDriver. It is important to understand the difference of behavior between Firefox and chrome In Chapter 5, we will execute automated testing of web application using Selenium WebDriver and Test Framework. As an example of automated testing, we will execute two tests, Google Search Test and wordPress Login Test In Chapter 6, i will mention some notes on the use of selenium WebDriver based on my experience of selenium Execution environment The execution environment in this book is as follows Linux environment built on virtual Box on Windows PC Working PC (Windows) Ubuntu is running on the virtual machine on windows machine word Press is built on Ubuntu and we use Selenium WebDriver to operate wordPress automaticall I Version of softwares used in this book Ubuntu 16.04.lTs (Installation using ubuntu-16.04.4-desktop-amd64 iso Mozilla firefox 59.0.1(Ubuntu update is necessary Mozilla geckodriver o 20.0 Google chrome 65.0.3325.181 Google Chrome Driver 2.36 WordPress 4.9.4 Woo Commerce 3. 3. 4 MonoDevelop 5.10 NUnit 2. 6.4 Selenium client 3.11.1 For details on how to install Virtual Box and Ubuntu, please refer to Appendix Table of contents Introduction Who this book is for Structure of this book Execution environment Chapter 1 Knowledge necessary for Selenium WebDriver 1-1 Selenium overview 1-1-1 What is Selenium de Note: Selenium ide alternative tool 1-1-2 What is selenium WebDriver 1-1-3 What is Selenium grid 1-2 Automatic operation method Note Selenium Client api document 1-3 How to investigate elements 3-1 How to investi gate elements on mozilla firefox 1-3-2 How to investigate elements on Google chrome 1-4 How to identify operation target element 1-4-1 Locators in Selenium Web Driver 1-4-2 ldentify element by id attribute/name attribute/link text 1-4-3_Identify element by xpath 1-4-4 How to check xpath Chapter 2 Prepare automatic operation environment 2-1 Prepare browser and driver 2-1-1 Prepare Mozilla Firefox 2-1-2 Prepare google chrome 2-2 Browser operation using Json WireProtocol 2-2-1 Operate Mozilla Firefox using Json Wire Protocol 2-2-2 Operate Google Chrome using Json WireProtocol 2-3 Prepare Selenium Client 2-4 Automatic operation with simple code Chapter 3 Basic practice of automatic operation 3-1 Prepare demo site 3-2 Create automatic operation code for operation target element 3-3 Complete and execute automatic operation code Chapter 4 Advanced practice of automatic operation 4-1 Prepare WordPress site 4-1-1 What is WordPress 4-1-2 Install wordPress 4-1-3 Install WooCommerce plugin 4-2 Post blog article 4-2-1 Flow of posting blog article 4-2-2 Create automatic operation code for operation target element 4-2-3 Complete and execute automatic operation code 4-3 Register product on EC site 4-3-1 Flow of product registration 4-3-2 Create automatic operation code for operation target element 4-3-3 Complete and execute automatic operation code 4-4 Purchase product at EC site 4-4-1 Flow of product purchase 4-4-2 Create automatic operation code for operation target element 4-4-3 Complete and execute automatic operation code Chapter 5 Automated testing with Test Framework 5-1 What is nUnit 5-2 Google Search Test 5-3 WordPress Login Test Chapter 6 Some notes on the use of selenium WebDriver 6-1 Changes of selenium related softwares 6-2 Behavior difference between browsers 6-2-1 Difference in default window size 6-2-2 Difference in scroll processing 6-2-3 Processing timing difference 6-3 Implementation differences between programming languages 6-3-1 Expected Condition 6-3-2 Node is is asynchronous 6-3-3 How to take a screenshot Appendix Appendix A: About VirtualBox Appendix B: About Ubuntu Chapter 1 Knowledge necessary for Selenium WebDriver n this chapter, we learn the knowledge necessary for automatic operation of browser using selenium WebDriver
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 输入关键字,在本站1000多万海量源码库中尽情搜索: