Discussion Forum

Welcome to the Discussion Forum, we encourage you to REGISTER on our forum and participate in the debate.For more details Click here

Online Advertising

Viewers now you can promote Your Websites/Blogs/Products by using our online advertising program.Using this feature you can place your Ads in my blog and can attract the people logging over here.To place your ads, just sign in my Guest Book and leave your details over there.

Sunday, March 14, 2010

Encode/Decode the String in Webload

While creating a script in webload, often we may need to decode the string that will appear in url or for the data that needs to be submitted using POST method.To encode or decode the string we can use the below two methods,
1."encodeURI()" or "encodeURIComponent()"
2."decodeURI()" or "decodeURIComponent()"

Sample Script for encodeURIComponent():
var userInputStr = "What is javascript?";
var searchStr = "?userinput=" + nextline
encodeURIComponent(userInputStr);
Sample Script for decodeURIComponent():
var userInputStr = "What is javascript?";
var searchStr = "?userinput=" + nextline
decodeURIComponent(userInputStr);


Monday, March 8, 2010

Memory Leak Testing Using Firefox

Source - Mozilla Corporation
Leak Gauge - Memory Leak Test Tool developed by David Baron

Step-1: Need to set the environment variable and works on all platforms "c:\NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5"
Step-2: To define a Leak Log, set "NSPR_LOG_FILE=c:\leak1.log"
Note: Works on Firefox 2 and Firefox 3+ Release Builds.
To analyze the result, upload the Leak Log file on,
http://mxr.mozilla.org/mozilla/source/tools/footprint/leak-gauge.html

When a Memory Leak was found the output of the Log analysis look like this:
Free advertising


Lowes Coupon
How to Blog

Free Advertising