Login to flight app, in window flight reservation set the
date field and select flyfrom as Frankfurt and verify
whether flyto list box has the item FrankFurt, log the
results.
Answer / raju
Hi,
If u select "FrankFurt" in FlyFrom, u don't find it again
in FlyTo drop down.
If u want to verify that ...
First generate the script statemnt to select FrankFurt in
FlyFrom fileld.
FlyFromcount= Dialog("Login").window("Flight
Reservation").wincombobox("FlyFrom").getitemscount()
For example if count returns 8, after selecting Frankfurt
from FlyFrom dropdown, now find the items count from FlyTo
dropdown, it will be (count-1), it will be 7 now.
Dialog("Login").window("Flight Reservation").wincombobox
("FlyFrom").select "FrankFurt"
FlyTocount= Dialog("Login").window("Flight
Reservation").wincombobox("FlyTo").getitemscount()
now if u want to verify if FrankFurt is still there or not
for i=o to FlyTocount-1
value = Dialog("Login").window("Flight
Reservation").wincombobox("FlyTo").getitem(i)
If value = "FrankFurt"
msgbox "FrankFurt exists in FlyTo dropdown"
else
msgbox "FrankFurt doesn't exist in FlyTo dropdown"
End If
Is This Answer Correct ? | 1 Yes | 0 No |
can any body give the banking domain concepts/links
Hi, Can anyone tell me what type questions can be ashed in interview on QTP?
How can we perfom Action and Component parameter.?
In 1st screen,if v enter a/c no. in one field, the information of the subscriber will be displayed. The details should be displayed only in screen 3(NOTE:details should not display in screen 2).How can v do using QTP.
keyword driven framework having how many folders? explain folders in detail?
what is the difference between data driver & data driven and driver script?
In an(AUT) web application their are two frames as fraMain and fraFooter. Both the frames contain link which needs to be retrieved at a single step. I tried it using "Regular Expression" as fra.* but QTP doesn't recognize the object. So Plz help me out to get resolve the problem:-)
How can we merge two repositories? Can we merge two differnt rep. I mean 1is peraction and other shared
4 Answers Tavant Technologies,
how to test globalisation testing using qtp? lets take an example: suppose i have to test the word is in hindi "ratikanta", how we test it by using descriptive programming or any method??
what is the automation framework that ur company using(actual procedure,not theoritically explination)
can i login a page by giving username and password and click on ok button through database parameterization.and if its yes then please write the code of that
Explain sub procedure of vbscript.