can anybody tell vb script code for alphanumeric and special
character .which is used in qtp the name text field.
Answer / pravati
x="pravati.001@gmail@.com"
For i = 1 To len(x)
y=mid(x,i,1)
If isnumeric(y) Then
z=z&y
elseif asc(y)>=97 and asc(y)<=122 then
a=a&y
End If
Next
msgbox z
msgbox a
Is This Answer Correct ? | 0 Yes | 0 No |
How are values assigned to the variables in the vbscript language?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
. Program for sorting of numbers in vb script?
how to add action through AOM in QTP
* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?
i have developed the below QTP script to count the no of items available in the web list "Select a product" in www.bankrate.com and also want to print what are the items??? can any one help me to rectify the below script??? SystemUtil.Run "iexplore.exe","www.bankrate.com" a=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetTOProperty("items count") msgbox a Dim List() ReDim List(a-1) For i = 1 To a List(i-1)=Browser("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").page ("title:=Mortgage Rates Credit Cards Refinance Home CD Rates by Bankrate.com").Weblist("name:=select").GetItem(i) Print List(i-1) Next
Input = 124 output should be 124421 Please do not use any string functions/variables
What is the use of the formatdatetime function in the vbscript language?
How to open excel in vb script?
What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?
we executed QTP scripts in one browser(i.e IN)same scripts is working on another browsers or not (i.e mean netscap,m azol..like )
Explain about scrrun.dll?