Take the 2-minute tour ×
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It's 100% free, no registration required.

After I upgraded from QTP 10 to 11, it required me to fully qualify my window paths using descriptive programming.

For example, this sort of thing worked in QTP 10:

Window("Main").Window("PopupDialog).Click("OK")

Now I am required to specify the entire path to get to the dialog:

Window("Main").Window("IntermediateWindow").Window("PopupDialog").Click("OK")

Is there an option or some way that I can tell QTP to dynamically figure out the path as it used to?

share|improve this question
    
Unless your application has changed this sounds like a defect in QTP 11, have you contacted support? –  Motti Jul 7 '11 at 17:15
    
I have not yet, no. I thought perhaps this would yield a better, faster, and stronger answer. –  Todd Bumbarger Jul 7 '11 at 17:24
1  
Perhaps it still will but there are some problems the internet can't solve... –  Motti Jul 7 '11 at 17:42
    
Maybe you should ask this question on stackoverflow, I see this site has 4 QTP questions which SO has over 200 so there's more of a chance you'll get an answer. –  Motti Jul 7 '11 at 20:00
2  
True, but then that won't help to generate content here... –  Todd Bumbarger Jul 7 '11 at 20:05
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.