write is the code for regular expression in QTP
Answers were Sorted based on User's Feedback
Answer / 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 |
what is Smart identification
Explain about Table and DB Checkpoints?
WHY U CHOOSE TESTING FIELD?
how to associate object repository during runtime in qtp
How to find duplicates in an array and remove them efficiently?
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
what are the drawbacks for record and payback in qtp
With out using the task manager,how to close the application using vbscript and what is the statement?
Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?
Can you write a script for to insert array elements in an excel A to Z columns only. if the number oe elements in the array is greater than the number of columns (A to Z), come to next row and proceed furthur. eah cell should contain only one array value.
In QTP, Give the difference of Global sheet and Local sheet in datatable?
At a time how many users can access QTP?