somebody please say me why we go for using regular
expressions,actions.what is the main and exact use of this
in real time applications.real time testers pls answer my
question with example if u can

Answers were Sorted based on User's Feedback



somebody please say me why we go for using regular expressions,actions.what is the main and exact ..

Answer / sri

Regular expressions will be useful when you know the object
properties are dynamic and they change frequently.

For example in aweb page you know logical name of an object
changes ,like say CompanyStocks to CompanyMf

For the same you can specify as Company.* under Logical
Name.

Is This Answer Correct ?    2 Yes 0 No

somebody please say me why we go for using regular expressions,actions.what is the main and exact ..

Answer / sks

hello ,

When you run script for today's date(20/10/2009)and you
will get the result for that particular scnerio , when you
excute the same scipt next day (21/10/2009) you may get an
errror so inorder to handle this exception we go for
regular expression .

For the same you can specify as Datefield.*

Is This Answer Correct ?    1 Yes 0 No

somebody please say me why we go for using regular expressions,actions.what is the main and exact ..

Answer / shankar.majji

When an object in our application changes its state or
value then we can use Regular Expressions.

Is This Answer Correct ?    0 Yes 0 No

somebody please say me why we go for using regular expressions,actions.what is the main and exact ..

Answer / akshar jain

say the name of the browser is "create fill in the blanks" &
another browser name is "edit fill in the blanks",but the
objects are same in both the things so u can use one object
repository for both the pages by making it regular
expression like .*fill in.*

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

If 2 gmail browsers are opened in our system, how to enter the mail id and password into second browser by using discriptive program?

7 Answers   Mphasis,


How can you close the second opened browser?

0 Answers  


Where we save all scripts in the QTP

5 Answers   Ordain Solutions, Sathya Technologies,


How to load the object repository at run time?

9 Answers   TCS,


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

0 Answers  






Please Don't mind .i want in detail the real time process i.e in each document what it contains.

0 Answers  


What are the check points can be inserted without recording?

0 Answers  


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

0 Answers  


To which environments does quicktest professional supports?

0 Answers  


what is synchronization point, synchronization method, wait property method? with examples.. plz explain this in brief

3 Answers  


what is descriptive programming?

5 Answers   Ordain Solutions,


Can I change properties of a test object?

0 Answers  


Categories