Page 1 of 1

Invoke Action doesn't work now

Posted: Tue Jan 28, 2014 2:48 pm
by Shruti
Invoke action is not working in my test now.
I am unable to figure out the reason for the same.
I am using Firefox 24.0 and Ranorex 4.1.4 .16685 installed.

Re: Invoke Action doesn't work now

Posted: Tue Jan 28, 2014 3:39 pm
by krstcs
Without more information we will not be able to help. Please include more information about the problem, and be as specific as possible.

If you can post a snapshot of your SUT, and a sample test solution that demonstrates the problem that would be helpful.

See this page for creating a snapshot:
http://www.ranorex.com/support/user-gui ... files.html

Re: Invoke Action doesn't work now

Posted: Thu Jan 30, 2014 7:35 am
by Shruti
Hello,

Thanks for your response.
I have attached the element snapshot.
Also, please refer the below screenshots of my recording and browser details.
performClick.png
firefox_details.png

Also, If I look at the report, it says that perform Click action was performed successfully.

Adding part form report:
00:07.005 Info Invoke Action

Invoking PerformClick() on item 'ProjectCreationTool.LoginControls.LoginButton'


Please note that the same is working in Chrome but not in Firefox.

Regards,
Shruti

Re: Invoke Action doesn't work now

Posted: Thu Jan 30, 2014 2:25 pm
by krstcs
I would recommend using Click() instead of PerformClick().

The InvokeAction requires the events to be set up correctly in the AUT, and in this case it doesn't appear to be the case. Some application frameworks and some developers do things in ways that InvokeAction cannot manipulate correctly. This isn't something that Ranorex can "fix", it has to be done by the developers of your AUT.

Unless you know for sure that the event will fire using the PerformClick, I would suggest that you stick to the Click action instead.