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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between call to action and copy action?

515


Explain about the quicktest professional (qtp) automation object model?

558


How to test login module with different username and password by using data driven testing in QTP?

602


What is the XML file architecture ?

1545


What is smart identification in QTP?

618






What is the meaning Work bench?

1756


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1494


What is TOM in QTP?

1802


When using descriptive programming?

630


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3046


How can you give wait up to 10 seconds in qtp?

584


How to Open FireFox using descriptive programing? If my question is not clear, i will give an Example To Open Internet Explorer, We use Set IE = CreateObject(InternetExplorer.Application) IE.Navigate "www.yahoo.com In the same i need to open yahoo.com in firefox. Can any one tell me what is the server name of firefox to create an object

2521


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

1931


What is the difference in the global and action sheet in qtp?

565


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1579