
Loading ...
HTML and XML are very common entities in the testing/automation world. At time we are required to convert the HTML/XML to a Plain text version. Example of such a conversion can be seen below
<HTML><BODY><FONT color="red">Click on the Login link</FONT></BODY></HTML>
The converted text for about HTML would be “Click on the Login link”. One example of such [...]
Register or Login to read the full article...Have questions related to this article? Want to request a new article? Use our forums to post your questions
Viewed 366 times
Tags used -
Convert, HTML, Plain, Strip, text, XML

Loading ...
Strings in VBScript are represented by enclosing the string inside starting and ending double quotes as shown below
strText = “Tarun Lalwani”
But to represent “Tarun Lalwani” (including the quotes) below code won’t work because of the syntax error
strText = “”Tarun Lalwani””
The issue with above code is that first pair of “” marks the end of the [...]
Register or Login to read the full article...Have questions related to this article? Want to request a new article? Use our forums to post your questions
Viewed 1,580 times
Tags used -
ASCII, character, Chr, double quotes, escape, quote, quotes, single quotes, String, syntax error

Loading ...
Strings are widely used in VBScript to pass information. This information might contain static and/or dynamic data.
Ex - a data base connection string “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Data.xls;Extended Properties=””Excel 8.0;HDR=Yes;IMEX=1″”;”
In the above string dynamic data is the excel file name “C:\Data.xls”. This article will show various ways to do the parameterization of this value.
The wrong way to do [...]
Register or Login to read the full article...Have questions related to this article? Want to request a new article? Use our forums to post your questions
Viewed 850 times
Tags used -
Data, Dictionary, Dynamic, Param, parameter, parameterization, Params, Replace, String, Value