I am trying to write a descriptive program for clicking on
a perticular link.For that i wanted an index or location of
that object.But when I viewing through spy, There was no
index property of that object.What to do for getting index
value.How can I get index? please any one let me know.

Answer Posted / nagesh

index value of object is getting appeared only when more
than one object exist in the application with same property
name.

Example: suppose we have 3 list boxes with same name(text)
as property.then qtp identifies these objects with reference
to index values as index=0,index=1 and index=2.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention what are the different types of recording modes in qtp? Which will be used when?

567


How smart identification works in qtp ?

585


They asked by using qtp recording writing scripting

2077


unique properties of button,edit box, radio button,check box?

3837


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

2198






Tell some commonly used Excel VBA functions?

612


Give the syntax to load function at run time.

640


How to use reporter.report event in qtp ?

567


What is the significance of “action 0” in qtp?

581


How to execute a winrunner script in quicktest professional (qtp)?

523


How to add synchronisation points in qtp?

582


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1513


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1641


What test cases can you automate using QTP?

657


How the exception handling can be done using quicktest professional (qtp)?

577