Posts

Showing posts from July, 2019

How Debugging Skills helped me to solve a problem?

Image
What is a Problem? According to Wikipedia,  A  problem  is a situation preventing something from being achieved. What to do when you get a problem? Before spending time to solve the problem, It is essential to understand the Problem. Recently, I was working on configuring the MYSQL Server and encountered below error when I executed the file. C:\Program Files\MySQL\MySQL Server 8.0\bin>mysql -uroot -p myhome <c:\Users\srinivas\projects\myhome\schema\schema.mysql.sql File Name: scheme.mysql.sql As usual, I had only one question in my mind: "Why did I receive this error?" And then It clocked 1.30pm, It was my break time. During the break time, I was thinking about the Error and it bought me a few questions: "Which function?" "What does that error mean?" Here, Debugging Skills helped me to solve this error: First, I read the Error Message again and divided into parts ERROR 1418 (HY000) Line 15677: The function has

Testing Tools: Duplicate Ids on Webpage

Image
I was learning about HTML Grouping by Attributes using Classes and IDs. I have learned why do we have classes and Ids as part of HTML Attributes. As part of this, I have learned that the webpage should not contain more than one same ids for an HTML Element. <h1>Airports</h1> <h2 class="air-header">Hyderabad</h2> <p class="air-content" id="air-content-1">I have travelled from Hyderabd Airport</p> <h2 class="air-header">Bangalore</h2> <p class="air-content">I have travelled from Bangalore Airport</p> Found a Chrome Extension Dup-ID - Scans HTML for duplicate ID attributes. https://chrome.google.com/webstore/detail/dup-id-scans-html-for-dup/nggpgolddgjmkjioagggmnmddbgedice This simple extension will scan the webpage Html tags and look for duplicate ID attributes.  I have used the chrome extension on https://www.cognizant.com/  and  https://www.infosys.com/  websit

Security Testing: Security Headers - X-Frame-Options

Image
Recently, I wrote an HTML Code to learn about HTML Attributes. <a href="https://www.google.com">Google</a> </br> </br> <a href="https://www.youtube.com" target="_blank">Youtube</a> I have written this on CodePen website, which is an online code editor tool. When I clicked on Youtube link, It has opened the Youtube website on a new tab in the browser as target attribute has been set to blank. When I clicked on Google Link, as the target attribute is not added. It should open the Google Website in the same results page. But, I observed the result page shows:  www.google.com  refused to connect. As part of the investigation, I have opened F12 - Chrome Web Developer Tools and Navigated to Console.  Observed: " X-Frame-Options" is set to "SameOrigin" and refused to display "www.google.com" Security Concepts: Also, I have checked the Network Tab with Oewrbm resource name.

Testing Tools: Screencapture the Webpage

Image
I mostly use "Jing" for a screen capture of the visible part of the page. For a Particular test, I had to take full screenshot of a page. I have searched for google chrome extensions which can help me in taking the screen capture of Entire page. Found Two Chrome Extensions: 1. Nimbus Screenshot https://chrome.google.com/webstore/detail/nimbus-screenshot-screen/bpconcjcammlapcogcnnelfmaeghhagj?hl=en 2.  Full Page Screen Capture https://chrome.google.com/webstore/detail/full-page-screen-capture/fdpohaocaechififmbbbbbknoalclacl?hl=en I have used both the chrome extensions on  https://testautomationu.applitools.com/  website. Full page Screenshot has captured Entire page in a go and saved in .png format. Size of the File: 1,639Kb. Nimbus Screenshot has captured Entire page in a go and saved in .png format. Size of the File: 1,632kb There is very less difference in file size between the two screenshots. But still, I have a problem here.