Micro Focus QTP (UFT) Forums
Desktop Application Issue - 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: Desktop Application Issue (/Thread-Desktop-Application-Issue)



Desktop Application Issue - Shama Ahsan - 04-01-2011

Hi Basanth,
I am working on a Desktop Application, i recorded Scenario 1, thats for Login Screen, i entered Email Address & Password...
QTP is recording it, it successfully.
but when em running it, it shows the error (please find in attachment)
I guess email Address is not an object thats why its not capturing.
please help me to fix it out.





RE: Desktop Application Issue - basanth27 - 04-01-2011

Are there 2 versions of the same app?

If not, close qtp, the app and open QTP first then the app and then execute. it is just an issue with object identification is my guess.


RE: Desktop Application Issue - manishbhalshankar - 04-01-2011

Hi Shama,

Try identifying the object using html id, html tag and class. Remove innertext/outertext if it is selected for object identification.


RE: Desktop Application Issue - Shama Ahsan - 04-01-2011

Hi Basanth,
No two versions.
em adding it up in that window application tab. em not opening it, when i used to click at Record Button, it opens Login by itself.
as you can see in attached screen shot. thanks
Help please



Hi Manish,
Thanks for your response. how to identify objects using html tag n class?? i could not get it, please guide me in some detail.


RE: Desktop Application Issue - basanth27 - 04-01-2011

Shama -
Try these steps,
1. With the application open, execute the script. What happens?

If it works, then introduce a wait between the app being opened and the first statement of your script.

2. If it does not work, Go to the object repository, with the application open, select the winobject and say "highlight in the application". Does it highlight?

3. Have you executed as soon as it was recorded?


RE: Desktop Application Issue - Shama Ahsan - 04-01-2011

Basanth,
1. Same Error

2. when i click on object repository, add to local and em adding up opened application, it gonna added as Running Window but still when em executing it Error Sad

3. Yeap i have executed as soon as it was recorded but its not working
Sad
Help please...