Unified Functional Testing Practitioners Forum
cancel

QTP 11 fails to recognise objects when switching add-ins (through application areas)

Highlighted
robinweller
Acclaimed Contributor

QTP 11 fails to recognise objects when switching add-ins (through application areas)

I have a BPT test that uses multiple application areas, each of which use different add-ins for QTP.

 

When I run a component using both the Oracle and Web add-ins, it interacts with a browser to log in to an Oracle ebiz system. The following component uses just the web plug-in and is used to click a link on the oracle homepage.

 

When running the second component, QTP can no longer recognise the browser, which when using the object spy appears simply as a Windows application.

 

The same thing happens when I reverse the roles, so starting with web only components to access the oracle system results in oracle components failing to be recognised when we access oracle forms.

 

This only happens in test lab and runs fine in test plan.

 

Any suggestions?

 

Thanks,

Robin

1 REPLY
Nick_Poxon
Acclaimed Contributor

Re: QTP 11 fails to recognise objects when switching add-ins (through application areas)

Hi Robin,

Great question. I have the same issue.

Cheers, Nick

 

//Add this to "OnDomLoad" event