on ‎2020 Oct 22 7:46 PM
Hi I was wondering how to show text being entered into a a cell in the simulation. I've tried inserting the keystroke interaction and the cell shows the value but not the action itself moving from 0.00 to 1.6. I would like it to actively type 1.6 into the cell.
How can I make sure enable now captures the text being inputted? I've also tried Insert Mouse action, keystroke, Insert Text action(this just shows 1.6 it doesn't show the cell moving from 0.00 to 1.6). Is it because I am not typing it in a certain format? Please press $#{key_desc}.
Please help
Request clarification before answering.
OK, a lot to unpack there. To start with, the action of 'entering 1.6' should be captured OK assuming you are using the correct Recording Profile (e.g. MS Excel if you are recording Excel...). If it is being captured correctly then you should have an Input Text macro, with an Input Text property of 1.6. If you find that you have three separate Input Text macros for typing "1" then "." then "6" then you are using the wrong Recording Profile.
There can be issues where you are overtyping an existing value, because there are a lot of ways to do this (delete vs backspace vs cursor vs a combination of them all). I find it helpful to pause recording, select all the text, restart recording, and then enter the required value (1.6 here).Then, what you need to do is enter the original value - "0.00" in your example - into the Value property of the Input Text macro. This will make playback during Practice mode more realistic. (If you want the user to have to enter the number to 2 decimal places or something, use a Regular Expression.)
You shouldn't need to capture a 'click in' action - this is treated as a part of the Input Text macro. However, if you like, you can select the Set Focus property - that will result in the cursor automatically being positioned in the input field (cell) so the user doesn't have to click in the field themselves. In my opinion this makes the exercise 'less realistic', but it can be useful if that's how the system works.
Finally, make sure the Animated property is selected. This will show the text being typed into the field one character at a time, in Demo (and Concurrent) mode. Actually, with long texts it does the first half a dozen characters one at a time then just inserts all the rest - but for your short text it will be OK. I think this is maybe the main thing you are missing.
You also show a Placeholder code in your question, but I'm not sure why. This is the Hotkey placeholder, and String Input macros do not have a Hotkey property.
Hope this helps. Accept this answer if it does.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.