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.
Answer Posted / 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 View All Answers
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u
What is difference between run time object and test object?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
How to replay a script in qtp?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
Can the user toggle between using Local OR and shared OR for the same action?
How do you open adobe acrobat file in QTP and do some testing on that file ?
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
what QTP Options do you know?
Where can I find and view run-time data table?
Hi frens! I am testing VB project with MS Access database. At add button click my record is storing in data table and it is shown in datagrid. So at Delete button click i want to check datagrid rows 9before and after delete). so how can i do it using descriptive programming?
What are the features supported by UFT?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
How you are developing the script? Using record and play back or manual?
Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........