What Is Test Harness ?
Test Harness is also recognized as automated test framework. This test framework is generally utilized by the programmers or developers.Test harness supplies drivers and stubs to the developers. Developers utilized these...
Kettle Database Repository: while using Database repository, all the information regarding jobs and transformation is stored in Database, which is the store of ETL metadata.
You have to provide appropriate credential of database, and create a ...
Hello friend's
If you want to create a Call State function in Android see the below code example. Here I have used TelephonyManger method to get the information of call state And I have used PhoneStateListener. In AndroidManifest.xml I have a...
Many times the application screen has to be rotated to automate any testcase. Most of the applications opens in portrait mode and if there we have to verify something in landscape mode then we cannot rotate the screen manually in the middle to an...
Hello Everyone, I am here to teach you how to remove parent theme menu in child theme wordpress.
The below code is in your parent theme for register the menu.
add_action( 'after_setup_theme', 'register_themename_menu' );
function registe...
There are four main components of Pentaho Data Integration tool:
1: SPOON
2: PAN
3: KITCHEN
4: CARTE
SPOON
It is a graphical design interface for buildings ETL jobs and transformation.
It provide a way to create complex ETL j...
Php functions that starts with double underscore are called magic methods.These functions are not stand alone functions and are defined inside class. Php will call these functions from background means behind the scenes. It is not directly called...
Create UIView as UIView *myroundView; or watever name suits u...
Allocate it itz memory as well as its frame & its diameter as-
myroundView = [[UIView alloc]initWithFrame:CGRectMake(40, 18, 15, 15)];
[self setRoundedView:myroundVie...
Hello Readers,
If you want a concert a video file from one a define format to other format, you should to use following command:
ffmpeg -i INPUTVIDEONAME -c:v libx264 -profile:v baseline -c:a aac -strict experimental -ar 44100 -ac 2...
__construct
The constructor is a magic method, which is immidately initated after declare the object of class and you can write the __construct method at any place in the class.
Right here all of us have a case in point during which, develo...
Hello readers, In this blog I will teach you how to remove custom post type and taxonomies.
The below code is the custom taxonomies of the parent theme inside the functions.php
add_action( 'after_setup_theme', 'parent_gallery_add_post_typ...
If we have a function and we want to return multiple values from that function then we can easily return an array from function.Below is the example which returns a multiple array from function.
function myFunc( ) {
$myvar1 = 10;
$myvar2 =...
Hello Readers,
each() is the jquery function and it is used to iterate over jquery matched object list.
each() is a traversing method which works only jquery objects.
syntax :
$(selector).each(function(index,element))
Parameters :
...
PHP functions that start with a double underscore __ , are called magic functions in PHP.
__construct()
__destruct()
__call() __callStatic() __get() __set() __isset() __unset() __sleep() __wakeup() __toString() __invoke() __set_state() __...
If you want to calculate the number of days between two dates, you need to make a function,pass the dates and use getTime() function.
Below is the example code :
function GetNoDays(date1, date2) {
var daysIndates = date1.getTime() - ...
If you have a requirement to search data in Base Object, you can use SearchQueryRequest SIF API for same. Following example illustrate fetching first name of employee using employee id.
SearchQueryRequest request = new SearchQueryRequest();
r...
JavaScript String substring() method : The substring() method is used to extract the sub string between two points. It returns the new substring. If start point is greater than end point then it swaps automatically these points, means substring(4...
Step-1 Go to Apps and install the Mercury Payment Services application module.
Step-2 Go to Pint Of Sale Menu and click it .
Step-3 Go to the Point of Sale application, click on Configuration ->Mercury Configurations and th...
Following example illustrate how you can Generate Match Token for ALL records in Base Object using SIF API:
ExecuteBatchGenerateMatchTokensRequest req = new ExecuteBatchGenerateMatchTokensRequest();
req.setTableName("MY_BASE_OBJECT"); //...
Hello Readers,
If you want to break a large video into the two or more smaller clips without using re-encoding, just now ffmpeg can help you for the same.
Most of the hosting servers only provides for a certain dimensions regarding ...
Script File in Android
While building android application we have situations where we want to post data onto the server. Sometimes we need response from the server and based on that response action will be performed.
For doing that we will ...
As the term "Lookup" itself defines, you are finding something(looking for).
Basically, lookup is applied in FK's column to load the data in BO. It act a key to Load the data between two BO.
Consider an example:
You have two BO Postal Ad...
What Is Fault injection Testing ?
Fault injection testing is an software testing approach, in which by tester initiate or introduce defects or mistakes into the coding section for elaborating the covering or scope. Fault injection testing, nor...
To send an e-mail:
Step1: Create a Job.
Step2: From Design menu, drag and drop Mail in your Job.
Step3: Right Click, Edit the Mail and set up Address, Server, Email Message, Attached File(if any).
Step4: Exec...
by placing and removing semicolon(;) in front of line we enable and disable regions in theme .info file
REGIONS - ENABLED
regions[page_top] = Page Top
regions[header] = Header
regions[highlighted] = Highlighted
REGIONS - DISABLED
...
Drupal Theme Metadata
Writing a .info file is the first step when we create a Drupal theme, .info files contain important metadata about the theme, such as the list mentioned below.
name /*required*/
name = A firt th...
Drupal Views Related Top 10 Modules
Views Bulk Operations (VBO)
Allow bulk operations to be run on the displayed rows
Views Table Highlighter
Aloow to highlight certain views table rows based on PHP code
Better...
Many a times we got stuck in a case or situation where we have to pass JavaScript variables to PHP using a hidden input in a form. The solution for this situation is:
Solution:We cannot pass variable values from the current page javascript...
To attach a transformation log in Mail:
Step1: Right Click, edit the Transformation.
Step2: Go to Logging Settings.
Step3: Enable Specify Logfile, and provide the name and extension of file as below:
Step4: Go to Mail, edit the ...
Hello reader's, in this blog I discussed ablout "How to Modify(Remove) Parent Theme feature Within Child Theme".
We all know that parent theme and child theme follow inheritance.
The basic meaning of Inheritance is, child theme get the proper...
Hello Readers,
If we want to fetch or return the all sibling elements of the selected or matched elements then we use the .siblings() method in jQuery.
It is the elements that belong to the same parent.
Syntax :
selector.siblings( [se...
I am facing troubles with using short-cut keys in Google docs that I never faced in MS Word. For example, one can use Shift+F3 to make initials of words in a sentence either capital or small. Could somebody help me with all short-cut keys availab...
Welcome to FindNerd. We are going to discuss the finally block in php. We use it with Exception handling. Are you familiar with exception if not then check our
exception based blog Exception concept for help. finally block run always whenever co...
Hello Readers,
Jquery filter is one of the jquery method. It is used to returns the elements that match the certain values from the object list.
Syntax :
selector.filter( selector )
Parameters :
selector
Below is the Code Ex...
To exclude a record(s) completely remove from Match and Merge process, regardless of any source system, using Informatica MDM.
Step 1: Add a not nuable column is BO as EXCLUDE_FROM_MATCH, with type integer and a default value 0.
Step 2: Set t...
Date play an important role in any project. We have to change date format according to our need. If we are using PHP 5.2 and lower then for changing date format we have to parse the elements (year, month, day, hour, minute, second) manually using...
Welcome to findnerd, today we are going to discuss to join in MySQL.
Firstly let know what is join ?
An SQL JOIN clause is used to combining two or more tables and return output in single table.
So in simple word we can say that MySQL ...
What Is Installation and Uninstall Testing ?
In the software testing installation and uninstallation testing approaches are also very important.
Installation Testing:- Installation testing is executed to confirm if the application has been ...
Welcome to findnerd, today we are going to discuss How to redirect html page using jQuery ?
In this blog you can see How to redirect html page ?
You can simply use the JavaScript "window.location" property to make a page redirect.
you c...
Welcome to FindNerd. We are going to discuss the Exception,what is it and how we can use it in php? First question araised that what is Exception? Exception is nothing but a runtime error. It depends totally upon the values passing at run time.
...
RTO mainly means Request Time Out
It occurs when we send request to the server and it does not give response. But it does not mean that we dont have internet connectivity sometimes RTO occurs because of delay by the responding server.
So R...
Follow the below steps in order to use the linkedin API.
Go to the Apps page at LinkedIn
Developer Network and login with
your LinkedIn account credentials
https://www.linkedin.com/secure/developer
Click on the Add New Application
link...
By using executeBatchDelete api you can clean the records in BO and its child BO.
Sample SOAP request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:siperian.api">
<soapenv:Header/&g...
Use the Array objects sort method:
var fruitArray = ['strawberry','apple','orange','banana','lime'];
alert(fruitArray.sort()); // returns apple,banana,lime,orange,strawberry
The Array objects sort method sorts the array elements alphabetic...
Schema or Structure can be defined in SQL
A schema is a collection of logical structures of data objects. A schema is associated with a database user and has the same name as that user. Each user have a single schema. Schema is mainly collecti...
Cookies are basically small text files that is stored in browser and it is use for tracking purpose.
Cookies are also use for remember me functionalities.
Setting Cookies with PHP
setcookie(name, value, expire, path, domain, security);
...
In cakephp framework there is a way which features pagination easily on your web page.
This can be done as :
Controller Code :
public $components = array('Paginator','Flash');
public function index() {
$this->paginat...