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




Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / rahul

You can use regular expressions when :
Defining the property values of an object.
Prameterize a step.
creating checkpoints with varying values.

For example,if a window titlebar's name change according to
file name,you can use a regular expression to identify a
window whose titlebar has the specific product
name,followed by HYPHEN,and then any other text.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / devi

Regular Expressions: -
When ever the QTP is unable to identify the objects due
to the regular changes in the objects properties values
dynamically during the execution then to overcome this
problem one need to replace the corresponding property value
in the object repository with a suitable regular expression

Navigation:
• Open the object repository
• Select the desired object in the object hierarchy
• Select the desired property in the properties list
• Click on the constant value options button
• Replace the constant value with suitable regular expression
• Select the check box regular expression
• Click on ok
• Click on ok

Is This Answer Correct ?    0 Yes 0 No




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

Answer / ram polavarapu

if the object properties are changing dynamically then will
go for regular expressions
ex->inbox(19)
mails are not static so we have to use the regular expression

inbox\s\(\d*\)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer



More QTP Interview Questions

hi This is Harish.1. What is object repositery .2. what is frame works in QTP,what is keyword driven frame work,explain it and how to associate the folders.3.the build is developed in java, can we write scripting in vb .4.what is discriptive progaram,how to write it.5.what is process of QTp testing.6. how to associate the shared repository. 7.what is implicit and explicit 8.what is runtime data please replay me regards Harish

3 Answers   Syntel,


what type of automation is follwed in the project?

0 Answers   Google,


I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?

9 Answers   IBM,


hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com

0 Answers  


Output values? i want a practical example

0 Answers  






Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share with me.

3 Answers  


Give me Example for Generic Functions in QTP Framework....Anybody please answer me..Thanks in Advance

3 Answers   BirlaSoft,


What is meant by Environmental variables?2 types r there know…can u pls explain clearly?

1 Answers  


Diff. between keyword driven Data driven testing?

8 Answers   IBM, CTS,


Can u explain about QTP framework

10 Answers   ACS,


PLZ EXPLAIN HOW TO LAUNCHING QTP IN TEST DIRECTOR? Is it possible or not? If No Why we r using qtp Td Combination? plz explain briefly? What is the purpose of TD With QTP?

1 Answers   Wipro,


Hi guys, Please suggest some thing these points are correct???, Is UFT 12 and QTP outdated ??? and also VBscript is also deleted/Removed from QTP ???? Javascript is added latest and tool name is called JFT ??? From this year ??

2 Answers  






Categories