Header Ads

Few interesting problems in QTP

----------------------------
Re: if you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?
Answer
# 1 allITEMS =GetROProperty("all items") property should be
used.
x=Split(allITEMS,";")
for i=0 to UBound(x)
msgbox (x(i))
Next

OR
for i=1 to 29 'Assume
there are 29 Items in the Listbox.
ListBox().GetItem(i) should be used.
next

------------------------------------------------
What is the extension of object repository file in QTP?
a) .orf
b) .tsr
c) .obj
d) .vbs
e) .mtr

The ans is
b).tsr
e).mtr
---------------------------------------------------
Which of the following tools would be involved in the automation of regression test?
a) Data Tester
b) Boundary Tester
c) Record and Playback
d) Output comparator

c)record and playback
Powered by Blogger.