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 are the check points can be inserted without recording?
What are the trigger events in qtp?
How to handle Run-time errors?
What is RTM (require ment tracebulity marix) fromate?
Hi,The question is write a script for the following scenario. scenario:in a job portal i entered QTP 3yrs testing then click search button.then it displays results like Test lead bangalore (here is a checkbox). Test lead hyderabad check box so on... question is if test lead position in bangalore then checkbox shld be enabled automatically..
4 Answers Thatavarti Technologies,
does automation replace manual testing?
If 3 browsers are opened in our system, how to enter the facebook url into second browser by using descriptive programing
Please let know the scripts for counting number of repeated letters in the word. Note repeated letter should not be count agian. Ex: If "Hello" is my word... l is coming twice.. it should count once and print... secong 'l' should not count again..
How do you send email with attachment from outlook using qtp ?
how to test Web application using QTP software
What are the types of Object Repositories in QTP?
How do you learn the object in QTP?