sendkeys is not working with relative path

69 views
Skip to first unread message

pradeep kumar

unread,
Apr 18, 2014, 2:45:36 AM4/18/14
to seleniu...@googlegroups.com
Hi guys,

I have a doubt whether sendkeys() will take relative path or not ? since I am giving path like src/main/resources/image path but it's not working as such .

Kindly guide me how to use relative path in sendkeys() because i need to execute the scripts in linux machine as well , can't give full path .

--
Thanks & Regards,
S.Pradeep kumar

SMERSH009X

unread,
Apr 19, 2014, 12:33:10 PM4/19/14
to seleniu...@googlegroups.com
This one has already been answered many times over. See the code in this solution:

Reply all
Reply to author
Forward
0 new messages