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 to copy from one script to another script in qtp
What is the main difference between function and sub-procedure?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
How to write VB Script for selecting a particular row in a WebTable?
in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my documet how can i get that in datatable using vb script
What are the advantages of vbscript?
Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Thanks in Advance.
write a vb script to display ***** ***** ***** ***** *****
i created script for login in QTP,i parametirized that using global sheet,problem i am facing is first i want to login with first values provided in excelsheet and want to perform some operation,second time if call same action it should login with second values in excelsheet
How can the spaces from the string be removed?
I have a webtable and many objects are embedded in side.(like buttons,checkboxes etc). How to know how many such objects are there? what is the class of that objects?
write a Vb script to find a whther a selected drive exits.