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 / cradle_o_filth
Use Regular expression.......
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
What are the key elements available in test result window?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
what is the difference between development and testing
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
How many ways we can parameterize data in quicktest professional?
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
What are the types of object repositories? Which one is you are using?
What is TOM in QTP?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
How you can replace string in qtp?
How to find a window is minimized or not
How did you use regular expressions in QTP and also in WR?