Micro Focus QTP (UFT) Forums
QTP does not record the first step of the Flight application - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP does not record the first step of the Flight application (/Thread-QTP-does-not-record-the-first-step-of-the-Flight-application)



QTP does not record the first step of the Flight application - qtp111 - 09-13-2011

Hello all,

I am new to QTP.
I am using windows 7 and QTP 11.0 demo

The problem is :
When I start to record for the Flight application, QTP only records from the Agent name and password.
Its not recording the 1st step to select the flight application. (Start -> All Programs -> HP QuickTestProfessional -> Sample Applications -> Flight).

I have chose all the correct settings.

After clicking on Record button, I select these :

Web ---> Record and run test on any open browser

Windows Applications ---> Record and run test on any windows based applications.


Please help me with this.

Thanks
Ansuman


RE: QTP does not record the first step of the Flight application - Ankesh - 09-13-2011

Hi Ansuman,

Use the below code to launch the flight application

InvokeApplication "<Your Flight application Path>"

Regards,
Ankesh
U can read the Ankur's post for more help.

https://www.learnqtp.com/ways-to-launch-your-application/

Regards,
Ankesh


RE: QTP does not record the first step of the Flight application - VIJAYAR1 - 12-19-2011

Hi Ankesh,

This code helped me. But can you please let me know the reason why it was not recording launch of application before?

Thanks
Vijayalakshmi