Hi, I think it's not a Jenkins problem. Have you tried to execute it outside Jenkins?
I'd suggest looking for solution in test forums. Environment in which test server is executed differs from local server. I hope be useful. Best regards, Rachel El viernes, 21 de octubre de 2016, 15:47:56 (UTC+2), Sulabha thube escribió: > > Hi Rachel , > > > > Thank you for your reply > > > > I am using Watir webdriver from Ruby. > > > > I can user other webdriver if it accepts such path > > > > Any suggestions ? > > > > Thank you , > > Sulbha > > Sent from my iPhone > > On Oct 21, 2016, at 8:42 AM, Rachel Moreno <[email protected] > <javascript:>> wrote: > > Hi Sulbna, > > What are you using for executing tests? Maybe Selenium? > > It seems test server can't use Jenkins server paths. > > Best regards, > Rachel > > El miércoles, 19 de octubre de 2016, 20:08:16 (UTC+2), Sulabha thube > escribió: >> >> 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 a topic in the > Google Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/WZGP-DOe-Lk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/9439df27-d6cc-4e07-b0b7-b22beb144cf0%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/9439df27-d6cc-4e07-b0b7-b22beb144cf0%40googlegroups.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 "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/7c264102-6af7-40d5-9ff0-1d8783fcebc1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
