Fore more QTP Realtime scripts, visit www.ramupalanki.com
3)Verify Addition, Subtraction, Multiplication and Division Operations inCalculator Application.
Verify state of Update Order Button, before open an Order and afteropen an Order
(in Flight Reservation before opening an order Update Orderbutton should be disabled after opening an order enabled.)
Price Consistency, In Flight Reservation
(In Flight Reservation, First classprice=3*Economy class price and Business class price=2*Economy classprice)
Verify Total, In Flight Reservation
(In Flight Reservation, Total = Tickets *Price)
Verify Flight From & Flight To Combo Boxes
(In Flight reservation, selectan item from Fly From: combo box and verify weather that item available ornot in Fly To: combo box, like this select all items one by one in Fly From andverify weather selected items available or not in Fly To.)
Verify Order No Entry in Flight Reservation.
(In Open Order dialog box,Order No object accepts numeric values only.)
Get Test Data from a Flat file and use in Data Driven Testing (throughScripting)
Get Test Data From a Database and use in Data Driven Testing(through Scripting) 11)Count, how many links available in Mercury Tours Home Page?
Count how many Buttons and Edit boxes available in FlightReservation window? 13)Verify search options in Open Order Dialog box(
After selecting open order, 3 search options should be enabled and not checked,After selecting Order No option, other options should be disabled,After selecting Customer Name, Flight date option enabled and Order No disabledAfter selecting Flight date option, Customer Name enabled and Order No disabled