Allow the Cross Origin Request (CORS)

Author - Maniraj Singh
|
0 Comments
|

Cross Origin issue is resolved by adding header(“Access-Control-Allow-Origin: http://yoursite.com”); to allow the particular origin or we can also allow all the origin by replacing the path to *.

For Cake php header is defined in file public/index.php.

Code:

header(“Access-Control Read more…

Creating a Lightning Custom Page/App

Author - Harinder Jakhar
|
0 Comments
|

We can access different features of Salesforce on a single page by building a custom Lightning App:

1. Multiple features of salesforce on one page
2. Custom homepage
3. Edit layout of objects like adding tabs, flows, hierarchy etc.

Steps to Create a custom page or app Read more…

Reading CSV File using Talend Open Studio

Author - Harshit Gulati
|
0 Comments
|

Below are the steps to read a CSV file in Talend

After creating a Local Repository follow the below steps to successfully read a CSV in Talend Open Studio (we are using Talend version 6.5.1).

1. Click on the Integration perspective on the Read more…

PHP_CodeSniffer Introduction

Author - Preeti Bisht
|
0 Comments
|

What Is PHP_CodeSniffer?

PHP_CodeSniffer is an essential development tool that helps developers to work in a standardise format so as to make code clean and consistent. It ensures that same coding style is being followed. It allows a set of rules or a standard to be Read more…

Introducing WordPress versions 4.9.4 and 4.9.5

Author - Sukhpreet Singh
|
0 Comments
|

WordPress Version 4.9.5

WordPress 4.9.5 is released on 3rd April 2018. This version is released to fix the security issues. There were three major security issues which are solved by the WordPress community in this version:

1. Don’t treat Read more…

WordPress best practices

Author - Kajal Marwah
|
0 Comments
|

WordPress is a cms (content management system) which contains different type of content including images, video and text. I think we all need to know about some of the best practices while developing in WordPress.

Before development of a website some of the best practices to follow are these Read more…

Role of Software Developer in Testing

Author - Umang Pasricha
|
0 Comments
|

The one who has both qualities of a developer and a tester is known as a professional Software Developer. Most common terms used for such job titles are: SET (Software Engineer in Test) and SDET, (Software Development Engineer in Test). The one who is an IT professional and can work Read more…

Why to use xpath in Selenium

Author - Namisha Arora
|
0 Comments
|

What is Xpath?

Xpath is defined as XML path. If we are unable to find an element with id, class or name locator  on web page then we can use XML path expression for finding the element on a webpage.

Syntax to write xpath is:

Xpath Read more…

Time Zone Conversion in Salesforce

Author - Deepika Saini
|
0 Comments
|

Problem: How to change the Time Zone in VF Pages of Salesforce to show the Date Time field according to User’s Time Zone?

Solution:

By default the Date Time field is saved in GMT TimeZone. If you simply use the System.now() method in order Read more…

Salesforce Query Limits and Best practices to use minimum api calls

Author - Tanuj Sharma
|
0 Comments
|

The maximum number of records that we can retrieve using a single Salesforce API call is 2000. Below are some points using which we can reduce our API calls to not to cross Salesforce API call limits:

* Instead of using Salesforce operations like update(), upsert() for each record you can Read more…

How to animate objects using @keyframes CSS3 rules

Author - Kuldeep Singh
|
0 Comments
|

CSS3 provides us a way to animate our objects using @keyframes css rule. In the below example we will animate a spinner using @keyframes rule.

Steps:

1.  Create an html page and add below HTML5 section element to it:

<section class Read more…

How to Secure XAMPP Server (version older than 5.5) in your Production environment

Author - Navneet Kashyap

In the older versions of XAMPP (below 5.5), there are a couple of security vulnerabilities. If you are running XAMPP in your production environment and don’t want to upgrade/install the higher version, then make sure you do few changes in your existing XAMPP security using following steps Read more…

Some Simple and Advanced Features of jQuery Datatable

Author - Ishpreet Kaur
|
0 Comments
|

In this blog, I am going to share some simple and advanced features of jQuery datatable. These are:

1. Custom table message in case no records exist.
2. Set Default records length.
3. Set search filter by default.
4. InitComplete parameter of datatable.
5. Change css dynamically when data loaded Read more…

Take screenshots and name file using timestamp in Selenium

Author - Manpreet Singh

When we test a website and face bugs we need screenshot of the output to suggest to the developer to fix the issue. Automated testing is usually evidenced by Screenshots and logs. But how to save screenshots with timestamp in the file name using Selenium?

In this example we Read more…

Sort list 1 by sorting 2nd list using Jquery UI sortable

Author - Harpal Singh
|
0 Comments
|

How to sort the 1st list of HTML elements by sorting the 2nd list of HTML elements using Jquery UI sortable?

Problem: I am creating two HTML lists using Div elements in my project and I want to change the position of elements in the first list on Read more…

Node.js introduction and configure a test project in Eclipse

Author - Preeti Bisht
|
0 Comments
|

Node.js is an open-source, cross-platform runtime environment used for development of server side applications and networking applications.

Basic features of Node.js are :

1. Most of its modules are written in JavaScript.
2. It is mostly used in real time server applications as it is Read more…

GrapesJS – Storing HTML on server side

Author - Webner
|
0 Comments
|

In GrapeJS to save html code of document in database use your own save function (like saveContent() in this example) inside editor’s ‘storage:store’ event method.

Example:

editor.on(‘storage:store’, function(e) {
saveContent(); //your method where you store html content of document in DB using ajax
})

Here is Read more…

Handling browser back or forward button clicks for ajax content

Author - Harleen Kaur
|
0 Comments
|

In Jquery / Javascript how to handle updates for partial (nested) web page view Inside a single View on browser back, forward & refresh button events? Or simply put how to handle browser back or forward button clicks for content displayed dynamically or with ajax calls?

Suppose when we want to Read more…

Insurance Producers and their Types

Author - Webner
|
0 Comments
|

Anybody who produces sales of insurance products is a Producer or Insurance Agent. But based on their mode of working, they can be classified into different types.

Independent Insurance Producers

Independent Insurance Producers are not bound to selling insurance products of a single insurance company. They generally sell Read more…

Recreate graphic animations on Jquery datatable refresh

Author - Parminder Kaur
|
0 Comments
|

When we refresh Jquery datatables (like through sorting or searching) the graphic animations like progress circle-bars etc do not redraw correctly. The distorted images appear instead of graphics.

This is how progress circles look initially:

On sorting/searching the dataTable, the progress circle is not redrawn correctly, like in Read more…

‹ Prev page1 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 Next page ›