What is use of regular expression in qtp ?

Showing Answers 1 - 6 of 6 Answers

srikanth kolli

  • Sep 5th, 2006
 

Hi.

The Use Of Regular Expressions In qtp Is

Regular expressions enable QuickTest to identify objects and text strings with varying values. You can use regular expressions when:

  • defining the property values of an object in dialog boxes or in programmatic descriptions
  • parameterizing a step
  • creating checkpoints with varying values

For example, you can use a regular expression if you want to create a text checkpoint on a date text string, but the displayed date changes according to the current date. If you define the date as a regular expression, the checkpoint checks that the captured text string matches the expected date format, rather than checking the exact date value.

You can use regular expressions only for values of type string.

Thanks

Srikanth

venki

  • Sep 12th, 2006
 

what is disadvantages of Shared Object Repositary

  Was this answer useful?  Yes

swarna

  • Sep 20th, 2006
 

disadvantage of shared or is,if data correcpts then entire data correcpts because it is shared it have data about entire application.To avoid this take backup everyday.

Thanks,

  Was this answer useful?  Yes

Jitesh

  • Sep 22nd, 2006
 

When Application has a Huge no. of objects then it increases the no. of objects in shared repositories, this thing also matters in some softwares

  Was this answer useful?  Yes

ravi

  • Jan 22nd, 2007
 

It is used to identify "objects"& "textstrings"  with varying values

  Was this answer useful?  Yes

shrinivasbt

  • Sep 21st, 2009
 

Regular expressions are Special characters and sequences  which are used identify the dynamic test objects on AUT

These are mainly used in

1. Defining property values of an object in dialog boxes or programmatic description
2. parameterizing step
3. creating check points with varying values

Thanks
shrinivasbt

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions