Micro Focus QTP (UFT) Forums
QTP Step Generator recognizes just 'Page' object - 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 Step Generator recognizes just 'Page' object (/Thread-QTP-Step-Generator-recognizes-just-Page-object)



QTP Step Generator recognizes just 'Page' object - hussainv1 - 12-15-2011

Hi

I'm using QTP 10 to automate a web application on IE 8 browser. I have recorded the scripts and its been working fine for past 3 months. But after the latest web application build update, none of the scripts are working. There are two version of same web application(almost 99% features & UI of both the version are same) where the old recorded scripts works perfectly fine in one version, whereas in other version it doesn't executes even a single line of the script.
When i use Object Spy, It always selects the whole page & displays its properties as "Page" instead of WebElement, WebButton etc. However, in the other version where the scripts execute fine, it recognizes the Web objects correctly as WebElement, WebButton etc.
The same issue persists even when i do step generator as it recognizes all the web objects in the web page as just 'Page' object.

I tried so many solutions like uninstalling QTP & re-installing again, enabling BHOManager add-on in IE and even re-installing IE 8, but still couldn't find any solution.
I would be very much thankful if someone could suggest me some solution.

Thanks in advance!!
Hussain



RE: QTP Step Generator recognizes just 'Page' object - sshukla12 - 12-16-2011

Hi,

I also faced the same issue some time ago, solution i opted is to close the browser restart the system and I could able to identify the objects on web page.

Please try this and let me know if it works.

Regards,
Sankalp


RE: QTP Step Generator recognizes just 'Page' object - hussainv1 - 12-17-2011

Hi Sankalp, thanx for ur suggestion. I tried everything but still dint had any success. Finally figured out that its a IE specific issue and got it working again by disabling all the addons in IE through script. Smile

SystemUtil.Run "iexplore.exe","-extoff "&url


Regards,
Hussain


RE: QTP Step Generator recognizes just 'Page' object - ravi.gajul - 12-17-2011

That works for me.Thanks Hussain Smile