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

I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

625


When do go for loop condition in test?

661


what is the diffrence bw qtp architectute and qtp framework?

1548


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

1487


How can you pass value one action to another action?

561






How to associate function library at a run time?

713


What is different command used in command Prompt while using QTP?

1756


How to capture all the data of a webtable, weblist and combolist using QTP?

2864


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1453


How to analyzing test results using quicktest professional?

583


breef description of batch testing ?

1715


explain abt dyanamic changing object with example?

1909


How you calling actions in qtp?

637


How can get count of list box?

649


wht type of User defined functions or Java Releated functions Do we write in VB scripting

1386