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
In qtp, explain what is qrs file?
Hi Samrat, Thank u very much, what u said it is right.
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
What are the features and benefits of quick test pro (qtp 8.0)?
How to get Traceability matrix from TD?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
What is contained in the object repository?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
what is review
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
Will down time for server and content maintenance/upgrades be allowed? how much?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
Define Environment Variable in UFT and its uses?
What is the differences between image check point and bit map check point?
What is the file extension of the code file and object repository file in QTP?