I have a list box which contains duplicate values e.g.
A,A,A,B,B,B,C,C,C.Now write a code in qtp to test the list
box .
Scenario #1 : I have to check whether any values are there?
Scenario #2 : If duplicate values are there,then how many
time it is getting duplicated?
Svenario #3 : how can I test presence of items in list box
ommiting duplicate values?
Answer Posted / sayani sur
Ganesh thanks for the answer but please provide clarification for below....
1. Can I use childobject.AllItem in place of getROProperty(items Count)?
2 . as u told i have to store all weblist items into an array..will u please tell me how can i insert these values/weblist items into an array...
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
In qtp, explain what is qrs file?
I want to do QTP Certification what is the pattern of Question paper.
how do you parameterize search button from the website? the page is a single winobject and i have made a virtual object button of search button but search box can't be converted into a winedit and if we try to convert it into winedit the value we enter in a searchbox appears as numbers in the script so we arent able to parameterize.help!!!
How you will rate urself in QTP in the range of 0 to 5
Shall we add Local Repository to shared object repository,if yes,how we add
Can we create user defined functions in qtp?
How will you check a web application for broken links using qtp?
How you can delete excel file in qtp?
How will you compare keyword and expert view?
How to find operating system information using the qtp script?
Explain the concept of how quicktest professional (qtp) identifies object?
How can you send user defined messages to test report?
What is a Patch in QTP?
How to find array size in qtp?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?