Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
saandiip
Posts : 1
Join date : 2010-09-06

Help : Upload file thru Window File Browser Empty 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
avatar
jagadeeswar
Posts : 2
Join date : 2011-03-07
Age : 34
Location : Hyderabad

Help : Upload file thru Window File Browser Empty 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.
avatar
gaurang033
Active particpant
Active particpant
Posts : 13
Join date : 2011-03-19

Help : Upload file thru Window File Browser Empty 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
Sponsored content

Help : Upload file thru Window File Browser Empty Re: Help : Upload file thru Window File Browser

Back to top
Permissions in this forum:
You cannot reply to topics in this forum