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

What is difference in global and action sheet in qtp?

816


Can we run multiple QTP scripts one after the other without manual intervention? How?

779


what are the limitations of smart identification in qtp 9.0

2109


Tell some commonly used Excel VBA functions?

797


Explain how you can delete excel file in qtp?

792


What is file database?

1862


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1609


What is the difference between the keyword view and expert view?

715


Explain the types of object repositorys in qtp?

769


what is command for executing files?

1704


With what extension you can save the list of tests in a file to run in test batch runner?

748


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2132


How you can decide which type of object repository you have to use?

901


Explain the types of properties that quick test learns while recording?

767


Explain the checkpoint in qtp?

829