qtp hangs while adding objects to object repositor
i'm using: qtp 8.2 on win xp pro sp2. (ie 6.0)
i'm using systemutil.run "iexplore.exe", "http://abc.html" to invoke my app.
(i'm trying to learn objects in a cognos report application.) it's UI is web. (activex & web addins are already checked) i can identify the browser, page & frame objects, but when it comes to web elements within the frame, i run into issues. this is what happens:
(i) i "spy" on a web element. i can see the object's properties & methods within 2 seconds
(ii) i try to "add" the same object. it takes approx 140+ seconds to get added. if i click on OR during this time, qtp freezes. i have to 'end task' & re-start qtp.
(iii) initially, i tried doing this: (1)add browser in OR (2) add page in OR (3) add frame in OR (4) add web element in OR -- problem here.
if i want to highlight the learnt object, it takes another 2 1/2 minutes.
(iv) now, i remove the web element & directly try to add the web element. another hierarchy develops e.g browser_2 --> page_2 --> frame_2 --> web element.
i don't know why it's happening like that.
configured properties: html tag, html id, name.
i disabled smart ID during recording (learning objects phase) & repeated the entire sequence. no use. same problem.
due to the above problems, my scripts run horrendously slow(approx 65 minutes to identify 8-10 web elements in a frame)
i also ran the quick test professional.bat file, no use.
tried description object for web element. same problem (time). i don't seem to be getting anywhere. any ideas any1?
i went through the posts & could not find a similar problem. i went thru qtp users's guide & help, not much help there too. hence, i'm posting this.
any help is highly appreciated.
Re: qtp hangs while adding objects to object repos
Do a clean install of QTP. Login to HP support and get the KBA for doing a clean install.