Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

3199


why text area checkpoints cannot used for web applications

2333


What is post recovery scenario?

2210


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

2067


what is description object?

2006


How many types of actions are there in quicktest professional?

940


What is the extension of the qtp local repository?

1011


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1857


What is the syntax to call one script from another?

998


How to export quicktest professional (qtp) results to an .xls file?

1111


What are the five challenges you faced in QTP?

3162


how can i pass a "cript"as a parameter in to a function

1945


How to get popup error message.

1508


How to find the path of folder in which the test is saved in qtp?

956


How do we handle run-time errors?

992