How to Display last item of a Combobox by using QTP?
Answer Posted / ajreddy
hi
what ever chandu wrote its correct
Example:
x=Browser("micclass:=Browser).page("micclass:=Page).Getroproperty("items
count")
msgbox x ' Here u knows how many items r there in combobox
' after that which item u want u can get it
y=Browser("micclass:=Browser).page("micclass:=Page).Getitem(lastitemindexnumber)
count")
msgbox y
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
How to create a standard checkpoint ?
Where you get the run time data table?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
How do we analyze the checkpoint results?
Will down time for server and content maintenance/upgrades be allowed? how much?
The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
Suppose I want fail that check point? How can you do that?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
In Remote acess server how u run a test?