12-06-2013, 03:56 PM
Hi all,
I am a begginner in QTP and trying to automate testing of SAP BO reports. Now i have refreshed the report through AUtomation and if I have to export to excel. I click on these many objects
Document-->Save to my computer as -->Excel.
After clicking on Excel i get a dialog box open which has title as File Download.It has Open,Save& Cancel buttons when i click on Save. It has to open one more dialog box showing the folder where i have to save the excel, with the second dialog box title as "Save As" this is where I am finding problem. Qtp doesn't identify the second dialog box
Once QTP comes to this line of code,
It gives the below mentioned erorr and attached is the screen shot of the secong dialog box.
Cannot find the "(WinEdit)" Object's parent "(Dialog)"
(Class Dialog).
Verify the Parent properties match an object currently displayed in your application.
1)If the reason is QTp not recognising the second dialog box, then how did it recognise the first one?
2)Should I install any patch code ? if so details regarding that.
3) I have used Java, .Net,SAP,Active X,Web(my application shd be accessed through online) add-ins.
Any feedback would be appreciated heartfully.
Thanks In advance,
Hema.
I am a begginner in QTP and trying to automate testing of SAP BO reports. Now i have refreshed the report through AUtomation and if I have to export to excel. I click on these many objects
Document-->Save to my computer as -->Excel.
After clicking on Excel i get a dialog box open which has title as File Download.It has Open,Save& Cancel buttons when i click on Save. It has to open one more dialog box showing the folder where i have to save the excel, with the second dialog box title as "Save As" this is where I am finding problem. Qtp doesn't identify the second dialog box
Once QTP comes to this line of code,
Code:
Dialog("regexpwndtitle:=Save As").WinEdit("Class Name:=WinEdit").Set "Hema.xls"
It gives the below mentioned erorr and attached is the screen shot of the secong dialog box.
Cannot find the "(WinEdit)" Object's parent "(Dialog)"
(Class Dialog).
Verify the Parent properties match an object currently displayed in your application.
1)If the reason is QTp not recognising the second dialog box, then how did it recognise the first one?
2)Should I install any patch code ? if so details regarding that.
3) I have used Java, .Net,SAP,Active X,Web(my application shd be accessed through online) add-ins.
Any feedback would be appreciated heartfully.
Thanks In advance,
Hema.