Prompt User for Image Input

1 view
Skip to first unread message

NobodyFamous

unread,
Oct 25, 2007, 1:09:13 PM10/25/07
to SWExplorerAutomation
Is there any way I can create in the Script Recorder a way to show an
image and then wait for the user to input some data about the image
and click ok?

alex

unread,
Oct 25, 2007, 6:25:37 PM10/25/07
to SWExplorerAutomation
You have to write Windows Forms code for this:

1. Create scene with HtmlImage and HtmlInputText controls. Record
script for it.
1. Create Windows Forms project.
2. Create Form with PictureBox control , Text box and OK button.
3. Generate code for the recorded script and use it in the
application. Assign HtmlImage.Image property to the PictureBox Image
property. On user action (OK) assign HtmlInputText text property to
TextBox text property.

NobodyFamous

unread,
Oct 26, 2007, 4:20:37 PM10/26/07
to SWExplorerAutomation
Ok, I wasn't sure if you had some generic facilities built in to do
this already. I've made some libraries in the past for making 'web
automation' easier, and this was something I included.

Any chance in a future release to be able to do something like simple
user input? This would sure make recording scripts a lot quicker/
easier!

Reply all
Reply to author
Forward
0 new messages