Hello Avanth
I assume you are running Selenium from Windows host. In This case you can use Powershell or C# format of test and
use the code that I posted on codeproject
http://www.codeproject.com/Articles/799161/Dealing-with-Powershell-Inputs-via-Basic-Windows-Fsection "Selenium Test" and "Selenium IDE Powershell Formatter" to locate and close the dialog in question or any Windows window in general by title fragmend and text fragment (e.g. child button text)
The example shown in the article targets save as dialog, but it is clear how to modify it for your particular mime type.
The window is found :
Matches button [459550] text : "&Save"
Window process ID is 1104
Window handle is 983844
Window title is Save As
Window match 1
Let me know if you need any help with that.
The Powershell formatter Selenium IDE plugin is going to be submitted to mozilla dev very soon,
Thanks,
Serguei Kouzmine
Let me know
On Thursday, January 17, 2013 7:55:40 AM UTC-5, Debasish Dutta wrote:
Hi All,
I have attached screenshot of the dialogue box. I want to click on the ok/cancel button on the windows dialouge box. there is no xpath of the buttons. by click on the ok button excel file should be opened.How i can overcome this scenario??
Thanks & Regards,
Debasish Dutta