we have one text box and one list box(list box appear in
same page or another page) what ever the text enter in text
box that must be displyed in list box as first one.
for example if we enter 10 in text box that is the 1st item
in list box . after that we enter 11 then 11 is the 1st item
and 10 is 2nd item. the maximum limit of list box is 10
items. if we enter 11th item the 10th item is deleted and
llth one is add as 1st one and 9th one goes to 10th position
Answer Posted / jagadesh
If Listbox.ListCount >= 10 Then
Listbox.RemoveItem Listbox.ListCount - 1
End If
Listbox.AddItem Textbox.Text, 0
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to break the object spy ?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
Explain the types of properties that quick test learns while recording?
Is it possible to use two instances of UFT on the same machine? If not why?
Why to use descriptive programming?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
What are the properties you would use for identifying a browser and page when using descriptive programming?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
How to analyzing the checpoint results?
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
How you are developing the script? Using record and play back or manual?