what is the syntax for regular expression in QTP?
how to create user defined functions in QTP?
Answer Posted / naren
RE enables us to find objects and Text strings with varying
values
Dim re As New RegExp
Dim ma As Match
re.Pattern = "[A-Z][0-9][0-9][0-9]" ' uppercase char
followed by 2 digits
re.IgnoreCase = False ' case sensitive search
re.Global = True ' find all the
occurrences
For Each ma In re.Execute(txtSource.Text)
Msgbox "Found '" & ma.Value & "' at index " & ma.FirstIndex
Next
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What contains Data Driven Framework document in qtp?
In qtp is it possible to check broken links of a page?
What are the challenges u faced in testing with crm domain? How u overcome with?
Does QTP run in any environment?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
What is the significance of “action 0” in qtp?
Whether qtp 9.0 supports Test director8.0
How to creating an output value using quicktest professional?
Explain process of smart Identification in QTP?
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
Explain the types of properties that quick test learns while recording?
What is TOM in QTP?
We stored into the objects OR and then write the scripting