Micro Focus QTP (UFT) Forums
Run error on properly running script - 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: Run error on properly running script (/Thread-Run-error-on-properly-running-script)



Run error on properly running script - AAB - 03-10-2011

Hi,
I am a beginnner to qtp.Baffling over a problem that a script contains the login username and password as first two lines of code.Now i have been running it quite often but suddenly the problem has occurred that while running this script, the username and password are not entered into the textboxes even after taking a lot of time. And ultimately gives the error "Cannot find the "username" object's parent "SSO LOGIN" (class Browser). Verify that parent properties match an object currently displayed in your application".

Can you please explain why this error even though it was runnning properly earlier?


RE: Run error on properly running script - basanth27 - 03-10-2011

Have you tried to highlight the object from the repository just to ensure nothing changed at the properties end?
Else there are several probable reasons begining from addins not being selected to application which should never open first before qtp to multiple instances of the same application being open.
Anything which helped you ?


RE: Run error on properly running script - AAB - 03-11-2011

Thanks for your reply.Smile
You were right, appropriate addins were not loaded when the qtp was launched.By the way, is there any way, by which we can get to know what addins are required for a particular application.Because in my case, since it was a web application so i had loaded only web addin but now i suppose some more addins were required.so is there a way out?


RE: Run error on properly running script - basanth27 - 03-11-2011

Well, I would always go with the basic add-ins being checked by default. I see no harm in them. However, if your application has different other plug-ins, like a mixture of both javascript and .net then you have to really make a choice. However, if you are very much concerned with the loading of add-ins based on a particular case then yes AOM is the right way.

Using AOM, you can programatiically load add-ins based on your requirement.


RE: Run error on properly running script - Suba - 03-22-2011

Hi,

I am also beginner to QTP. What it is AOM and how one can dynamically requlate it?

Thanks,
Subha