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

you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1487


What is quicktest professional (qtp window?

579


Explain the concept of object repository and how quicktest professional recognises objects?

546


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

2997


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1392






terminal services client

1776


i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?

1490


Explain the concept of object repository and how QTP recognizes objects?

540


Explain types of descriptive programming?

578


Have you done batch testing in qtp? If yes how you are doing?

495


how to know no.of mails in our g mail by using vb-script

1768


How to use checkpoints in qtp ?

571


Did the scripts need lot of maintenance? If yes, why?

3285


What is action split and the purpose of using this in qtp?

526


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

2962