JavaScript exception handelling for exception “Invalid code point”

The JavaScript exception “Invalid code point” occurs when NaN values, negative Integers (-1), non-Integers (5.4), or values larger than 0x10FFFF (1114111) are used with String.fromCodePoint(). Message:RangeError: Invalid code point -1 (V8-based) RangeError: -1 is not a valid code point (Firefox) RangeError: Arguments contain a value that is out of range of code points (Safari) What Went… Continue reading JavaScript exception handelling for exception “Invalid code point”

Test Progress Monitoring

The purpose of test monitoring is to gather information and provide feedback and visibility about test activities Give the test item team and test manager feedback on how the testing is going. Provide the project team with visibility about the test results. Measure the test criteria or the testing tasks associated with the definition of… Continue reading Test Progress Monitoring

What is Webkit CSS & How to Use It.

The CSS -webkit-appearance property allows web developers to make HTML components look more like native User Interface (UI) controls. It also supports the CSS -webkit-appearance property, which is a proprietary CSS extension. The -webkit- prefix on WebKit extensions denotes that they are part of the WebKit open- source framework. example: <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”utf-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1″>… Continue reading What is Webkit CSS & How to Use It.

Published
Categorized as Wordpress

How to use lottie animations on the web

Get JSON format of animation Add Bodymovin library to the HTML page Load the animation Set the animation trigger It is using in script tag. <script src=”https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js”></script>

Published
Categorized as Wordpress

Restrict the country in shipping and billing address of a customer in the website based on the customer subsidiary

Requirement is to restrict the country in shipping and billing address of a customer in the website based on the customer subsidiary in myaccount and checkout pages.   For that we need to extend the’ Global.Views.Countries.Dropdown.View’ and adding the code below

How to detect whether a device is iOS without using Regular Expression in JavaScript

We can detect whether the device is iOS or not without using RegExp with the help of JavaScript. There are two approaches first is Use navigator.platform property to check for the particular keywords which belongs to iOS devices using index of( ) and second is using pop() to take out one by one Approach 1: Use navigator.platform… Continue reading How to detect whether a device is iOS without using Regular Expression in JavaScript

keyframes

The @keyframes rule specifies the animation code. The animation is created by gradually changing from one set of CSS styles to another. During the animation, you can change the set of CSS styles many times. Specify when the style change will happen in percent or with the keywords “from” and “to”, which is the same… Continue reading keyframes

Published
Categorized as Magento

Styling may not be Compactable with Windows Mail app in Outlook

It is possible that the styles we are using may not be compatible with the Windows Mail app in Outlook. In order to make the style applicable for desktop app as well, we may need to modify the code by using inline styles rather than relying on external stylesheets. Outlook is known to have limited… Continue reading Styling may not be Compactable with Windows Mail app in Outlook

Difference between Testcase and Test Scenarios

Testcase:  The test case is an in-details document that includes all possible inputs such as positive and negative, expected result,actual result, status etc. These are implemented during the testing process to check whether the software application is performing the task for that it was developed or not.  The main objective of writing the test case… Continue reading Difference between Testcase and Test Scenarios