Invoke Action and Checkbox

Ranorex Spy, Recorder, and Studio.
dkohlenberg
Posts: 3
Joined: Tue Mar 19, 2013 10:11 am

Invoke Action and Checkbox

Post by dkohlenberg » Tue Mar 19, 2013 10:16 am

Hello,

if i use the invoke Action with "check" or "unchek" parameters, the checkbox values in the screen are ok. If i use then the Save Button of the screen, the values of the invoke action are lost. If i set the check box with mouse clicks, the values will be saved.

What is wrong ?

User avatar
Ciege
Ranorex Guru
Posts: 1335
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Invoke Action and Checkbox

Post by Ciege » Tue Mar 19, 2013 4:10 pm

Which invoke action do you speak of? Are you just manually setting the checked value of the checkbox through code? If so, it could be that your AUT expects a user/mouse action of an actual click to trigger some sort of fire event. Manually setting the checked value will not trigger this event. So if you want to manually set the checked value, you will need to fire the event yourself so that the AUT behaves properly.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...