Hi FriendsI am using robot frame work .I need to upload a attachment in robot frame work. But i m struggling to get file path from local machine. Please give a example And Explain it.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
On Friday, September 1, 2017 at 3:19:42 PM UTC+1, Bryan Oakley wrote:
What does "struggling to get file path" mean? Please show what you've tried.
On Fri, Sep 1, 2017 at 8:35 AM, <cha...@mahathiinfotech.com> wrote:
Hi FriendsI am using robot frame work .I need to upload a attachment in robot frame work. But i m struggling to get file path from local machine. Please give a example And Explain it.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Choose File //input[@id="pdf-form-file"] C:\\Users\\Admin\\Desktop\\Automation\\Test-Auto-Data-1.pdfChoose File //input[@id="pdf-form-file"] C:/Users/Admin/Desktop/Automation/Test-Auto-Data-1.pdfChoose File //input[@id="pdf-form-file"] C:${/}Users${/}Admin${/}Desktop${/}Automation${/}Test-Auto-Data-1.pdf
Hi,Thanks for your reply. I'm not sure I understand what you mean. I'm relatively new to this so please pardon my ignorance. Basically I wanted to upload a pdf form using the choose file keyword. I always get an error saying that the file is not in the system which it is. I placed it in a folder on my desktop.I'm using this code: Choose File //input[@id="pdf-form-file"] C:\Users\Admin\Desktop\Automation\Test-Auto-Data-1.pdf
& I get an error. Please help.Thanksian