Unified Functional Testing Practitioners Forum
Showing results for 
Search instead for 
Did you mean: 

QTP not recognising SAPList object

Acclaimed Contributor

QTP not recognising SAPList object



I am trying to automate a webdynpro application where I am trying to select a value from a dropdown list. OR recognises this as an SAPList object. But when I playback the script it fails to recognise the object. I tried giving the micclass also but it will not recognise it. The code so far-


Browser("SAP NetWeaver Portal").Page("SAP NetWeaver Portal").Frame("iframe_Roundtrip_133661597").SAPList("Did the accident occur").Click


Any input would be appreciated.





P.S. This thread has been moved from Community Feedback & Suggestions to  Unified Functional Testing (formerly QTP) News and Support Forum. -HP Forum Moderator

HPE Expert

Re: QTP not recognising SAPList object

What is the exact error message displayed? Does it talk about the SAPList or its parent object?

I suggest to compare the properties in the Object Repository for that specific object against the properties of the object when it failed... You might find differences, hence the root cause.

"HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution."
Super Collector

Re: QTP not recognising SAPList object



I had the same problem sometime ago. There is a problem with this kind of object. At the end I wrote a shell script to select the item on the list. 


Hope this helps!



//Add this to "OnDomLoad" event