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
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
How do you capture tooltip using QTP?
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
Did the scripts need lot of maintenance? If yes, why?
Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.
Explain data driven framework?
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
whare exactly we have to use functions and sub routain
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
after click on compose mail how can we attached a file in qtp with vbscript code
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
What is meant by Output Value in UFT?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!