Resident
2018-11-24 13:11:41 UTC
Hi!
Wanted to ask, how is it possible to make dropdown selection based on
localhost file name. Someone mentioned it's possible, but haven't found any
working solution.
Example.
dropdown contains.
<select name="beginYear" id="beginYear">
<option value="2018">2018</option>
<option value="2017">2017</option>
<option value="2016">2016</option>
<option value="2015">2015</option>
<option value="2014">2014</option>
<option value="2013">2013</option>
<option value="2012">2012</option>
<option value="2011">2011</option>
<option value="2010">2010</option>
<option value="2009">2009</option>
<option value="2008">2008</option>
<option value="2007">2007</option>
<option value="2006">2006</option>
<option value="2005">2005</option>
<option value="2004">2004</option>
<option value="2003">2003</option>
</select>
From localhost "C://filesfolder// i have defined file name _17.xlx
How i can tell selenium (java) to take that 17 and find similar selection
from dropdown ?.
Thanks!
Wanted to ask, how is it possible to make dropdown selection based on
localhost file name. Someone mentioned it's possible, but haven't found any
working solution.
Example.
dropdown contains.
<select name="beginYear" id="beginYear">
<option value="2018">2018</option>
<option value="2017">2017</option>
<option value="2016">2016</option>
<option value="2015">2015</option>
<option value="2014">2014</option>
<option value="2013">2013</option>
<option value="2012">2012</option>
<option value="2011">2011</option>
<option value="2010">2010</option>
<option value="2009">2009</option>
<option value="2008">2008</option>
<option value="2007">2007</option>
<option value="2006">2006</option>
<option value="2005">2005</option>
<option value="2004">2004</option>
<option value="2003">2003</option>
</select>
From localhost "C://filesfolder// i have defined file name _17.xlx
How i can tell selenium (java) to take that 17 and find similar selection
from dropdown ?.
Thanks!
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a88f5b7c-2a9f-4486-9c5a-6cf87c2ecd68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a88f5b7c-2a9f-4486-9c5a-6cf87c2ecd68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.