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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

582


What is the architecture of your project? Can any one answer for this question plz........

1412


What is quicktest professional (qtp window?

592


Can any body please tell me the steps of keyword driven framework of QTP.

1567


How can I check if a environment variable exist or not?

539






Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

656


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1421


how to evalute defects in QTP script?

1488


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1630


How would you export a script from one pc to another in qtp?

662


when will you do debug your script? and explain that process?

1453


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1644


How to use actions in qtp ?

589


Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri

1405


What is 'sleep' in sync point?

624