<apex:outputtext value=”Amount” id=”amntId”/>
<span id Read more…
Heroku is an all-in-one cloud based platform which allows software developers to develop and host applications over Heroku cloud. The company was setup in June 2007 which initially supported Ruby programming language. Later on, support for other programming languages such as Node.js, Java, PHP, Python, Scala, Go Read more…
What is Transition Delay?
Transition delay specifies the amount of time for the change to take place in css properties of DOM elements. Transition Delay value is defined in seconds (s) or milliseconds(ms).
How to implement Transition Delay in CSS Read more…
Bootstrap has lots of other things apart from grid system such as:
1. Glyphicons: Bootstrap has inbuilt icons which we can use by icon’s class name.
For Example: “glyphicon-search” will create search icon without using any external image. So Read more…
Salesforce login via PHP Salesforce Toolkit API may throw this exception:
Please use TLS 1.1 or higher when connecting to Salesforce using https
The reason is Salesforce has provided customers with the Critical Update feature Require TLS 1.1 or higher for HTTPS to maintain high Security. If you Read more…
Retrieving users’ data from Moodle using External Java Application
We can write a basic REST moodle client code using Java to fetch users’ records from moodle. Before writing the code, you need to perform below steps in Moodle which are required in order to fetch the data:
1. Create external Read more…
In this post I will give an example of a Selenium script to count the number of products displayed on a web page. This is the screenshot of webpage:
As you can see products are displayed row wise with 4 products in 1 row. On scrolling down there are many Read more…
Let’s consider, we have a demo Restful service (created in Java Spring here but you can create in any language) to login user which accepts username and password as input and returns Success/Failure in response.
Request Object : Demo Login Request class :
Response Object :
Here is how to call Read more…
Description : You have Fillable PDF on which you have button “Save Entered Data”. On button you want post the form data to php file.
Follow these steps :
1. Open Form with Adobe Acrobat Pro. Goto–>Tools.
2. From Tools, Go to Tools–>Rich Media.
3. Click on Select Object Read more…
See the screenshot below :
Line no 7 and 8 indicate problems due to no word wrapping
<table id=”dg” title=”Activity Info” class=”easyui-datagrid” style=”width:100%;height:81%”
toolbar=”#toolbar #searchtoobar” nowrap=”false”
rownumbers=”true” fitColumns Read more…
Steps to write script in Adobe Acrobat Pro
1. In Adobe Acrobat Pro, open Tools panel on the right, and search for Action wizard.
2. Double click on Action Wizard to open it. Click on New Action Wizard. It will open a new window. Click on More tools label and Read more…
How to connect to Mysql in Selenium script?
Step 1: Import Mysql connector (JDBC driver):
Download connector from:
Download this jar file and import in Eclipse : MySQL-connector-java-5.1.18-bin.jar
Follow these steps in Eclipse:
Add the downloaded Jar to your Read more…
Suppose from html code below we want to get id of each <a> element inside home_menu.
<ul id=”home_menu” class=”appendmenu” style=”float: left”>
<span class=”arrow sep”>►</span>
<a id=”breadcrumb_mainc3″ style=”cursor:pointer;color:#087bb1;”>Programming Read more…
Suppose on click of an element we want to change the form action URL. In this example, we are assuming a textbox in which user will type a value and then click search magnifying glass icon. On click of search icon we want to check if textbox is empty or Read more…
Authentication/Login to Netsuite sandbox account through java code using Netsuite WSDL
In order to login to your sandbox Netsuite sandbox account via code, you need to have below files handy:
1. Netsuite sandbox WSDL:
The latest version of wsdl can be downloaded from Netsuite site’s developers Read more…
2. Remote apex method contains an annotation @RemoteAction.
Example of Read more…
In jQuery line-control editor, values written inside writing space (div) do not get posted to the server by default. This is because although we create textarea while coding, at run time a DIV is created in which user writes. Editor.editor is the Id of div at runtime. On Read more…
Maven provides apache cxf plugin to generate web service client.
We have used below code in our pom.xml file to generate java artifact classes (web service client).
There are two ways to generate client code:
Using complete WSDL URL
Using WSDL artifact
1. Using complete WSDL URL Read more…
ERROR: Invalid email address or account number error on NetSuite, but passed correct credentials.
Need to authenticate NetSuite sandbox account through java application and fetch all the contacts. Below is the link to the WSDL file used to log in:
But on attempting the login with Read more…