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
Hi I have exp in manual testing and planning to move in automation testing qtp(9.2).So can help me how to automate customer relationship management tool using qtp and vb script this tool already developed so how can I test it whatever maintaining by development team like documents,various options just give the whole life cycle thanks in advance
What is Cross browser testing? Does UFT support it?
How you can write contexts to text file in qtp?
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
What is the syntax for how to call one script from another?
Explain the concept of object repository and how qtp recognises objects?
what could go wrong with test automation?
Explain types of descriptive programming?
What the differences are and best practical application of Object Repository?
What are advantages of test automation?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
How is test case write?
who QTP recognizes the object stored in object repository?
How many types of recording modes in qtp? Which will be used when?
How to find Operating system information using QTP script?