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

Answers were Sorted based on User's Feedback



we have one text box and one list box(list box appear in same page or another page) what ever the t..

Answer / cradle_o_filth

Use Regular expression.......

Is This Answer Correct ?    2 Yes 0 No

we have one text box and one list box(list box appear in same page or another page) what ever the t..

Answer / renuka.patil

HELLO...........
Is it a toung twister mr or miss n plz inform me if u get
a answer 4 tht i will be waiting.

Is This Answer Correct ?    2 Yes 1 No

we have one text box and one list box(list box appear in same page or another page) what ever the t..

Answer / 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

More QTP Interview Questions

I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

0 Answers  


Difference between image checkpoint and bitmap checkpoint

2 Answers  


Can abody explain me Send keys concept

1 Answers   Cap Gemini,


am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)

0 Answers  


What are the file extensions for per-action, shared object repository files and what is the extension for library files?

4 Answers  






-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?

3 Answers   CTS,


Does QTP record on Objects created on XWindows Environment?

0 Answers   Infotech,


What is the difference between call to existing action and copy of an action?

0 Answers  


the question was on what techonlogy u been working on i said VB then he asked me the addin for VB in Qtp?

4 Answers   BirlaSoft,


How does QTP identifes the object in the application?

1 Answers  


How can we display the names of the buttons in the toolbar of a webpage

1 Answers  


Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.

4 Answers  


Categories