where do you define the objects as regular expression when
u are using regular expressions.

Answer Posted / mintu

There are situations when the Objects in the applications
are dynamic(having dynamic properties) and QTP fails to
recognize them. Such objects should be handles using
regular expressions.
We can define the objects using regular expression either
in the Object repository or in the code itself.

Example: the login page says" Welcome Mintu" in one login
and "Welcome guest" in another login. here we see that
Mintu and guest are two dynamic values. this needs to be
handled using regular expressions. say "Welcome .*"
here .* refers to any text appearing in the application.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to check which add-ins are associated with a test in qtp?

835


is it possible to add sheets to excel at runtime

3622


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1729


What phases are involved in testing an application in qtp?

757


what is clean sweep?

2060


What is checkpoint in qtp?

766


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

2119


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

1584


Output values? i want a practical example

1524


What are the different types of recording modes in qtp? Which will be used when?

796


How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?

3709


What is 'sleep' in sync point?

840


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1633


Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

1600


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1792