Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having issues getting QTP 10 to recognise an IE frame via DP
#1
Solved: 10 Years, 9 Months, 1 Week ago
Hi there, have been using QTP for some time and am fairly happy that I understand the principles of DP and how QTP references objects using the DOM.

My current issue is related to trying to recognise a frame using DP (I have previously done this using the OR without an issue).

I have written the following object to try and recognise my frame object.

Code:
Set frameObjectDesc = Description.Create
frameObjectDesc("micclass").value = "Frame"
frameObjectDesc("name").value = "header"

My actual code has a select case block to change the name parameter - but I have confirmed that code is working correctly and setting the correct parameter value. I can also confirm that these properties are exactly the same as the ones which the OR is using to correctly identify the frame.

On trying to check the existence of this frame using:

Code:
Browser(browserObjectDesc).Page(pageObjectDesc).Frame(frameObjectDesc).Exist(0)

I am getting a General Run Error reported. The error number being reported for this error is -2147467259 - but all google searches I have tried for this error number seem to be related to database issues which don't seem particularly relevant in this situation.

I have searched all over to try and discover the solution to this issue, but nothing has really shed any light on it. Can anyone here help me out?
Reply


Messages In This Thread
Having issues getting QTP 10 to recognise an IE frame via DP - by Critta - 08-04-2011, 06:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Webtable objects recognise as weblist in UFT 12.5 Sharad Kumar 0 1,065 12-06-2018, 04:57 PM
Last Post: Sharad Kumar
Smile I am not getting links under a frame deveshbhatt29 1 1,964 05-29-2014, 05:07 PM
Last Post: Ankur
  QTP Not Able to recognise the object in window application. Sudipta Gusain 4 4,558 04-17-2013, 07:35 PM
Last Post: Benak
  Frame Work venkat369 0 2,363 01-21-2011, 01:54 AM
Last Post: venkat369
  Not able to recognise browser Supriya3072 1 2,028 09-08-2010, 01:21 AM
Last Post: cdesserich

Forum Jump:


Users browsing this thread: 1 Guest(s)