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...
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('...
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...
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...
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:
...
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...
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...
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,...
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:- 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 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...
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....
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...
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 :- 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++?
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 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...
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...
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() 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...
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...
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...
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...
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();
...
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 ...
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&...
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 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...
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...
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...
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...
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...
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....
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
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 ...
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...
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...
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 ...
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...
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...
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 ...
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:-
...
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...
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...
Hello Friends,
Create an object of MPMoviePlayerController:
MPMoviePlayerViewController *moviePlayerController;
NSURL *videoUrl=[NSURL URLWithString:@"String value of your url"];
Initialize the instance of MPmoviePlayerViewControl...
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...
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...
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 ...
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...
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...