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 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/9439df27-d6cc-4e07-b0b7-b22beb144cf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.