Invoke Action:WaitForDocumentLoaded method throw error

Bug reports.
rajkamal04
Certified Professional
Certified Professional
Posts: 2
Joined: Thu Sep 11, 2014 3:25 am

Invoke Action:WaitForDocumentLoaded method throw error

Post by rajkamal04 » Wed Jan 07, 2015 1:15 pm

Using smart action Invoke Action : WaitForDocumentLoaded() throw error on execution: "The Operation is not supported" on Ranorex version 5.2.0 onwards.

I tried with different Dom object on different browser and on different machine too.

But when I use the same method WaitForDocumentLoaded() in usercode, it works. Even it works in older version of Ranorex (It was working on Ranorex 4.1).

Please see the attached error screenshot .
InvokeAction_Error.JPG
Error Screenshot
InvokeAction_Error.JPG (49.15 KiB) Viewed 854 times
Thank you!

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Invoke Action:WaitForDocumentLoaded method throw error

Post by Support Team » Fri Jan 09, 2015 12:21 pm

Hi Rajkamal04,

Thank you for reporting this issue. This behavior is already known and should be fixed in one of our next releases.
May I ask you to use the following workaround in order to invoke actions on Dom objects?
  • Add the Invoke Action by clicking the ‘Add New Action’ button
  • Select your desired repository item by clicking the ‘…’ button in the “Repository Item” column
  • Select ‘WaitForDocumentLoaded()’ in the ‘Action Name’ column
Regards,
Markus (S)
.
Image