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 strcomp function works?
How can you create a file object to work with the files in the vbscript language?
How will you get a random number between 0 and 1 in vbscript?
write a vb script to find simple interest using functions
What is the purpose of the err object in the vbscript language?
Explain How do you create a recordset object in vbscript?
What is purpose of scripting.filesystemobject class in vbscript?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
How can I access an object in another frame?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Write a Script for ATM in QTP