<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>testing on Pieces &amp; Perspective Blog</title><link>https://xbns.netlify.app/tags/testing/</link><description>Recent content in testing on Pieces &amp; Perspective Blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sat, 12 Dec 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://xbns.netlify.app/tags/testing/index.xml" rel="self" type="application/rss+xml"/><item><title>Data Driven REST API Testing</title><link>https://xbns.netlify.app/posts/20201212-data-driven-testing/</link><pubDate>Sat, 12 Dec 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/20201212-data-driven-testing/</guid><description>Example:Data Driven testing Using pytest Expected Output Here you will find the json response for the above test script.
Code The script is show below in case using chrome and it isn&amp;rsquo;t rendering the gist
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 import requests import pytest import csv from requests.</description></item><item><title>Test &amp; Design Resources Sites</title><link>https://xbns.netlify.app/posts/test-resources/</link><pubDate>Sat, 12 Dec 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/test-resources/</guid><description>REST API Test Resources ID Description Link TR1 A simple HTTP Request &amp;amp; Response Service https://httpbin.org TR2 Reliable Exchange Rates &amp;amp; Currency Conversion Real-time JSON API https://currencylayer.com/ TR3 Global Phone Number Validation &amp;amp; Lookup JSON API https://numverify.com/ TR4 Online REST API for testing and prototyping https://fastapi.tiangolo.com/ TR5 Online REST API for testing and prototyping https://dummy.restapiexample.com TR6 Online REST API for testing and prototyping https://jsonplaceholder.</description></item><item><title>Display API Response JSON Test Data In a Table</title><link>https://xbns.netlify.app/posts/display-json-test-data-in-a-table-from-endpoint/</link><pubDate>Thu, 03 Dec 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/display-json-test-data-in-a-table-from-endpoint/</guid><description>Online REST API testing and prototyping resource http://reqres.in The URL Scheme http://reqres.in/api/users Response Displayed in a Table User ID Firstname Lastname Email Avatar 1 George Bluth george.bluth@reqres.in https://reqres.in/img/faces/1-image.jpg 2 Janet Weaver janet.weaver@reqres.in https://reqres.in/img/faces/2-image.jpg 3 Emma Wong emma.wong@reqres.in https://reqres.in/img/faces/3-image.jpg 4 Eve Holt eve.holt@reqres.in https://reqres.in/img/faces/4-image.jpg 5 Charles Morris charles.morris@reqres.in https://reqres.in/img/faces/5-image.jpg 6 Tracey Ramos tracey.</description></item><item><title>Test Report</title><link>https://xbns.netlify.app/posts/a-sample-test-report/</link><pubDate>Fri, 20 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/a-sample-test-report/</guid><description>A Sample Test Report</description></item><item><title>Random Test Data Generation</title><link>https://xbns.netlify.app/posts/generate-random-test-data-given-an-endpoint/</link><pubDate>Thu, 19 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/generate-random-test-data-given-an-endpoint/</guid><description>Example: Notes The above script generates random kenya msisdn for user,firstname,lastname and age. Then places a random farm inputs order for the given user(farmer)
Bonus The gist for searching the created users given there msisdn in csv can be found here
https://gist.github.com/jaymutuku/ef48ed0d6850db2fb77ce8a60595c5c6</description></item><item><title>REST API Testing</title><link>https://xbns.netlify.app/posts/rest-api-testing/</link><pubDate>Thu, 19 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/rest-api-testing/</guid><description>Example:API testing Using Selenium Notes Here is the detailed explanation of above script.
Sample API Mock Test Below test script demos the simplest api test using python unittest and request libraries.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 import requests import unittest from pytest_httpserver import HTTPServer import json class APITest(unittest.</description></item><item><title>Selenium UI Testing</title><link>https://xbns.netlify.app/posts/selenium-ui-testing/</link><pubDate>Thu, 19 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/selenium-ui-testing/</guid><description>Example:UI testing Using Selenium Here is the detailed explanation of UI testing Using Selenium.</description></item><item><title>API Testing Given a JSON Dump File</title><link>https://xbns.netlify.app/posts/api-testing-given-a-json-dump-file/</link><pubDate>Wed, 18 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/api-testing-given-a-json-dump-file/</guid><description>Example Implementation</description></item><item><title>Postman API Testing</title><link>https://xbns.netlify.app/posts/postman-api-testing/</link><pubDate>Wed, 18 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/postman-api-testing/</guid><description>Example Postman Tests Notes Here is the detailed explanation of above script.
The Example below shows a Postman test-cript for automation the process of authentication(Basic Auth) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 let tokenUrl = &amp;#39;https://test-gateway.tulaa.io/uaa-server/oauth/token&amp;#39; let clientId=&amp;#39;&amp;lt;client_id&amp;gt;&amp;#39; let clientSecret=&amp;#39;&amp;lt;client_secret&amp;gt;&amp;#39; let getTokenRequest = { method:&amp;#39;POST&amp;#39;, url:tokenUrl, auth: { type:&amp;#39;basic&amp;#39;, basic: [ {key:&amp;#39;username&amp;#39;,value:clientId}, {key:&amp;#39;password&amp;#39;,value:clientSecret} ] }, body: { mode:&amp;#39;urlencoded&amp;#39;, urlencoded: [ {key: &amp;#39;username&amp;#39;, value: &amp;#39;&amp;lt;USERNAME&amp;gt;&amp;#39;}, {key: &amp;#39;password&amp;#39;, value: &amp;#39;&amp;lt;PASSWORD&amp;gt;&amp;#39;}, {key: &amp;#39;grant_type&amp;#39;, value: &amp;#39;password&amp;#39;} ] } } pm.</description></item><item><title>Test Documents</title><link>https://xbns.netlify.app/posts/test-docs/</link><pubDate>Wed, 18 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/test-docs/</guid><description> $(document).ready(function() { $('#datatable2').dataTable( { "ordering": false, "order": [], } ); $('#datatable2_length select').val('50').change(); }); Name: Download-Link: Size/Byte: How to Maintain a Robust and Efficient Regression Suite.docx 17052 test-cases-tulaa-musoni-integration.xlsx 122057 test-cases-user-api.xlsx 175725 user-acceptance-testplan.doc 198656</description></item><item><title>Grey Box UI Testing Checklist</title><link>https://xbns.netlify.app/posts/ui-retailer-test-checklist/</link><pubDate>Tue, 17 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/ui-retailer-test-checklist/</guid><description>1. CREATE Retailer Adding a new retailer,the following steps will be followed:
Test Steps Load &amp;lsquo;Retailer Add&amp;rsquo; form. Enter the retailer name, say ‘Oleleshao Agrovet’. Enter retailer description, say ‘this is test retailer detail’. Enter retailer location, say ‘Melili’. Submit the form. Checking the result: Tester manually verifies if the retailer is displayed with all the details in the front end of the software application. Tester executes the query in PostgreSQL database server to check if the particular row is present Query: 1 SELECT * FROM rschema.</description></item><item><title>Test Defect Management Procedure</title><link>https://xbns.netlify.app/posts/2020-11-17-test-defect-management-procedure/</link><pubDate>Tue, 17 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/2020-11-17-test-defect-management-procedure/</guid><description>PURPOSE. The purpose of this test procedure is to provide guidance to the Quality Assurance and Development Teams when managing defects found in the systems under test. By following this plan, teams will manage the defects so that the process is consistent and maintainable, and, to the extent possible, compliant with industry best practices and conventions.
SCOPE.
All testing stakeholders must follow this standard, whether the testers or developers are internal or not, and regardless of where the application was developed internally or out sourced.</description></item><item><title>Test Plan</title><link>https://xbns.netlify.app/posts/farmer-details-test-plan/</link><pubDate>Tue, 17 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/farmer-details-test-plan/</guid><description>Test Plan Identifier Name of Strategy Organizational Affiliation Version Status Farmer Details Test Plan version 1 Open Test Plan Approvals Name Department Signature Josphat Mutuku 1 .Introduction 1.1 Test Objectives 2. Test Items/Object 2.</description></item><item><title>Test Strategy</title><link>https://xbns.netlify.app/posts/farmer-details-test-strategy/</link><pubDate>Tue, 17 Nov 2020 00:00:00 +0000</pubDate><guid>https://xbns.netlify.app/posts/farmer-details-test-strategy/</guid><description>Test Strategy Identifier Name of Strategy Organizational Affiliation Version Status Farmer Details Test Strategy version 1 Open Approvals Name Department Signature Josphat Mutuku 1. Introduction The purpose of this test strategy is to highlight the scope of testing the farmer details component.</description></item></channel></rss>