- saandiip
- Posts : 1
Join date : 2010-09-06
Help : Upload file thru Window File Browser
Mon Sep 06, 2010 8:13 pm
Hi Friends,
I have to write a Selenium FIT test case which need to upload file from disk i.e. through File Browser of window. As it is window component (pop-up window) I cant find Xpath/id of it. If anybody has tackled this issue ever before, your guidance/suggestions/comments are welcome.
Thanks in advance
I have to write a Selenium FIT test case which need to upload file from disk i.e. through File Browser of window. As it is window component (pop-up window) I cant find Xpath/id of it. If anybody has tackled this issue ever before, your guidance/suggestions/comments are welcome.
Thanks in advance
- jagadeeswar
- Posts : 2
Join date : 2011-03-07
Age : 34
Location : Hyderabad
Re: Help : Upload file thru Window File Browser
Mon Mar 07, 2011 9:58 pm
Hi sandeep,
selenium doesn't supports window applications. we can't find any xpaths for these applications(window). For this problem u have to create dll by writing java/.net code and it should be executed in junit/nunit while running that application.
selenium doesn't supports window applications. we can't find any xpaths for these applications(window). For this problem u have to create dll by writing java/.net code and it should be executed in junit/nunit while running that application.
- gaurang033Active particpant
- Posts : 13
Join date : 2011-03-19
Re: Help : Upload file thru Window File Browser
Thu Mar 24, 2011 3:05 pm
I have done that in the past. you need to use AutoIT script or Executable created by AutoIT. I have both that on my blog. you might need little modification for your use.
http://qtp-help.blogspot.com/2009/07/selenium-handle-dialogs.html
http://qtp-help.blogspot.com/2009/07/selenium-handle-dialogs.html
Permissions in this forum:
You cannot reply to topics in this forum