ورود به حساب

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

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

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

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

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

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


09117307688
09117179751

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

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

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

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

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

پشتیبانی

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

دانلود کتاب Selenium Framework Design in Data-Driven Testing

دانلود کتاب طراحی چارچوب سلنیوم در تست داده محور

Selenium Framework Design in Data-Driven Testing

مشخصات کتاب

Selenium Framework Design in Data-Driven Testing

دسته بندی: کامپیوتر
ویرایش:  
نویسندگان:   
سری: Packt 
ISBN (شابک) : 9781788473576 
ناشر: Packt 
سال نشر: 2018 
تعداد صفحات: 447 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 6 مگابایت 

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



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

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


در صورت تبدیل فایل کتاب Selenium Framework Design in Data-Driven Testing به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب طراحی چارچوب سلنیوم در تست داده محور نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب طراحی چارچوب سلنیوم در تست داده محور

در ساخت چارچوب‌های آزمایشی مبتنی بر داده با استفاده از ویژگی‌های کلیدی Selenium WebDriver یک راهنمای جامع برای طراحی چارچوب‌های آزمایشی مبتنی بر داده با استفاده از Selenium 3 WebDriver API، AppiumDriver API، Java-Bindings و TestNG یاد بگیرید چگونه از طراحی شی صفحه سلنیوم استفاده کنید. الگوها و D.R.Y. (خودتان را تکرار نکنید) رویکردهای توسعه نرم افزار در آزمایش خودکار معماری شبکه سلنیوم را کشف کنید و شبکه خود را برای مرورگرها و دستگاه های تلفن همراه بسازید از ابزارها و سرویس های شخص ثالث مانند ExtentReports برای پردازش نتایج، گزارش گیری و SauceLabs برای آزمایش مبتنی بر ابر استفاده کنید. خدمات توضیحات کتاب Selenium WebDriver 3.x Technology یک API منبع باز است که برای آزمایش برنامه های مرورگر و موبایل در دسترس است. این کاملاً مستقل از پلتفرم است زیرا آزمایش‌های ساخته شده برای یک مرورگر یا دستگاه تلفن همراه، روی همه مرورگرها و دستگاه‌های تلفن همراه دیگر نیز کار خواهند کرد. سلنیوم از تمام زبان های توسعه اصلی پشتیبانی می کند که به آن اجازه می دهد مستقیماً به فناوری مورد استفاده برای توسعه برنامه ها متصل شود. این راهنما یک رویکرد گام به گام برای طراحی و ساخت یک چارچوب آزمایشی مبتنی بر داده با استفاده از Selenium WebDriver، جاوا و TestNG ارائه می‌دهد. کتاب با معرفی الگوهای طراحی شی صفحه سلنیوم و رویکردهای D.R.Y برای توسعه نرم افزار شروع می شود. در انجام این کار، طراحی و ساخت یک چارچوب سلنیوم WebDriver را پوشش می دهد که از هر دو دستگاه مرورگر و موبایل پشتیبانی می کند. این کاربر را در مسیر معماری چارچوب خود با کلاس درایور مقیاس‌پذیر، کلاس‌های ابزار جاوا، ارائه‌دهنده داده‌های JSON، کلاس‌های تست داده محور، و پشتیبانی از ابزارها و افزونه‌های شخص ثالث هدایت می‌کند. کاربران یاد خواهند گرفت که چگونه از ابتدا یک شبکه سلنیوم طراحی و بسازند تا به چارچوب اجازه دهد تا مرورگرها، دستگاه‌های تلفن همراه، نسخه‌ها و پلتفرم‌های مختلف را مقیاس‌بندی و پشتیبانی کند و چگونه می‌توانند از شبکه‌های شخص ثالث در Cloud مانند SauceLabs استفاده کنند. سایر موضوعات تحت پوشش شامل طراحی پایه و کلاس های انتزاعی، وراثت، پشتیبانی از درایور دوگانه، آزمایش موازی، آزمایش برنامه های کاربردی چند برند، بهترین شیوه ها برای استفاده از مکان یاب ها، و کپسوله سازی داده ها است. در نهایت، یک نمونه چارچوب کاملاً کاربردی به شما ارائه می شود تا آنها را با Selenium WebDriver برای آزمایش مرورگر راه اندازی و اجرا کنید. تا پایان کتاب، شما قادر خواهید بود چارچوب تست اتوماسیون خود را طراحی کنید و تست مبتنی بر داده را با Selenium WebDriver انجام دهید. آنچه یاد خواهید گرفت طراحی کلاس درایور سلنیوم برای پشتیبانی از شبکه محلی، راه دور و شخص ثالث. RemoteWebDriver Testing Construct Utility Classs برای استفاده در کلاس‌های همگام‌سازی، ورودی/خروجی فایل، گزارش‌گیری و تست شنونده چارچوب نمونه را اجرا کنید و مزایای یک چارچوب داده‌محور زنده را در زمان واقعی ببینید این کتاب برای چه کسی است این کتاب برای نرم‌افزار در نظر گرفته شده است. متخصصان تضمین کیفیت/آزمایش، مدیران پروژه نرم افزار، یا توسعه دهندگان نرم افزار با تجربه قبلی در استفاده از سلنیوم و جاوا برای آزمایش برنامه های کاربردی مبتنی بر وب. این کتاب برای متخصصان تضمین کیفیت و توسعه مسئول طراحی و ساخت چارچوب های تست مبتنی بر سازمان طراحی شده است. کاربر باید از فناوری های جاوا، TestNG و سلنیوم دانش کاری داشته باشد


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

