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


part2:maore than the answer for this question i want the
the reason why testers go for this kind of risk.what is the
use of we testers having these kind of attempts.is that
not the problem with the developer .pls answer .real time
users of tools.in which way these solutions help to test
with r without affecting the developed souce code.

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

Yes friend there is no specific logic in this question.
this is unnecessary for tester(Black Box Tester).
i can gues what happen in ur issue

Normally in some companies,usually development people
will involve in preliminary rounds of interview.
Bcoz there people are having direct contact to Project
Manager.

These people Normally well in programming not in testing.
even they cannot ask some basic questions on software
Testing.

They ask like this questions.

Anyway don't feel bad,Ur day will come in near future

ok frindz byee

Rajendra
rajendra_penumalli@yahoo.com
+91-9885162742

Is This Answer Correct ?    0 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 / chowdhury

well said Raj.......lol

Is This Answer Correct ?    0 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 / k.chandu

using getvisabletext method get available text
text=browser("ie").page("pe").webedit("textbox1").getvisibletext

now get the 1st item from the web list

wtext=browser("ie").page("pe").weblist("wl").select ("index:=0")

then compare them

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

WHat is Object Identification and Object Spy?

2 Answers   IBM,


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

0 Answers  


A web Page has a webtable with four columns and four rows. The first column is of ID and has values of 100,100A,A100,100y Find out the number of rows whose ID starts with 100. Similarly the last column is 'number of links'. Each row in the last column has values like link1,link2,link3 etc Find out the number of links where id is 100

1 Answers   Virtusa,


I install .Net Add-Ins in my system. It installed properly. But all the objects are recognizing as window objects only. But it has to recognize as swf objects. In Record and Run setting i selected 'Record and run test on any open browser' and Record and run test on any open Windows-based application' Can any one tell what setting i have to do to recognize objects correctly as swf...? Please give some suggestions..?

1 Answers  


Why qtp the best testing tool?

0 Answers  






How to connect the remote desktop using QTP 9.2 explain the method or procedure?

0 Answers   Magna Infotech, Oracle,


How to call a function in QTP?Is there any method ? Thanks , PRASANNA

2 Answers  


QTP 9.2, Issue: Creating Shared Object repository. I recorded 2 scripts. I exported the Object Repository to a shared location for the first script. Associated the exported repository to the first script and deleted the Local Repository for the First Script. Now Opened the Second script and try to Add the Local Object Repository of 2nd Script to Exported Object Repository. But I fail. Can anyone please help in providing steps that need to be followed in creating a shared object repository? Thanks in Advance.

3 Answers   Google, UHG,


1.How recognize QTP Dyanamic Image? (suppose tha wedpage contains 3 logos..1 square 2.circle 3.rectangel)there changing at same position how to capture that)

3 Answers   Synechron,


In Datatable having the data like this S.no Name Address 1 raj hyderabad 2 suresh Mumbai 3 shyam chennai 4 dev banglore i want to get the shyam row id & column id using scipting i.e 3,3

4 Answers   Broadridge,


when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '[string: ""]' in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the mistake Could you please tell me.

5 Answers  


What is descriptive.create () in QTP?

3 Answers  


Categories