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 / sreedhar reddy.m
hi
The index & Location u can't see in OR
If u consider index, it will generate the numbers based
horijontal view
for Examle
if u want to click Home link this no is o incase of index
property
Browser("browser").page("page name").link("index:=0").click
like this way
index will generate the num based on horizonatl view of
objects it will start from 0.
in case of location it will generate the num based verticle
view of objects
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
How to break the object spy ?
What is the XML file architecture ?
How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
What is action? How many types of actions are there in qtp?
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
How to connect to a database?
What are the major/ important methods, functions in QTP we use realtime testing
What is qtpro?
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
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
What is difference between design time and run time data table?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?