write is the code for regular expression in QTP
Answer Posted / raj
'Prepare a regular expression object
Set myRegExp = New RegExp
myRegExp.IgnoreCase = True
myRegExp.Global = True
myRegExp.Pattern = "regex"
Pop up a message box for each match
Set myMatches = myRegExp.Execute(subjectString)
For Each myMatch in myMatches
msgbox myMatch.Value, 0, "Found Match"
Next
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is a Patch in QTP?
How many types of recording modes are there?
How do you delete unwanted results in qtp?
What is test object?
What is qtpro?
How to data driven test for Win objects in QTP ?
What is ‘object spy’ and what is the function of object spy in qtp?
What is ObjectParamater?
What ate the Technologies supported by QTP?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
How you debug your script?
What is the diff between image and bitmap check point?
How to define array in qtp?
What are table and db checkpoints?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com