what is the syntax for regular expression in QTP?
how to create user defined functions in QTP?

Answer Posted / uday

Regular expressions enable QuickTest to identify objects
and text strings with varying values.

You can use regular expressions when defining the
properties of an object, the methods of an argument, when
parameterizing a step, and when creating checkpoints with
varying values.

A regular expression is a string that specifies a complex
search phrase. By using special characters such as a period
(.), asterisk (*), caret (^), and brackets ([ ]), you
define the conditions of the search.

we can write the user defined in a notepad and save the
file as .vbs and we then associate that to Test-Settings-
Resources-Associate Library Files by clicking plus and
select the .vbs file. In the script we can call the
function with function name ()

Is This Answer Correct ?    10 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

1699


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

1890


Can you brief the hurdles you faced during Automation testing?

584


What is a quick test professional?

645


How do you do batch testing in wr and is it possible to do in qtp, if so explain?

513






Both static and dynamic arrays are handled by the vb script. Is it true?

572


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

2922


How to open a new test using quicktest professional?

580


Have you done batch testing in qtp? If yes how you are doing?

518


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

571


Explain the terms test and business component?

556


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

1319


What is the standard timing delay for web based application in qtp?

598


How to handle the exceptions using the recovery scenario manager in qtp?

577


What is the basic concept of quicktest professional?

546