Invoke Select Stopped working on 10.2.3
Invoke Select Stopped working on 10.2.3
Hello, I was using Invoke Select Action to select the Month and Year for Credit Card Expiry, However after upgrading the solution to 10.2.3 it is not working and giving me the following error
Please assist as its breaking my solution
Action 'Select' failed on element '{OptionTag:2022}'.
Failed to raise event 'change'.
Action 'executescript' failed on element '{WebDocument:Pay with your Credit Card - *********}'.
The operation is not supported.
Show/Hide Stacktrace
at Ranorex.Core.Element.InvokeAction(String name, Object[] args)at Ranorex.Core.Element.InvokeActionWithText(String name, String[] args)at EZ_PAY_C_.Accounts.OTP.Payment.Supported_CC_Both_With_Without_ZIP.Ranorex.Core.Testing.ITestModule.Run() in C:\RanorexProjectsCode\EZ_PAY_C_PREP_IO\EZ_PAY_C\Accounts\OTP\Payment\Supported_CC_Both_With_Without_ZIP.cs:line 170at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)
Please assist as its breaking my solution
Action 'Select' failed on element '{OptionTag:2022}'.
Failed to raise event 'change'.
Action 'executescript' failed on element '{WebDocument:Pay with your Credit Card - *********}'.
The operation is not supported.
Show/Hide Stacktrace
at Ranorex.Core.Element.InvokeAction(String name, Object[] args)at Ranorex.Core.Element.InvokeActionWithText(String name, String[] args)at EZ_PAY_C_.Accounts.OTP.Payment.Supported_CC_Both_With_Without_ZIP.Ranorex.Core.Testing.ITestModule.Run() in C:\RanorexProjectsCode\EZ_PAY_C_PREP_IO\EZ_PAY_C\Accounts\OTP\Payment\Supported_CC_Both_With_Without_ZIP.cs:line 170at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)
Re: Invoke Select Stopped working on 10.2.3
Hi,
According to the error message, it seems that the InvokeAction is not supported by the element in question. So my best guess is, that there has something changed in your app? Have you tried to uninstall Rx 10.2.3 and install previously working Ranorex version?
According to the error message, it seems that the InvokeAction is not supported by the element in question. So my best guess is, that there has something changed in your app? Have you tried to uninstall Rx 10.2.3 and install previously working Ranorex version?
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: Invoke Select Stopped working on 10.2.3
Hello,
There is no change in our APP it stopped after update, and now the solution is already to latest version and cannot work in 10.1.7 vrsion.
So I am stuck and cannot convert the solution to lower version.
i tried my other solutions also, that are using the Invoke Select() and is also failing.
There seems to be some change done..
There is no change in our APP it stopped after update, and now the solution is already to latest version and cannot work in 10.1.7 vrsion.
So I am stuck and cannot convert the solution to lower version.
i tried my other solutions also, that are using the Invoke Select() and is also failing.
There seems to be some change done..
Re: Invoke Select Stopped working on 10.2.3
Hi,
In this case, I would suggest to contact directly Ranorex support about this problem. You can contact them here:
https://www.ranorex.com/support-query/
This forum is not the best place to solve issue like this.
In this case, I would suggest to contact directly Ranorex support about this problem. You can contact them here:
https://www.ranorex.com/support-query/
This forum is not the best place to solve issue like this.
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: Invoke Select Stopped working on 10.2.3
I updated from 10.2.2 to 10.2.4 today and face a very similar issue on JS execution.
In the morning it worked, then RX update, now it fails with
This happens in 32-bit as well as 64-bit RX Studio, no matter what I put in as JS command.
The webDoc is created as usual, but ExecuteScript fails.
AUT has not changed, nor did the implementation.
Edit:
I attached a quick sample solution for Chrome and Firefox, both show the same error
In the morning it worked, then RX update, now it fails with
Code: Select all
Action 'executescript' failed on element '{WebDocument.PageTitle}'.
The operation is not supported
Code: Select all
WebDocument webDoc = webDocumentInfo.CreateAdapter<WebDocument>(true);
string language = webDoc.ExecuteScript("return window.navigator.language");
AUT has not changed, nor did the implementation.
Edit:
I attached a quick sample solution for Chrome and Firefox, both show the same error
You do not have the required permissions to view the files attached to this post.
Re: Invoke Select Stopped working on 10.2.3
Hi,
I faced the same issue when tried to run script on Chrome, but it worked with Firefox...
No clue whats happening.
Chrome settings changed in latest versions?
BR,
Gyuri
I faced the same issue when tried to run script on Chrome, but it worked with Firefox...
No clue whats happening.
Chrome settings changed in latest versions?
BR,
Gyuri
Re: Invoke Select Stopped working on 10.2.3
Update:
I rolled back to Rx 10.2.2 and there the above solution works for both browsers.
Chrome: 104.0.5112.81 (Official Build) (64-bit)
Firefox: 91.12.0esr (32-Bit)
Support is contacted, hopefully we will get a fix shortly.
I rolled back to Rx 10.2.2 and there the above solution works for both browsers.
Chrome: 104.0.5112.81 (Official Build) (64-bit)
Firefox: 91.12.0esr (32-Bit)
Support is contacted, hopefully we will get a fix shortly.
Re: Invoke Select Stopped working on 10.2.3
I tried 10.2.2 also, still the issue exists.
However, then I used the option "Continue even if Fail" and it worked and the solution is working fine.
However, then I used the option "Continue even if Fail" and it worked and the solution is working fine.
Re: Invoke Select Stopped working on 10.2.3
We also experienced this issue on 10.2.4 and 10.2.3 and will be using 10.2.2 until Ranorex address the issue.
Re: Invoke Select Stopped working on 10.2.3
Did anyone find a solution for this?
My AUT behaves differently depending on browser language, so I need to get the browser language at runtime, which is to my knowledge not possible without using Javascript.
I sent the sample solution to the support and received an answer that everything works fine at their end - so I am out of ideas.
Even a complete fresh installed Windows system with a complete fresh Ranorex installation and a complete fresh solution/project shows the exact same error on all JS calls.
My AUT behaves differently depending on browser language, so I need to get the browser language at runtime, which is to my knowledge not possible without using Javascript.
I sent the sample solution to the support and received an answer that everything works fine at their end - so I am out of ideas.
Even a complete fresh installed Windows system with a complete fresh Ranorex installation and a complete fresh solution/project shows the exact same error on all JS calls.
Re: Invoke Select Stopped working on 10.2.3
Hello,
No solution Yet. However I got a response from Support, there are many people having this issue.
So the only solution for now is to rollback to the version it was working fine.
For me it was 10.1.6
However, make sure you should use the copy / soution that you backed up before updating the solution else it wont work even in the lower 10.1.6 SOlution Now.
No solution Yet. However I got a response from Support, there are many people having this issue.
So the only solution for now is to rollback to the version it was working fine.
For me it was 10.1.6
However, make sure you should use the copy / soution that you backed up before updating the solution else it wont work even in the lower 10.1.6 SOlution Now.
Re: Invoke Select Stopped working on 10.2.3
I noticed 10.3.0 came out 3 weeks ago (strange btw, that there was no "new version" message on Ranorex Studio Start page),
but the issue with JS still persists
It still reports "operation not supported" on each and every JS call.
but the issue with JS still persists
It still reports "operation not supported" on each and every JS call.
Re: Invoke Select Stopped working on 10.2.3
Hi there,
any update on this topic with 10.4.0?
any update on this topic with 10.4.0?
Re: Invoke Select Stopped working on 10.2.3
I updated to 10.4.0 and behavior is exactly the same, sadly.
But - I am not really surprised.
Because when I sent this issue to the support I was told everything works fine at their end.
So, they won't fix anything they think that is not broken...
But - I am not really surprised.
Because when I sent this issue to the support I was told everything works fine at their end.
So, they won't fix anything they think that is not broken...
Re: Invoke Select Stopped working on 10.2.3
Hi there,
any update on this topic with 10.5.0?
any update on this topic with 10.5.0?