Take a deep dive into building data-driven test frameworks using Selenium WebDriver Key Features A comprehensive guide to designing data-driven test frameworks using the Selenium 3 WebDriver API, AppiumDriver API, Java-Bindings, and TestNG Learn how to use Selenium Page Object Design Patterns and D.R.Y. (Don't Repeat Yourself) Approaches to software development in automated testing Discover the Selenium Grid Architecture and build your own grid for browser and mobile devices Use third party tools and services like ExtentReports for results processing, reporting, and SauceLabs for cloud-based test services Book Description The Selenium WebDriver 3.x Technology is an open source API available to test both Browser and Mobile applications. It is completely platform independent in that tests built for one browser or mobile device, will also work on all other browsers and mobile devices. Selenium supports all major development languages which allow it to be tied directly into the technology used to develop the applications. This guide will provide a step-by-step approach to designing and building a data-driven test framework using Selenium WebDriver, Java, and TestNG. The book starts off by introducing users to the Selenium Page Object Design Patterns and D.R.Y Approaches to Software Development. In doing so, it covers designing and building a Selenium WebDriver framework that supports both Browser and Mobile Devices. It will lead the user through a journey of architecting their own framework with a scalable driver class, Java utility classes, JSON Data Provider, Data-Driven Test Classes, and support for third party tools and plugins. Users will learn how to design and build a Selenium Grid from scratch to allow the framework to scale and support different browsers, mobile devices, versions, and platforms, and how they can leverage third party grids in the Cloud like SauceLabs. Other topics covered include designing abstract base and sub-classes, inheritance, dual-driver support, parallel testing, testing multi-branded applications, best practices for using locators, and data encapsulation. Finally, you will be presented with a sample fully-functional framework to get them up and running with the Selenium WebDriver for browser testing. By the end of the book, you will be able to design your own automation testing framework and perform data-driven testing with Selenium WebDriver. What you will learn Design the Selenium Driver Class for local, remote, and third party grid support Build Page Object Classes using the Selenium Page Object Model Develop Data-Driven Test Classes using the TestNG framework Encapsulate Data using the JSON Protocol Build a Selenium Grid for RemoteWebDriver Testing Construct Utility Classes for use in Synchronization, File I/O, Reporting and Test Listener Classes Run the sample framework and see the benefits of a live data-driven framework in real-time Who this book is for This book is intended for software quality assurance/testing professionals, software project managers, or software developers with prior experience in using Selenium and Java to test web-based applications.This book is geared towards the quality assurance and development professionals responsible for designing and building enterprise-based testing frameworks.The user should have a working knowledge of the Java, TestNG, and Selenium technologies



فهرست مطالب

Preface......Page 21
Who this book is for......Page 22
What this book covers......Page 23
To get the most out of this book......Page 25
Download the example code files......Page 26
Conventions used......Page 27
Get in touch......Page 28
Reviews......Page 29
Building a Scalable Selenium Test Driver Class for Web and Mobile Applications......Page 30
Introduction......Page 32
Data-driven testing......Page 33
Selenium Page Object Model......Page 34
DRY......Page 35
What you will learn......Page 36
The singleton driver class......Page 37
Requirements......Page 38
The class signature......Page 39
Class variables......Page 40
JavaDoc......Page 41
Parameters......Page 42
Class methods......Page 43
Using preferences to support browsers and platforms......Page 47
Browser preferences......Page 48
Platforms......Page 52
Using preferences to support mobile device simulators, emulators, and real devices......Page 53
iOS preferences......Page 54
Android preferences......Page 55
Multithreading support for parallel and distributed testing......Page 56
Passing optional arguments and parameters to the driver......Page 59
varargs......Page 60
The parameter for setDriver......Page 62
JVM argument – -Dswitch......Page 63
Parameter processing methods......Page 64
Selenium Grid Architecture support using the RemoteWebDriver and AppiumDriver classes......Page 66
Third-party grid architecture support including the Sauce Labs Test Cloud......Page 68
Using property files to select browsers, devices, versions, platforms, languages, and many more......Page 70
Summary......Page 72
Selenium Framework Utility Classes......Page 73
Introduction......Page 74
Global variables......Page 75
Synchronization utility classes......Page 76
Selenium synchronization classes......Page 77
The ExpectedConditions class......Page 78
WebDriverWait/FluentWait classes......Page 80
Custom synchronization methods......Page 81
The JavascriptExecutor class......Page 84
The TestNG Listener class......Page 87
Building the test listener class......Page 88
Logging the results to the console or log file......Page 89
Including the test runner in the test class or suite......Page 91
File I/O class......Page 92
Property files......Page 93
Lookup table files......Page 95
CSV files......Page 96
Log files......Page 97
The image capture class......Page 99
The capture screen method......Page 100
The capture image method......Page 101
The compare image method......Page 103
The reporter class......Page 105
The JavaMail class......Page 107
Summary......Page 110
Best Practices for Building Selenium Page Object Classes......Page 111
Introduction......Page 112
What you will learn......Page 113
Best practices for naming conventions, comments, and folder structures......Page 114
Naming conventions......Page 115
Comments......Page 117
Folder names and structures......Page 118
Designing and building the abstract base classes for the AUT......Page 121
The abstract class......Page 122
Abstract methods......Page 123
Common locators......Page 124
Common methods......Page 125
Wrap up on base classes......Page 128
Designing and building subclasses for feature-specific pages using inheritance techniques......Page 129
Encapsulation and using getter/setter methods to retrieve objects from the page object classes......Page 136
Exception handling and synchronization in page object class methods......Page 138
Implicit exception handling......Page 140
TestNG difference viewer......Page 142
Explicit exception handling......Page 143
Try...catch exception handling......Page 144
Synchronizing methods......Page 146
Table classes......Page 148
Summary......Page 152
Defining WebDriver and AppiumDriver Page Object Elements......Page 153
Introduction......Page 154
Inspecting page elements on browser applications......Page 155
Types of locators......Page 156
Inheriting WebElements......Page 157
Inspecting WebElements......Page 159
Third-party plugins/tools......Page 162
Inspection of page elements on mobile applications......Page 163
Appium inspector......Page 164
Inspecting mobile elements......Page 166
Standards for using static locators......Page 168
Rules for using standard locators......Page 169
Simple locators......Page 170
CSS locators......Page 172
XPath query locators......Page 173
Referencing static elements in methods......Page 174
Retrieving static elements from other classes......Page 176
Standards for using dynamic locators......Page 177
Single attribute XPath versus CSS locators......Page 178
WebElements......Page 179
MobileElements......Page 183
Multiple attribute XPath versus CSS locators......Page 187
Using dynamic locators in methods......Page 189
Summary......Page 191
Building a JSON Data Provider......Page 192
Introduction......Page 193
What you will learn......Page 194
The TestNG Data Provider class......Page 195
The @DataProvider annotation......Page 196
The @Test annotation......Page 197
Extracting JSON data into Java objects......Page 198
Filtering test data......Page 201
Filtering include and exclude patterns......Page 202
JSON Data File formats......Page 204
The JSONObject class......Page 206
Summary......Page 211
Developing Data-Driven Test Classes......Page 212
Introduction......Page 213
Annotating test class methods using TestNG......Page 215
TestNG annotations......Page 216
@Test......Page 217
TestNG setup/teardown methods......Page 220
Setup methods......Page 221
@BeforeSuite, @BeforeTest, @BeforeGroups, @BeforeClass, and @BeforeMethod......Page 222
Teardown methods......Page 224
@AfterSuite, @AfterTest, @AfterGroups, @AfterClass, and @AfterMethod......Page 225
Order of precedence......Page 226
Naming conventions for test methods......Page 228
Test classes and data files......Page 229
Test methods......Page 230
Test parameters......Page 231
Test groups......Page 232
Test setup/teardown methods......Page 233
Using the TestNG DataProvider......Page 235
Calling page object methods in test classes......Page 238
Exception handling in test classes......Page 242
Test methods......Page 243
The setup/teardown methods......Page 244
The ITestResult class......Page 245
Test listener/reporter classes......Page 246
Designing base setup classes......Page 247
TestNG suite file structure......Page 251
Suite section: ......Page 252
Groups section: ......Page 253
Listeners section: ......Page 255
Test section: ......Page 256
Suite parameters......Page 257
@Parameters......Page 258
Summary......Page 260
Encapsulating Data in Data-Driven Testing......Page 261
Introduction......Page 262
Casting JSON data to Java objects......Page 263
JSON object......Page 264
Sequential numbering of row IDs in the data file......Page 265
Using Java object getter/setter methods......Page 266
Passing data to page object methods......Page 267
Building in positive, negative, boundary, and limit testing......Page 268
Negative testing......Page 269
Confirmation and exception property files......Page 272
Property files......Page 273
Lookup method in DataProvider......Page 274
JSON data file data......Page 275
Converting confirmation/error code on the fly......Page 276
Property files and parsing test data on the fly......Page 277
Environment property files......Page 278
System properties......Page 279
Initializing property file data......Page 280
Global variables versus dynamic data......Page 281
Processing JVM args......Page 283
Retrieving JSON data outside of test methods......Page 284
Supporting multibranded applications......Page 286
Multilocators......Page 287
Conditional code......Page 288
Runtime flags......Page 290
Multiple driver support......Page 291
Dual WebDriver testing......Page 292
Dual WebDriver and AppiumDriver testing......Page 294
Parallel testing......Page 296
Suite XML file......Page 297
Parallel properties method......Page 299
Common setup......Page 300
Summary......Page 302
Designing a Selenium Grid......Page 303
Introduction......Page 304
Virtual grids......Page 306
Grid structure......Page 307
Single browser nodes......Page 308
Multibrowser nodes......Page 309
Single mobile device nodes......Page 310
Multimobile/browser nodes......Page 311
Selenium driver class – WebDriver versus RemoteWebDriver......Page 312
The setDriver method for browser......Page 313
The setDriver method for mobile......Page 315
Overloaded setDriver method for browser......Page 317
Switching from local to remote driver......Page 318
Suite parameters......Page 319
JVM argument......Page 320
Default global variables......Page 321
Processing runtime parameters......Page 322
Selenium standalone server and client drivers......Page 323
Local use of drivers......Page 324
Remote use of drivers......Page 326
Selenium standalone server and browser driver command-line options......Page 327
Selenium hub......Page 328
Selenium hub JSON configuration file......Page 330
Selenium nodes......Page 331
Selenium node JSON configuration file......Page 333
Appium server and mobile simulator/emulator command-line options......Page 336
Appium nodes......Page 337
Appium node JSON configuration file......Page 338
Selenium Grid console......Page 340
Directing traffic to Selenium nodes......Page 343
Multiple nodes of the same platform and version......Page 344
Directing traffic using desired capabilities......Page 345
Maintenance of the Selenium Grid......Page 346
Summary......Page 347
Third-Party Tools and Plugins......Page 348
Introduction......Page 349
IntelliJ IDEA Selenium plugin......Page 350
Sample project files......Page 351
Generating element locators......Page 353
Wrap-up on Selenium Plugin......Page 355
TestNG results in IntelliJ and Jenkins......Page 356
IntelliJ TestNG results......Page 357
Jenkins TestNG results......Page 358
HTML Publisher Plugin......Page 361
Installation......Page 362
BrowserMob Proxy Plugin......Page 363
Getting started......Page 364
ExtentReports Reporter API class......Page 365
ExtentHTMLReporter......Page 366
Dashboard page......Page 367
Categories page......Page 369
Tests page......Page 371
Code sample......Page 375
Sauce Labs Test Cloud services......Page 377
Sauce Labs Test Cloud features......Page 378
Browser and mobile platforms......Page 379
Driver code changes......Page 380
Dashboard......Page 382
SauceConnect tunnel......Page 383
TestObject Real Device Cloud......Page 384
Jenkins plugin......Page 386
Advantages and disadvantages of using in-house versus third-party grids......Page 387
Summary......Page 389
Working Selenium WebDriver Framework Samples......Page 390
Introduction......Page 391
Selenium driver and DataProvider classes......Page 393
CreateDriver.java......Page 394
JSONDataProvider class......Page 398
Selenium utility classes......Page 401
BrowserUtils.java......Page 402
Global_VARS.java......Page 404
TestNG_ConsoleRunner.java......Page 405
selenium.properties......Page 411
ExtentReports classes......Page 412
ExtentTestNGIReporterListener.java......Page 413
extent-config.xml......Page 419
Browser page object base and subclasses......Page 421
PassionTeaCoBasePO.java......Page 422
PassionTeaCoWelcomePO.java......Page 425
Browser test class and data files......Page 429
PassionTeaCoTest.java......Page 430
PassionTeaCo.json......Page 436
Browser Suite XML and Maven Pom XML files......Page 440
PassionTeaCo.xml......Page 441
pom.xml file......Page 443
Summary......Page 447




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