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 are the advantages of a Hybrid framework?
How to open a new test using quicktest professional?
What are the various automation frameworks available in qtp?
explain structured testing? plz guys with exp. do answer
What are the key points to create a framework in QTP for oracle forms?
What is qtp window?
What are private functions in QTP? How they can be called from the function library?
Where can I find and view run-time data table?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
What is quicktest professional (qtp window?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
What is the use of text output value in quicktest professional?
What are the different types of action?
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all