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 |
How to change the run-time value of a property for an object?
tell me types of environment variables? what r they? explain details? pls give anwer any one?
How to execute a WinRunner Script in QTP?
How to record application running on the Virtual machine?
How many actions we can write in a test?
What is Object Spy?
I am in need of some set of QTP FAQ @ interview. Also recently in one of interview portal they asked me how you write the script for Login application which it is web -based and using Descriptive Programming? Without associating the shared object repository?Please i do need this answer very soon? Please respond me soon @ vaisu72@yahoo.com
Plz someone tell me about user interface testing and backend testing and hw did u use it in ur project.plz give a detail answer i need to explain it to the interviewer. plzzzzzzzzz guys its urgent
Explain the checkpoint in qtp?
who is the best faculty in Hyderabad for QTP?
from what stage you will start automation in your project
How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2.