I´m trying to click on an add button over IE.
The issue is, that the element can be scanned and i´m also able to check the element if i
click on "Highlight". But while executing the test i get following error:
(please note, that I delete some sensitive data of the error message and the code)
Item 'TestcasesRepository.Online.N2__Aussendung_erfassen.Videoverbreitung.VideoHinzufuegen' is no Button.
The element does not support the required capability 'button'.
Here the Code:
Report.Log(ReportLevel.Info, "Mouse", "Mouse Left Click item 'Online.N2__Aussendung_erfassen.Videoverbreitung.VideoHinzufuegen' at Center.", repo.Online.N2__Aussendung_erfassen.Videoverbreitung.VideoHinzufuegenInfo, new RecordItemIndex(2));
repo.OTSOnline.N2__Aussendung_erfassen.OTS_Videoverbreitung.VideoHinzufuegen.Click();
Delay.Milliseconds(200);
I also tried to change the ClickFunktion instead of a "Left" to "Down" and "Up".
Operating System: Windows 7
Ranorex Version: 5.3.3.24484
Thank you in advance.
Element of type "button" cannot be clicked
Re: Element of type "button" cannot be clicked
Hi,
It would be helpful, if you could post Ranorex Snapshot of the problematic "button".
Anyway, here are some forum posts regarding your issue...
http://www.ranorex.com/forum/difficulty ... tml#p29884
http://www.ranorex.com/forum/button-or- ... tml#p30564
http://www.ranorex.com/forum/cant-click ... tml#p23682
It would be helpful, if you could post Ranorex Snapshot of the problematic "button".
Anyway, here are some forum posts regarding your issue...
http://www.ranorex.com/forum/difficulty ... tml#p29884
http://www.ranorex.com/forum/button-or- ... tml#p30564
http://www.ranorex.com/forum/cant-click ... tml#p23682
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Element of type "button" cannot be clicked
Thanks a bunch. It works great know.
So for all of you, who have issues with buttons, try to change in the propertys of
the repository item which fails and change the "Adapter Type" to "buttontag".
Thanks again. That was a huge help.
So for all of you, who have issues with buttons, try to change in the propertys of
the repository item which fails and change the "Adapter Type" to "buttontag".
Thanks again. That was a huge help.
Re: Element of type "button" cannot be clicked
You are welcome. You see, most of the questions have been answered before
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration