How to Display last item of a Combobox by using QTP?

Answer Posted / prashanth chenna

Hai Chandu,
In the above code, in 1st line how can u find item count by
using GetRoProprety("item count"),then where is the
combobox name, from which it can count?

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1459


what is the difference between development and testing

2365


Is it possible to call from one action to another action in qtp?

554


Through array we can execute the testcase how ? give me example

1393


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1463






WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

1496


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1438


What is output value? How many types of output values are there in qtp?

574


Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points

1619


what r the main attributes of test automation?

1474


Is qtp supports uni-code?

606


Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!

2440


explain keyword driven framework with banking domain?

1557


hi guys, pls tell me for testing institution training hub, hitech city is best or not?

1312


Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.

1761