How do you find out whether the string is Numeric or Alpha
numenric.Suppose..'QTP is an automation testing tool 12345'
How should I know it is alphanumeric.Can any one please
write the code for this
Answer Posted / a.thirumalareddy@gmail.com
use this function it will help u..
Function IsAlphaNumeric()
If IsNull(str) Then str = "QTP is an automation testing tool 12345"
Dim ianRegEx
Set ianRegEx = New RegExp
ianRegEx.Pattern = "[^a-z0-9]"
ianRegEx.Global = True
ianRegEx.IgnoreCase = True
IsAlphaNumeric = (str = ianRegEx.Replace(str,"QTP is an automation testing tool 12345"))
msgbox IsAlphaNumeric
End Function
call IsAlphaNumeric()
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the XML file architecture ?
If I change the object name in one action will it be updated in all the actions? Or not?
Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)
In Remote acess server how u run a test?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
How to use descriptive programming?
Explain the checkpoint in qtp?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
how to evalute defects in QTP script?
Hi,All How to create a link in excel sheet using qtp
How many types of parameters are available in quicktest professional?
What is difference in global and action sheet in qtp?
explain structured testing? plz guys with exp. do answer
How you can replace string in qtp?