QTP records script but is unable to playback script
♥ 0 |
I am able to record a script in QTP (see below) but it is unable to properly play it back. As you can see below, the script is using the Flight application that comes with the software as a sample application to practice on. The record and run settings have been set to launch the Flight application at the beginning of the record/run session, which does work properly when the program is ran. Dialog("Login").WinEdit("Agent Name:").Set "training" Dialog("Login").WinEdit("Password:").SetSecure "4be01d1215f4425a57ed985f5a2e4876f7508a02" Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX("MaskEdBox").Type "051010" Window("Flight Reservation").WinComboBox("Fly From:").Select "Denver" Window("Flight Reservation").WinComboBox("Fly To:").Select "Frankfurt" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "John Doe" Window("Flight Reservation").WinRadioButton("First").Set Window("Flight Reservation").WinEdit("Tickets:").SetSelection 0,1 Window("Flight Reservation").WinEdit("Tickets:").Set "2" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").Close The product information for the QTP is: Product Information Product name: QuickTest Professional Product version: 10.00 Product ID: QTPRPID10.00/01 Product build: 513 Operating system: Windows Vista Service Pack 1 (Build 6001) Internet Explorer version: 7.0.6001.18000 Quality Center connectivity: …** Add-in Information: Name .NET ActiveX ASPAjax Delphi Java Oracle PeopleSoft PowerBuilder SAP Siebel Stingray Terminal Emulators Visual Basic VisualAge Smalltalk Web Web Services WPF Hotfix and Patch Information: Name © Copyright 1992-2009 Mercury Interactive (Israel) Ltd. The add-ins that I currently have enabled are: .NET Java ActiveX WPF Web I have also restarted QTP and record and ran the same exact script with the only add-in being ActiveX, and still is unable to properly play back. The login window will open but nothing is entered into the username and password edit boxes. Any ideas as to why the program would be able to record a script but not be able to play it back would be greatly appreciated. Thank you.
Marked as spam
|