- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2016 12:12 PM
Hello experts,
How can I change State using state value from the JavaScript Executor? Instead of running through all the steps to get back to towards the end, I need to test multiple ui actions - I'm trying to use ctrl+shift+alt+j in the form to go back to a previous state. Is this possible?
Something like current.state == 5; - Nothing happens when I execute.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2016 12:42 PM
If you want to save the form you need to do this
g_form.setValue('state',5);
g_form.save();

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2016 12:53 PM
Glad you got your question answered.