Share
Go down
kishore
Posts : 1
Join date : 2010-11-23

Regarding: GIF file in selenium ide

on Tue Nov 23, 2010 7:45 pm
hi , am getting problem while recording the GIF image file. i genrated the testcases successfully but while executing am getting error that'file not found'.So is ther any command that need to be add to execute this file....
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: Regarding: GIF file in selenium ide

on Fri Nov 26, 2010 10:33 pm
Hi

suppose this is a image tag in you application

"image hspace="12" height="31" border="0" width="173" alt="HDFC Bank" src="/common/images/hdfc_logo.gif" "

now you have to use the follwing code to identify image is present or not


verifyElementPresent
//img[@alt='HDFC Bank']



you to provide specific property like alt or in instead of src. Try this may be this help you

Best of luck.

Bye
Back to top
Permissions in this forum:
You cannot reply to topics in this forum