Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / bharathi

Fail.

Is This Answer Correct ?    8 Yes 2 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / meghana

Fail

Is This Answer Correct ?    6 Yes 2 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / rentalavdml

I dont think it would fail.QTP fisrt checks for mandatory
properties,after that assistve and finally goes for ordinal
identifier.Here in this scenario we can recognise the
object by name itself so no point of index.

Is This Answer Correct ?    6 Yes 3 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

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

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / gopal reddy

It will pass because the QTP would use its SMART
IDENTIFICATION if it is enabled by you otherwise it will
fail...

Is This Answer Correct ?    1 Yes 0 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / deepakm82

It will pass because the QTP would use its SMART
IDENTIFICATION if it is enabled by you otherwise it will
fail...

Is This Answer Correct ?    2 Yes 2 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / vinod

Pass

Is This Answer Correct ?    1 Yes 2 No

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

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

I have a WebEdit Object.It is added in object repository.It has two properties Name and Index.In t..

Answer / venkat reddy

I will Fail
to handle that scenario u have to use regular expressons

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More QTP Interview Questions

How to do Batch run in qtp? provide the steps?

5 Answers  


What is recovery scenario in qtp?

0 Answers  


I have the script like this: Browser("Philips Web Login").Page("Philips CL DMS2 Application").Frame("ScopeFrame").Link("DC3701737 (Active)").Click in which the value "DC3701737" will get changed and i have to use the same value in so many places. If i want to get that value "DC3701737" in to a variable, how? pls let me know if you didn't get the question. Help me out in this.

2 Answers  


What are the features and benefits of quick test pro (qtp 8.0)?

0 Answers  


What is the latest version in QTP?

55 Answers   Bharti, Polaris, US Technology,


what are the principles of good testing scripts for automation?

1 Answers  


How many function you use in your application?

2 Answers   Polaris,


Is it possible to change the values of analog recording?

0 Answers  


How many tabs are available to view your test in a test pane and what are they?

0 Answers  


HI, Anybody can explain Automation Test Framework...and wht do we do before start of Automation.....

5 Answers   Polaris, Siemens,


What are the different recording modes?

0 Answers  


How can i parameterize the standard checkpoint using Excel sheet where my expected values are there?? suppose i want to test a application with diffent value and want to run 5 iteration?? for each iteration, values will be exported from excel sheet as input. Now i will store some expected values in the excel sheet, which i want to check in the application whether expected equals to actual value??? can any one help me

1 Answers   CSC,


Categories