05-19-2010, 11:01 PM
(This post was last modified: 05-19-2010, 11:05 PM by kkishore123456.)
Thanks my dear friend.
Let me try this one and get back to you. BTW, new browser will open for sample.txt, sample.bmp, sample.pdf. sample.gif, sample.jpg files alone.
In that case, how do I give the Expected_FileName value?
In the datatable, I have the paths of the filenames
1.sample.txt
2.sample.bmp
3.sample.jpg
4.sample.gif
5.sample.pdf
6.sample.html
7.sample.xls
8.sample.doc
I am making use of For i=1 to Datatable.Getsheet("sheetname").Getrowcount
Inside the loop, I am attaching files and opening those attachments.
I need to throw a reporter.pass message or fail message once these files are viewable, then this is pass else fail
Please advise!
thanks
kish
Moreover, when I click on these attachments, (bmp,gif,pdf,html,jpg), new browser gets opened, but its name/title is just "browser" thats all. I tried to record and added to OR as well, same thing is happening, no specific name or title is being identified for this browser.
Please advise!
kishore
Let me try this one and get back to you. BTW, new browser will open for sample.txt, sample.bmp, sample.pdf. sample.gif, sample.jpg files alone.
In that case, how do I give the Expected_FileName value?
In the datatable, I have the paths of the filenames
1.sample.txt
2.sample.bmp
3.sample.jpg
4.sample.gif
5.sample.pdf
6.sample.html
7.sample.xls
8.sample.doc
I am making use of For i=1 to Datatable.Getsheet("sheetname").Getrowcount
Inside the loop, I am attaching files and opening those attachments.
I need to throw a reporter.pass message or fail message once these files are viewable, then this is pass else fail
Please advise!
thanks
kish
Moreover, when I click on these attachments, (bmp,gif,pdf,html,jpg), new browser gets opened, but its name/title is just "browser" thats all. I tried to record and added to OR as well, same thing is happening, no specific name or title is being identified for this browser.
Please advise!
kishore