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

What are benefits of qtp?

587


What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????

1723


What are the flaws in water fall model and how to overcome it?

564


how u will evaluate the tool for test automation?

1370


What is the parameterization? Give one example?

596






hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2441


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

1634


Explain the benefits of quick test pro(qtp)?

573


Describe function procedure in vbscript.

555


How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one

1602


How software automation specialist enter steps in the Expert View?

1678


what is the difference between development and testing

2394


In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?

1510


What is checking bitmaps?

556


Can the user toggle between using Local OR and shared OR for the same action?

564