6 Answers, 1 is accepted
I've tried some simple code like this:
and worked fine. Can you please share your code so we can test/debug it locally?
Here is some of the code that is failing when using the InvokeScript method. cw is my ActiveBrowser. This code works on all browsers except Edge.
public void Actual_Finish(string date)
cw.Actions.InvokeScript("$('#ctl00_Main_calActualFinishDate').val(new Date('" + date + "'))");
This is the error I am seeing.
"An exception of type 'ArtOfTest.WebAii.Exceptions.ExecuteCommandException' occurred in ArtOfTest.WebAii.dll but was not handled in user code"
Since you are relying on jQuery you will need more time so that the Edge engine can properly load all dependencies, I've tried this against the Kendo jQuery demos and everything worked fine:
It seems then that the problem is an application specific one. Could you provide a sample app that reproduce the problem to investigate it, please?