What is End to End Testing Process and Activities?

End to End Testing Process The following outline provides a review of the End to End testing process:- Below are the key activities covered in End to End Testing are:- Investigation of end to end testing necessities. Test Environme...

How to set email validation in Wordpress

Hello Friends, If you are looking to set email validation in Wordpress. It has inbuilt functionality for this, Please follow the below example to set email validation, we have set example to check this validation. $emailAddress = is_email('...

How to escape from sql injection in Wordpress

Hello Friends, Here we are going to discuss the prevention of sql injection problem in wordpress website. Suppose we have an option to search an user in our website now see what an unlawful user can do with this: In search box an user can i...

AppResover

AppResolver Introduction :- AppResolver library is designed for resolving the needs of opening links to their respective application. Uses :- This Library can be used for opening different app links and webpages to their respective appl...

How to validate files in Wordpress

Hello Friends, If you want to check the file existence in Word Press or you want to check file type is right or not. Wordpress provide an inbuilt functionality to check this with validate_file(). Please look at below examples for the same: ...

What is process to find OS version from web browsers using PHP ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to find OS version from web browsers using PHP ? If you want to get the OS version which you are using. Then you can use the library code below:- <?php //here cra...

How to use jQuery clone () Method ?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to use jQuery clone () Method ? The clone () Method is used for making a copy of matched element.This Method makes the duplicate of the matched elements. clone () Metho...

Reverse a Singly Linked List in linear order of time

You can reverse a Singly Linked List in linear order of time by implementing the following iterative approach, there are other recursive approaches are also available. But for the sake of simplicity I am implementing the iterative approach only,...

Asynchronous file upload using jQuery

Hello Today we will discuss about Asynchronous file upload with jQuery. In order to upload the files to server asynchronously you can follow any of the following practices: use a plugin without using a plugin In this post, I w...

Software Requirements And It's Types

Software Requirements:- Basically software requirements is a collection of information which is gathering from the clients or consumers. Normally, we can categorized software requirements into two categories as mentioned below-- Functional R...

Memset in C

Memset is used to fill first n bytes in the block of memory pointed by a pointer to a specific character interpreted as an unsigned char. Memset is defined under string.h header. Function Prototype void * memset ( void * ptr, int value, siz...

How Jersey return a JSONObject?

If we try to return a JsonOject in jersey, like this @Path("/formSubmit") @POST @Produces("application/json") public JSONObject formSubmit() { JSONObject json1 =new JSONObject(); return json1; } it may give an error (org....

HTML oninput event

This event will be fired when user enter an input. This event is mostly used with the input and textareat elements. This event is similar to onchange event. But there is a bit difference between them, oninput event will fired after the value of a...

How to make Dialog Animation in android

In the below example I have created Dialog Animation using windowAnimation. Here I have added DialogAnimation item in style.xml folder after that I have created a new dialoglayout.xml and added a image and button then in mainlayout I have added a...

Mutation Testing Types

Mutation Testing Types :- There are mainly three types of mutation testing as mentioned below -- Value Mutations Decision Mutations Statement Mutations Value Mutations:- An effort to convert the values to find the issues or bugs in th...

Can function main() be overloaded in C++?

Can function main() be overloaded in C++? The main() function can be overloaded in C++ by defining main as member function of a class.Since main is not a reserved word in many programming languages like C++,C# ,java etc, main can be declared ...

wordwrap() Function in PHP

wordwrap() Function is a string function in which it wraps a string in new line, after a specific length. Syntax wordwrap(string,width,break,cut); In the syntax the parameter string is to break up into lines , the width is the maximum...

How to call featured image in WordPress

If we are making a custom wordpress theme , we can call any feature image attached with any post or any custom post. Wordpress have by default option for feature image. We can upload the feature image to any post or any custom posts. We can ca...

Configure office365 email in liferay

Hello Guys I configured office365 email in liferay to send email via smtp by using below properties : mail.session.mail.transport.protocol=smtp mail.session.mail.smtp.user=admin@domain.com mail.session.mail.smtp.password=m8Kw mail...

Set more than one variable in CakePHP

set() method provides a way to set values in our cake-php controller so that we can use it in our view for presentation. Syntax of set is: $this->set('variable','value') In cakephp controller, we can set the values as <?php $this...

How do you reset a $timeout, and disable a $watch().

To cleanup the timeout, just use ".cancel()": var customTimeout = $timeout(function () { // your code }, 55); $timeout.cancel(customTimeout); The same applies to $interval(). To disable a watch, just call it. // .$watch() ret...

Difference between AngularJS Expressions and JavaScript Expressions.

Like JavaScript expressions, AngularJS expressions can contain literals, operators, and variables. Unlike JavaScript expressions, AngularJS expressions can be written inside HTML. AngularJS expressions do not support conditionals, loops, an...

How change date format using MySql

Hello Reader's if you are using unix timestamp for storing date the time. Then you have to convert them into date format. But now MySql has come with a new syntax of 'format', Because of this it will make the conversion as you want and will save...

Read text file from SD card

Below is the code to read a text file from SD card. First, we have to define path of the text file to a File. Second step is to use BufferedReader class to read line by line. File sdcard = Environment.getExternalStorageDirectory(); ...

How to send email in Wordpress

Hello Friends, If you are looking to send email in wordpress with using wordpress inbuild functions. Please follow the below code for the same. // Sender email address $to = 'abc@xyx.com'; // Define subject of your mail $subject = 'My ...

Generating all possible permutation of a given range

If you want to generate permutation of the elements in a range in lexicographic order, then next_permutation function defined in STL algorithm might be helpful for you. Default template for next_permutation template <class InputIterator&...

How to print without newline in swift 2.0

Hi Readers! In swift 2.0, print() statement adds a new line character automatically, where as in swift 1.2, println() and print() were 2 separate functions. Apple in 2.0 has given only 1 statement for print() with different parameters. T...

Random shuffle in C++

Random shuffle function is used to randomly rearrange the elements in a given range. The random_shuffle function is defined in the STL algorithm. Template for random_shuffle template <class InputIterator> void random_shuffle (Input...

splice() method of Array in JavaScript

JavaScript Array splice() method : The splice() method is used to add or remove the element from/to array. Using the parameter we can add or remove element to/from desired position. It changes the original array. The splice() method returns the r...

Reverse in C++

If you want to reverse the order of elements in a given range, then you can use the reverse function defined in the STL algorithm. Template for reverse template <class BidirectionalIterator> void reverse (BidirectionalIterator firs...

What is End to End Testing?

End to End Testing Unlike System Testing, End-to-End Testing accepts the software framework under test as well as checks it's integration with outside/external interfaces. Thus, the name "End-to-End". The reason for End-to-End Testing is to pr...

HTML LAYOUTS

A layout of a webpage plays an important role in providing a good look to our webpage. A good,attractive and beautiful design can be provided only by a person having good creativity skills that's why designing part of a website is not a easy task...

How to create Sign Up Screen Design

In the below example I have created Sign Up page layout. Here first I have used Main LinearLayout then all category design in diffrent subLinearLayout and added Color, text, size category defined in value folder. Here I have also used ScrollView....

Count function in C++

If you want to count the presence of a element in a given range, then you can use the count() function defined in the STL algorithm. It returns the number of variable inside a range whose value is equal to the given number. Template for count...

CakeEmail

CakeEmail class CakeEmail(mixed $config = null) CakeEmail is a new class introduce to send email. With the help of this class one can send email from any where in the application.The CakeEmail class replaces the earlier used EmailComponent ...

To add a primary key using ALTER command

Adding a primary key using ALTER Command: Alter command is generally used to modify table . It can be used to add columns or to remove columns. Using Alter command we can also add or remove a key from a table. Syntax: ALTER TABLE tablena...

How to implement star rating with Jquery, Ajax

Hello Friends, If you are looking to implement star rating with Ajax. Please find the below example for the same: 1) Open your HTML file and write the code below to display stars: NOTE :: I have attached the primary key with div-id(tutoria...

How to declare Sets in Swift

Hi Readers! Let us first understand what Sets means. Sets A set stores unique values of same type in a collection with no ordering. Sets should be used when there is no defined order, such as in Array. Secondly Array can store multiple ...

How to check a class method exist?

To check if the class method exists or not we use a function method_exists() in PHP. It check that the class method exist in the given object. Syntax: method_exists($object,$method); As you have seen the syntax of method_exists() above...

Differences between Functional Vs Non-Functional Testing?

HTML Tables Functional Testing Non-Functional Testing Functional testing is performed by utilizing the practical detail/specification given by the client and verifies the framework against the useful necessities/requirement...

How to add default navigation drawer activity to all the activities in android studio

Firstscreen is where naviagtiondarwer is created and in that screen there is a button as "rate card" after clicking on that button new screen opens that is new-Bid as in image Actionlbar is not having navigation drawer this is what i m not able ...

How to make validation for multiple email validation using Jquery

Hello Reader's if you have implemented multiple input for emails and you want to validate all of them using a single validation rule. By using JQuery you can make this. Lets see how to make validation:- Suppose your html page is like this:- ...

HTML BACKGROUNDS

Usually any webpage that has been created is with a white background by default unless until we provide some styling to it.like background color,background image,border-,any pattern or transparent backgrounds etc. HTML background styling ca...

What is Functional Testing?

Functional testing checks that every Function of the product/software application works in conformance with the requirement determination/specification. This testing mainly includes black box testing and it is not worried about the source code of...

How to play a video file ios

Hello Friends, Create an object of MPMoviePlayerController: MPMoviePlayerViewController *moviePlayerController; NSURL *videoUrl=[NSURL URLWithString:@"String value of your url"]; Initialize the instance of MPmoviePlayerViewControl...

Deleting Cells of tableview ios

Hello friends, To delete a cell at a particular indexpath you may use the following code: -(void)removeItemAtIndexPath:(NSIndexPath *)indexPath{ [(name of table) beginUpdates]; // I am assuming that you're just using a plain NSMut...

How to create Login Screen

In the below example I have created login page layout. Here I have used first Main LinearLayout all attributes design with in Main LinearLayout. Then I have used ScollView for scrolling page up and down and all attributes like Logo image, textvie...

assign custom mail template using xml in magento

We can assign the custom email template for mailing in magento. For this we have template tag in xml file. Here I am assigning new email template for requesting quote in contact us form. Below are the steps you can perform to assign custom email ...

Retrofit Tutorial

Here is a new simple and easy option for making network requests. In comparison to volley this one is bit fast following is the test result that depicts the same. This awesome library is Retrofit multiple versions are available as th...

How to write forward SQL query in cakephp2.x

We might be familiar with the cakephp simple feature which allows us to retrieve and save data in database using find() and save() functions respectively. But there is an another way of writing forward SQL queries in cakephp through which we c...
1 149 292