Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: How to upload a file in a test through Open Windows using Selenium::Remote::Driver Perl package

by Chaoui05 (Scribe)
on Apr 29, 2016 at 14:46 UTC ( [id://1161879]=note: print w/replies, xml ) Need Help??


in reply to Re: How to upload a file in a test through Open Windows using Selenium::Remote::Driver Perl package
in thread How to upload a file in a test through Open Windows using Selenium::Remote::Driver Perl package

Just to know. What is the problem if i post my issue in different forum if i always give answer ? And another question how is it possible to add a file or a screenshot here ? Thanks

Replies are listed 'Best First'.
Re^3: upload file, Open Windows-Selenium::Remote::Driver (shorter)
by ww (Archbishop) on Apr 29, 2016 at 18:58 UTC

    Add file: if code or data-as-text, surround it with code tags. But be sure you've made it a small, representative sample, with any personal information redacted. A thousand bytes or so should suffice. The notion is -- reduce your problem code to something that reliably demonstrates the problem without including all the "other" important (and not so important) parts.

    Pictures are basicly no-no's here in the Monastery except one small one on your user page. While it's an imperfect solution, if the screenshot (I'm guessing, but pls confirm that you mean it's a picture of interaction with your script) can be linked from any server that's publicly accessible, including those that specialize in that sort of service.

    HOWEVER, that's frowned upon (among other reasons, because

    1. There's no assurance the picture (or file if binary) will still be on the remote server when some future reader wants to know what's in it
    2. the Monk(S) who's inclined to try to help must now visit an unknown and likely untrusted website to 'buy a pig in a poke,' i.e., your file with unknown and possibly malicious content
    3. and, assuming the aforesaid Monk(s) does so, the very process is another step that adds to the time s/he is donating to your problem.

    So better, figure out how to state your problem without requiring all that; preferably, without recourse to any external source...

    For more, please see

    And, not just BTW, while an informative subject is helpful, so is "brief." Your title is on the long side!

    ++$anecdote ne $data

Re^3: How to upload a file in a test through Open Windows using Selenium::Remote::Driver Perl package
by Laurent_R (Canon) on Apr 29, 2016 at 23:37 UTC
    Cross posting is not a problem, but, please, state it upfront and provide the link. At least, we will not lose time asking a question to which you've already answered elsewhere, and at best, we will find out that your problem has been solved. Perhaps hours before you can report that here. Or perhaps partly solved, but just needing an additional small input. Nobody can know if you don't say if beforehand.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1161879]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (11)
As of 2024-03-28 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found