I\'m using Selenium (within PHPUnit) to test my web application. I would like to test whether a certain image which is present on the page really exists. More precisely, whe
you have to use
storeAttribute
And at the target place u have to mention like this
//img[@src='imagename.png']@src.
And store that in a variable lets say
img
Now verify that by using
verifyAttribute
eg:command:
target:
//img[@src='imagename.png']@src
value:
${img}