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

can we call a test in another test? how? explain with one example?

1 Answers   iFocus,


Hi All. Can you please explaing what is checkpoint? How it Will Work? what is meaning of "check checkpoint ("proprtname").how it will compate with expected value? Thanks in Advance............... Lakshmi

3 Answers   ITC Infotech, TCS,


How to capture screen shots when an error occurs?

5 Answers   EDS,


interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervier not happy with this also? can u post any other answer?

3 Answers   Accenture,


how will b the questions if we keep one QTP project in CV.please tell me iam attending an interview.

3 Answers   IBM, Questacon,






How can I replace all the text from the QTP script with some other text.

1 Answers   Livetek,


what is meant by Implicit and explicit requirements?

0 Answers  


Write the vb script for the lowest and highest values of an array?

1 Answers   Manhattan,


In QTP, Which are the concepts are needed to do Functional testing and Regression testing?

3 Answers   IBM,


I am in need of some set of QTP FAQ @ interview. Also recently in one of interview portal they asked me how you write the script for Login application which it is web -based and using Descriptive Programming? Without associating the shared object repository?Please i do need this answer very soon? Please respond me soon @ vaisu72@yahoo.com

2 Answers  


What is the difference between CVS and VSS? Are you store QTP SCRIPT In VSS OR CVS? Where you store QTP Script?

1 Answers   Brain Roots, Ordain Solutions,


Explain about Test Fusion Report of QTP?

0 Answers  


Categories