Micro Focus QTP (UFT) Forums
QTP Errors - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP Errors (/Thread-QTP-Errors)

Pages: 1 2 3


QTP Errors - eroshan - 09-30-2009

Hi All

I have this problem when i try run my recording.

What can be the issue ?


RE: QTP Errors - Saket - 09-30-2009

As the error says - QTP is not able to identify the frame i.e 'center_2', make sure you are at the correct page or try to update this object in your OR.


RE: QTP Errors - eroshan - 09-30-2009

Hi

I didn't understand what you mean by 'make sure you are at the correct page'

I reset the properties of that object. but still same error

May i delete this line from Expert view ?

Thanks


RE: QTP Errors - Saket - 09-30-2009

can you paste your lines of code and snaps. of OR and if possible the application?


RE: QTP Errors - eroshan - 09-30-2009

Hi

Here i attached snaps of code and OR. Let me know if this is not enough

Highlighted error line at the code and OR shows it properties.

( I try this with temporary delete some lines including this error line , then Run went to more further steps and error occurred. error was 'Unspecified error' )



RE: QTP Errors - Saket - 09-30-2009

Try to highlight the "center_2" frame object. does it highlight the correct frame in your application?


RE: QTP Errors - eroshan - 09-30-2009

Hi

I think this is what you request,
The object which note by the error highlighted previously.

Thanks


RE: QTP Errors - Saket - 09-30-2009

Paste this and let me know how it goes
Code:
Browser("Browser").Page("Page").Frame("center_2").Highlight
If this does not highlight ( which i think will not work) then move the web element 'Launch..' to the frame named 'Center' in the OR
then try modifying your line
Code:
Browser("Browser").Page("Page").Frame("center").WebElement("Launch..").Click



RE: QTP Errors - eroshan - 09-30-2009

Hi
case of using this line :
Code:
Browser("Browser").Page("Page").Frame("center_2").Highlight
when i paste it at the previous line of the 8th line(which error occurs)
it gives this error
Code:
General run error.

when i paste it after that line it gives previous error

when i relapse it , it gives
Code:
General run error

I did movements what you request, then it occurs same error like this
Code:
Cannot find the "Launch CDAX Net v0.10.ßeta" object's parent "center" (class Frame). Verify that parent properties match an object currently displayed in your application.

Thanks


RE: QTP Errors - Saket - 09-30-2009

In that case I am sure you are not at the right page.
I can see at line 7, you are navigating to another page, so the page must have been changed.

try adding the object again
try the above statements in earlier post before line 7, it will work . if it is working then adding the object again will help.