Hi,
Whenever I run below code on VM machine .It throws an exception "Action 'performclick' failed on element '{TdTag:Test}" .
Test.EnsureVisible();
Test.Focus();
Test.PerformClick();
"Action 'performclick' failed on element '{TdTag:Test}'.
I am using Ranorex 6.0 Mozilla Firefox 45.2.0, Windows 7 Professional SP1.
Is this a bug?
Thanks,
Archana
Exception found when performClick with Firefox 45.2.0
-
- Posts: 2
- Joined: Mon Jul 18, 2016 10:12 am
Exception found when performClick with Firefox 45.2.0
Last edited by archanajagdale on Tue Jul 19, 2016 11:55 am, edited 1 time in total.
Re: Exception found when performClick with Firefox 45.2.0
Hi,
I'm not aware of any such problem with PerformClick? Have you tried to use Click() instead of PerformClick()? PerformClick is generally not recommended to use, because it may not trigger "onmouse" events attached to the clicked element. If Click works OK, use it instead of PerformClick.
BTW, could you please post a HTML sample (e.g. using http://www.w3schools.com), in which we can test your code? If the problem is only reproducible with your HTML (and not HTML table in general), it would be nice to see the problematic piece of code.
I'm not aware of any such problem with PerformClick? Have you tried to use Click() instead of PerformClick()? PerformClick is generally not recommended to use, because it may not trigger "onmouse" events attached to the clicked element. If Click works OK, use it instead of PerformClick.
BTW, could you please post a HTML sample (e.g. using http://www.w3schools.com), in which we can test your code? If the problem is only reproducible with your HTML (and not HTML table in general), it would be nice to see the problematic piece of code.
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
-
- Posts: 2
- Joined: Mon Jul 18, 2016 10:12 am
Re: Exception found when performClick with Firefox 45.2.0
I tried below solutions but, still getting the same exception as above:-
1. By adding two more properties--EnsureVisible(),Focus() for TdTag.
2. By creating Ranorex.core.element and convert it to WebElement.
3. By using Click() method.
1. By adding two more properties--EnsureVisible(),Focus() for TdTag.
2. By creating Ranorex.core.element and convert it to WebElement.
3. By using Click() method.
Re: Exception found when performClick with Firefox 45.2.0
Hi,
As mentioned in my previous post, please post an HTML sample code with which we can reproduce the issue.
As mentioned in my previous post, please post an HTML sample code with which we can reproduce the issue.
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