Take screenshots and name file using timestamp in Selenium

Author - Manpreet Singh
|
0 Comments
|

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…

Zoho CRM Editions Comparison Table

Author - Webner
Editions

Free Edition
Standard Edition
Professional Edition
Enterprise Edition
CRM Plus Edition

Pricing 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…

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…

Cloudfront cache issues when content updates to new version

Author - Webner
|
0 Comments
|

Problem: Cloudfront caches most of the objects and it becomes a problem when content updates to a new version of the origin server. CloudFront doesn’t retrieve the latest version of objects instantly from the origin server, it generally takes 24 – 48 hrs to recache the same object Read more…

Preserving Local Storage Data Across DataTable Pages In Javascript

Author - Mamta Sharma
|
0 Comments
|

When we write data in local storage it is not kept between dataTable pages. It will overwrite the old data with a new one on each page, means your previous data will be lost on a new dataTable page.

The reason is, on each page new values will be Read more…

Jquery Datatable Callbacks

Author - Pawandeep Kaur
|
0 Comments
|

Jquery data table callbacks are used when you want to perform some action on a certain event in the data table. For eg. when you want to modify a particular row or cell every time the table is redrawn.

List of Datatable Callbacks

createdRow

When

element is created then this Read more…

Make VisualForce Page externally accessible by non-salesforce Users

Author - Anjana Devi
|
0 Comments
|

Steps to make VisualForce Page externally accessible by non-salesforce Users/External Users:

1. Create a VisualForce page that you want to make externally accessible by non-salesforce Users/External Users.

Here, I’ve created a VisualForce Page named as ‘Multi-Select List’. I’ve also created an Read more…

Linux Truncate (Log)File

Author - Webner
|
0 Comments
|

Commands to empty logfile :

1. :>logfile – If logfile does not exist, this will create an empty log file, otherwise it will empty the existing file.

2. cat /dev/null > logfile – This is equivalent to above command.

Command to truncate logfile to specific size :

Sometimes Read more…

Adding a custom widget in wordpress wp-admin dashboard

Author - Mamta Sharma
|
0 Comments
|

How to add a custom widget in wordpress wp-admin dashboard? In following screenshot those boxes in red need to show custom widgets. How to accomplish it:

For adding the custom widget in wordpress admin you have to add this code in your plugin’s main file:

add_action(‘wp_dashboard_setup’, custom_wordpress_widget Read more…

Cross Domain XMLHttpRequest problem and some solutions

Author - Neelam Thakur
|
0 Comments
|

Cross-domain request: Cross-domain request is requesting the content from another host. When we request to a third party site to get content that is called cross-domain request. By default XMLHttpRequest (XHR) request allows transferring data only if both parties have the same Origin value (protocol Read more…

MySQL | Communications link failure

Author - Manoj Thakur
|
0 Comments
|

MySql Communication link failure while connecting MySql server remotely

I’m getting the following error when I tried to connect MySql server remotely:

ERROR:
——————————————
Cannot connect to database server
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not Read more…

Schedule CSV Import from Google Drive to ZOHO reports

Author - Komal Dhiman

Zoho reports have the feature to import data into a table from cloud storage like Google Drive. We can also schedule the import at a specific interval.

Here in the example below, we are importing the data from Google Drive. To achieve this, we need to follow these simple steps Read more…

Migrate codeigniter (2.0.3) from php 5.3 to php 5.6 or higher version – conflicts

Author - Rita Sharma
|
0 Comments
|

I am working on a client project which is using Codeigniter running on version 2.0.3 and PHP 5.3. I got a requirement from client to upgrade the PHP version from 5.3 to 5.6 or higher. While I tried to upgrade the PHP version I have Read more…

Send email using html template in Laravel

Author - Dalbir Kaur
|
0 Comments
|

Laravel provides us a facility to send email with custom html template. In order to achieve it, kindly follow the steps below:

1.  Open your mail.php file from config folder and add these details:

2.  After that open your gmail account and go to My Account -&gt Read more…

Difference between flows, workflows and process builder in Salesforce

Author - Piyush Aggarwal
|
0 Comments
|

Workflows enable us to set up rules that are evaluated and the corresponding action is executed based on the type of change in record. Few common cases in which workflows are used are:

1. Create a new task on an event
2. Update a field
3. For email Read more…

Adding Image Upload feature in GrapesJS editor

Author - Umang Pasricha
|
3 Comments
|

In GrapesJS, there is an ‘image’ block which we can drag and drop on the canvas but it only allows us to specify URL of the image to add to Asset Manager. Then we can embed that image in the document from Asset Manager by double-clicking. What if we Read more…

‹ Prev page1 ... 11 12 13 14 15 16 17 18 19 20 21 ... 54 Next page ›