توضیحاتی در مورد کتاب Selenium WebDriver Recipes in Node.js: The problem solving guide to Selenium WebDriver in JavaScript (Test Recipes Series)
نام کتاب : Selenium WebDriver Recipes in Node.js: The problem solving guide to Selenium WebDriver in JavaScript (Test Recipes Series)
عنوان ترجمه شده به فارسی : دستور العمل های Selenium WebDriver در Node.js: راهنمای حل مشکل Selenium WebDriver در جاوا اسکریپت (سری دستور العمل های آزمایشی)
سری :
نویسندگان : Zhimin Zhan
ناشر :
سال نشر :
تعداد صفحات : 184
ISBN (شابک) : 9781537328256 , 1537328255
زبان کتاب : English
فرمت کتاب : pdf
حجم کتاب : 4 مگابایت
بعد از تکمیل فرایند پرداخت لینک دانلود کتاب ارائه خواهد شد. درصورت ثبت نام و ورود به حساب کاربری خود قادر خواهید بود لیست کتاب های خریداری شده را مشاهده فرمایید.
فهرست مطالب :
Table of Contents\nPreface\n Who should read this book\n How to read this book\n Recipe test scripts\n Send me feedback\nIntroduction\n Selenium language bindings\n Install Node.JS\n Write first script with JavaScript editor\n Install Selenium WebDriver\n Run script\n Cross browser testing\n Mocha Test Framework\n Create package.json file\n Run recipe test scripts\nLocating web elements\n Start browser\n Find element by ID\n Find element by Name\n Find element by Link Text\n Find element by Partial Link Text\n Find element by XPath\n Find element by Tag Name\n Find element by Class\n Find element by CSS\n Chain findElement to find child elements\n Use locator name as JSON attribute\n Find multiple elements\nHyperlink\n Click a link by text\n Click a link by ID\n Click a link by partial text\n Click a link by XPath\n Click Nth link with exact same label\n Click Nth link by CSS Selector\n Verify a link present or not?\n Getting link data attributes\n Test links open a new browser window\nButton\n Click a button by label\n Click a form button by label\n Submit a form\n Click a button by ID\n Click a button by name\n Click a image button\n Click a button via JavaScript\n Assert a button present\n Assert a button enabled or disabled?\nTextField and TextArea\n Enter text into a text field by name\n Enter text into a text field by ID\n Enter text into a password field\n Clear a text field\n Enter text into a multi-line text area\n Assert value\n Focus on a control\n Set a value to a read-only or disabled text field\n Set and assert the value of a hidden field\nRadio button\n Select a radio button\n Clear radio option selection\n Assert a radio option is selected\n Iterate radio buttons in a radio group\n Click Nth radio button in a group\n Click radio button by the following label\n Customized Radio buttons - iCheck\nCheckBox\n Check by name\n Check by id\n Uncheck a checkbox\n Assert a checkbox is checked (or not)\n Customized Checkboxes - iCheck\nSelect List\n Select an option by text\n Select an option by value\n Select an option by iterating all options\n Select multiple options\n Select options by index\n Clear one selection\n Clear all selections\n Assert a label or value in a select list\n Assert selected option label\n Assert the value of a select list\n Assert multiple selections\nNavigation and Browser\n Go to a URL\n Visit pages within a site\n Perform actions from right click context menu such as `Back\', `Forward\' or `Refresh\'\n Open browser in certain size\n Maximize browser window\n Move browser window\n Minimize browser window\n Scroll focus to control\n Switch between browser windows or tabs\n Remember current web page URL, then come back to it later\nAssertion\n Assert page title\n Assert Page Text\n Assert Page Source\n Assert Label Text\n Assert Span text\n Assert Div text or HTML\n Assert Table text\n Assert text in a table cell\n Assert text in a table row\n Assert image present\n Assert element location and width\n Assert element CSS style\n Assert JavaScript errors on a web page\nFrames\n Testing Frames\n Testing iframe\n Test multiple iframes\nTesting AJAX\n Wait within a time frame\n Explicit Waits until Time out\n Implicit Waits until Time out\n Wait AJAX Call to complete using JQuery\nFile Upload and Popup dialogs\n File upload\n JavaScript pop ups\n Timeout on a test\n Modal style dialogs\n Internet Explorer modal dialog\nDebugging Test Scripts\n Print text for debugging\n Write page source or element HTML into a file\n Take screenshot\n Run single test case with Mocha\n Run tests matching a pattern with Mocha\n Leave browser open after test finishes\n Run selected test steps against current browser\nTest Data\n Get date dynamically\n Get a random boolean value\n Generate a number within a range\n Get a random character\n Get a random string at fixed length\n Get a random string in a collection\n Generate random person names, emails, addresses with Faker\n Generate a test file at fixed sizes\n Retrieve data from Database\nBrowser Profile and Capabilities\n Get browser type and version\n Set HTTP Proxy for Browser\n Verify file download in Chrome with Custom User Preferences\n Test downloading PDF in Firefox with Custom Profile\n Bypass basic authentication by embedding username and password in URL\n Bypass basic authentication with Firefox AutoAuth plugin\n Manage Cookies\n Headless browser testing with PhantomJS\n Headless Chrome\n Headless Firefox\n Test responsive web pages\nAdvanced User Interactions\n Double click a control\n Move mouse to a control - Mouse Over\n Click and hold - select multiple items\n Context Click - right click a control\n Drag and drop\n Drag slider\n Send key sequences - Select All and Delete\n Click a specific part of an image\nHTML 5 and Dynamic Web Sites\n HTML5 Email type field\n HTML5 Time Field\n Invoke `onclick\' JavaScript event\n Invoke JavaScript events such as `onchange\'\n Scroll to the bottom of a page\n Select2 - Single Select\n Select2 - Multiple Select\n AngularJS web pages\n Ember JS web pages\n ``Share Location\'\' with Firefox\n Faking Geolocation with JavaScript\n Save a canvas to PNG image\n Verify dynamic charts\nWYSIWYG HTML editors\n TinyMCE\n CKEditor\n SummerNote\n CodeMirror\nLeverage Programming\n Raise exceptions to fail test\n Ignorable test statement error\n Read external file\n Data-Driven Tests with CSV\n Identify element IDs with dynamically generated long prefixes\n Sending special keys such as Enter to an element or browser\n Use of Unicode in test scripts\n Extract a group of dynamic data : verify search results in order\n Verify uniqueness of a set of data\n Extract dynamic visible data rows from a results table\n Extract dynamic text following a pattern using Regex\nOptimization\n Assert text in page_source is faster than the text\n Getting text from more specific element is faster\n Avoid programming if-else block code if possible\n Enter large text into a text box\n Use Environment Variables to change test behaviours dynamically\n Testing web site in two languages\nGotchas\n Test starts browser but no execution with blank screen\n Failed to assert copied text in browser\n The same test works for Chrome, but not IE\n ``unexpected tag name `input\'\'\'\n Element is not clickable or not visible\nMaterial Design Web App\n Select List (dropdown)\n Checkbox\n Drag range (noUiSlider)\n Verify Toast message\n Modal\nSelenium Remote Control Server\n Selenium Server Installation\n Execute tests in specified browser on another machine\n Selenium Grid\nQuiz\n Answers\nAppendix - Continuous Testing\n Verify server machine can run Selenium Mocha\n Install BuildWise Server\n Create Build Project in BuildWise\n Trigger test execution manually\n Feedback while test execution in progress\n Build finished\n Notification\n Review\nAfterword\nResources\n Books\n Web Sites\n Blog\n Tools