05-04-2011, 09:20 PM
Hi,
I seem to be having issues with dialog boxes and my object repository. I can select a link to open a PDF file, then select Save in the popup dialog box, then select Dave again to over write an existing file. QTP fginds and creates the following code:
But all of the lines with Dialog box throws errors thawt not found in OR. But my OR has everything there as required.
Does anyone know how to fix this?
I seem to be having issues with dialog boxes and my object repository. I can select a link to open a PDF file, then select Save in the popup dialog box, then select Dave again to over write an existing file. QTP fginds and creates the following code:
Code:
Browser("Wisdom CTE").Page("Wisdom CTE_3").Frame("parent_2").Link("RIG404").Click
Dialog("File Download_3").Dialog("Save As").WinButton("Save").Click
Dialog("File Download_3").Dialog("Save As").Dialog("Save As").Activate
Dialog("File Download_3").Dialog("Save As").Dialog("Save As").Click 229,33
Dialog("File Download_3").Dialog("Save As").Dialog("Save As").WinButton("Yes").Click
If Dialog("File Download_2").Dialog("Save As").Dialog("Save As").WinButton("Yes").Exist Then
Dialog("File Download_2").Dialog("Save As").Dialog("Save As").WinButton("Yes").Click
End If
But all of the lines with Dialog box throws errors thawt not found in OR. But my OR has everything there as required.
Does anyone know how to fix this?