Windows 7 Enterprise 32 bits
I'm evaluating the product.
I'm having difficulties to interact with what I think that's a button in my system.
In the spy its selected as a button, and the Spy can highlight it without any problem.
Heres the exception.
Code: Select all
Item 'ProjetoPilotoRepository.SESuite2.Categoria.BuscarIcone' is no Button.
The element does not support the required capability 'button'.
at Ranorex.Core.Repository.RepoItemInfo.Find[T](Boolean findSingle, Boolean throwException, Duration effectiveTimeoutOverride) at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[T](Boolean throwException, Duration waitTimeout) at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[T](Boolean throwException) at ProjetoPiloto.ProjetoPilotoRepositoryFolders.CategoriaFolder.get_BuscarIcone() in c:\Users\Administrator\Documents\Ranorex\RanorexStudio Projects\ProjetoPiloto\ProjetoPiloto\ProjetoPilotoRepository.cs:line 1425 at ProjetoPiloto.CadastrarCategoria.Ranorex.Core.Testing.ITestModule.Run() in c:\Users\Administrator\Documents\Ranorex\RanorexStudio Projects\ProjetoPiloto\ProjetoPiloto\CadastrarCategoria.cs:line 120 at Ranorex.Core.Testing.TestSuiteModule.RunInternal(DataContext parentDataContext)
Code: Select all
<button type="button" tabindex="60" title="Selecionar ícone" id="zoom_symbol" class=" defaultZoom defaultZoomBtnOver" onclick="zoom_scorelevel_symbol();"><img src="../../common/baseclass/imgs/smlbuttons/zoom.gif" width="13px" height="16px" class=" imageDefaultZoomButtonOver"></button>
Code: Select all
body//button[@id='zoom_symbol']
Code: Select all
body//button[@id='zoom_symbol']/img[@src<'zoom.gif']
Theres a snapshot attached. I hope it helps.
Thanks in advance!