Hi 

I am trying to setup a regression job for Ruby UI tests scripts 
while execution i am uploading an image file which is present in my 
github repository  
i am capturing  an absolute path from relative path by filesToupload1=File
.absolute_path("./features/Pages/Images/MobileMB.jpg")
result for this is 
/var/opt/jenkins/workspace/DocUploadHooru/features/Pages/Images/MobileMB.jpg

 and still i am getting error unknown error: path is not absolute:

i also tried @browser.file_field(:id,"file1").set(File.expand_path('.') +
'/features/Pages/Images/MobileMF.jpg')
it gives the same error unknown error: path is not absolute

can someone help me to resolve this issue 

Thank you , 
Sulbha 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a9ad87b1-85f0-47f1-af6a-cf96207f1699%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to