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
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
What is the architecture of your project? Can any one answer for this question plz........
What is quicktest professional (qtp window?
Can any body please tell me the steps of keyword driven framework of QTP.
How can I check if a environment variable exist or not?
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?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
how to evalute defects in QTP script?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
How would you export a script from one pc to another in qtp?
when will you do debug your script? and explain that process?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
How to use actions in qtp ?
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
What is 'sleep' in sync point?