I have a WebEdit Object.It is added in object repository.It
has two properties Name and Index.In the next release the
Name Property is same but the index property is
changed.when i run the script will the script Pass or Fail

Answers were Sorted based on User's Feedback



I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / bharathi

Fail.

Is This Answer Correct ?    8 Yes 2 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / meghana

Fail

Is This Answer Correct ?    6 Yes 2 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / rentalavdml

I dont think it would fail.QTP fisrt checks for mandatory
properties,after that assistve and finally goes for ordinal
identifier.Here in this scenario we can recognise the
object by name itself so no point of index.

Is This Answer Correct ?    6 Yes 3 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / kishan

Name is usually under Mandatory Property of a webEdit Element.

Eventhough the Index property changes, as QTP Intially Use
the Mandatory Property(name)to identify the object,

case 1:
*******
if that name property is unique in that webPage then QTp
will definetly identify that webEdit object without any fialure.

(I have checked it even by making smart identification false
+ Index property : changing(1 to 12). still QTP is able to
identify the object properly w/o any issues.)

case 2:
******
If web page has 2 objects with same properties then we
should use index property. This time script will fail if we
dont specify correct index value.

Is This Answer Correct ?    2 Yes 0 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / gopal reddy

It will pass because the QTP would use its SMART
IDENTIFICATION if it is enabled by you otherwise it will
fail...

Is This Answer Correct ?    1 Yes 0 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / deepakm82

It will pass because the QTP would use its SMART
IDENTIFICATION if it is enabled by you otherwise it will
fail...

Is This Answer Correct ?    2 Yes 2 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / vinod

Pass

Is This Answer Correct ?    1 Yes 2 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / sureshsinghbhandari

It will Pass.

Reason-
For WebEdit the Mandatory properties are
html tag,
name and
type

If these are same then on Runtime the QTP will recognise the
object by these (in our case "name" prop) and Script will pass.


Note-
QTP Learns the Properties in the Following Sequence
1. First of all QTP learns the complete list of mandatory properties and then it will check whether these properties are sufficient for identifying the objects uniquely.
2. If it sufficient it will stop learning otherwise it will learn the first assistive properties and then it will once again check whether these properties are sufficient are identifying the object uniquely.
3. If it feels not sufficient then it will learn the second assistive properties once again it will check whether these properties are sufficient if it feels not sufficient the above processor continue till the QTP feels satisfied or up to the end of the assistive properties list.
4. If it is still feels not sufficient then it will learn the ordinal identifier.

Is This Answer Correct ?    0 Yes 1 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / venkat reddy

I will Fail
to handle that scenario u have to use regular expressons

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More QTP Interview Questions

How is recording done when a application is over lapping the QTP application it gives a message object not recorded

0 Answers  


how much space occupies in object respository by default?

5 Answers   VSoft,


I have a tool for automation testing (eg:qtp).I have two functionality(A & B) to test.A is tested once in a year. B is tested everyday. At present i have the money and resource availability to automate only one functionality.Which one will u suggest and why?

3 Answers   Wipro,


what is the difference between data table and spread sheet?

1 Answers  


what is the structure for the data driven framework

0 Answers   Wipro,






How is UFT 11.5 version different from UFT 12.0?

0 Answers  


h to all plz send me the answer if any one knows about this....i want the java add-ins for the QTP to do my project which is developed under the java platform.

2 Answers   Four soft,


hi in QTP 8.2 in the edit box has text like "raju want married" . i want to check "want" is their in the text or not ?

16 Answers   Syntel,


what is the difference between development and testing

1 Answers  


I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You

0 Answers   IBM,


what is difference betweein qtp 9.0 and 9.2

1 Answers  


What is difference between design time and run time data table?

0 Answers  


Categories