Micro Focus QTP (UFT) Forums
A novice question - 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: A novice question (/Thread-A-novice-question)



A novice question - jfernandez1977 - 05-15-2012

Hi,

I'm new to QTP and I have a issue which needs help.

I'm recording a web application with QTP 11 on IE9. One of the page's 'Next' button is disabled initially but is enabled when a checkbox in the page is checked. This feature works fine alone, but not in QTP during recording. The 'Next' button remains disabled and the rest of my application can't be tested.

What could the reason for this and is there a work around? Thanks for any help.

JF


RE: A novice question - joncfrazier - 05-15-2012

try adding an extra event, such as clicking empty space, after the change event. That should sent a "refresh" through the system. Often QTP will change values without sending an update.


RE: A novice question - falvi - 05-17-2012

first wait for all the controls on the page to load properly before any action is performed at them, you can use

Page("xyz").sync

u can also use it after the checkbox is checked so that page post back event can also be handled if it happens.