Mahmoud Abuzaid
2018-11-26 06:50:48 UTC
Hello Dear could you please delete the post or edit it because it contains
my phone number
my phone number
Hi,
Possible to share html code, there might be possibility of browse control
as hidden
Nimesh T. Prajapati
Automation Engineer | Manual Testing
"Quality does matter..."
WebDriver+Testng+Maven+Ant+Sikuli
Possible to share html code, there might be possibility of browse control
as hidden
Nimesh T. Prajapati
Automation Engineer | Manual Testing
"Quality does matter..."
WebDriver+Testng+Maven+Ant+Sikuli
Try to use send key instead of click because the windows not related to
the browser I use send key and the sneding the âfile_path/file_nameâ to the
upload dile button
Warm Regards
Mahmoud A. Zaid
Software Quality Engineer
+201111632666
--
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
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/CALAOJfCZkthEMjMP--Kz%2BVD6RWVah6nnLpZwVGoyPbV0xCaBLQ%40mail.gmail.com
<https://groups.google.com/d/msgid/selenium-users/CALAOJfCZkthEMjMP--Kz%2BVD6RWVah6nnLpZwVGoyPbV0xCaBLQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
the browser I use send key and the sneding the âfile_path/file_nameâ to the
upload dile button
Hi All,
I am unable to locate the 'File Upload' window while writing automation
script for web page to upload the file.
I have tried with these two different scripts to achieve this:But
'Unable to locate 'File Upload' /'fileUploadID' exception is thrown.
PFA the screenshot for further details.
Please help me out on this.
(a)
wait = WebDriverWait(driver, 10)
wait.until(EC.new_window_is_opened)
driver.switch_to.window("File Upload")
element=driver.find_element_by_name("File name")
element.send_keys("C:\\Users\\ranjana.palanivel\\Aaj Jane Ki Zid Na Karo.mp3")
(b)
wait = WebDriverWait(driver, 10)
wait.until(EC.new_window_is_opened)
filepath=driver.find_element_by_id("fileUploadId")
filepath.send_keys("C:\\Users\\ranjana.palanivel\\Aaj Jane Ki Zid Na Karo.mp3")
Thanks & Regards
Ranjana P
--
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
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/CANS_8%3DvJcZK%2BzZORVb9zdFHW62%2BnovF-timzV-jEZfO%3DPCtvFQ%40mail.gmail.com
<https://groups.google.com/d/msgid/selenium-users/CANS_8%3DvJcZK%2BzZORVb9zdFHW62%2BnovF-timzV-jEZfO%3DPCtvFQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--I am unable to locate the 'File Upload' window while writing automation
script for web page to upload the file.
I have tried with these two different scripts to achieve this:But
'Unable to locate 'File Upload' /'fileUploadID' exception is thrown.
PFA the screenshot for further details.
Please help me out on this.
(a)
wait = WebDriverWait(driver, 10)
wait.until(EC.new_window_is_opened)
driver.switch_to.window("File Upload")
element=driver.find_element_by_name("File name")
element.send_keys("C:\\Users\\ranjana.palanivel\\Aaj Jane Ki Zid Na Karo.mp3")
(b)
wait = WebDriverWait(driver, 10)
wait.until(EC.new_window_is_opened)
filepath=driver.find_element_by_id("fileUploadId")
filepath.send_keys("C:\\Users\\ranjana.palanivel\\Aaj Jane Ki Zid Na Karo.mp3")
Thanks & Regards
Ranjana P
--
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
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/CANS_8%3DvJcZK%2BzZORVb9zdFHW62%2BnovF-timzV-jEZfO%3DPCtvFQ%40mail.gmail.com
<https://groups.google.com/d/msgid/selenium-users/CANS_8%3DvJcZK%2BzZORVb9zdFHW62%2BnovF-timzV-jEZfO%3DPCtvFQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
Warm Regards
Mahmoud A. Zaid
Software Quality Engineer
+201111632666
--
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
<javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/selenium-users/CALAOJfCZkthEMjMP--Kz%2BVD6RWVah6nnLpZwVGoyPbV0xCaBLQ%40mail.gmail.com
<https://groups.google.com/d/msgid/selenium-users/CALAOJfCZkthEMjMP--Kz%2BVD6RWVah6nnLpZwVGoyPbV0xCaBLQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
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/f25bbc48-6abd-4315-b20e-4969f8aaf0b7%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/f25bbc48-6abd-4315-b20e-4969f8aaf0b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.