Exit code variable is not specified

rnbguru

Новичок
Регистрация
21.05.2013
Сообщения
5
Благодарностей
0
Баллы
0
I tried watching tutorials and googling for this, but couldn't find any clues. I am using the demo for zennoproject and getting frustrated.

My project is pretty simple. Go to page, click text box and enter text. Then Press enter key. Retrieve variables from screen.

To "simulate enter key" I added C# code to which I included:

Emulation.Emulator.SendKey(instance.ActiveTab.Handle,System.Windows.Forms.Keys.Enter,Emulation.KeyboardEvent.Press);


However, now that block is red and says "Exit code variable is not specified." Clicking debug throws a warning as a result of this. How do I provide an exit code variable so that the code will continue processing?
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
C# action has variable field for exit code. Just select any varialbe in the action
 
  • Спасибо
Реакции: rnbguru

rnbguru

Новичок
Регистрация
21.05.2013
Сообщения
5
Благодарностей
0
Баллы
0
Thanks for your help! Sorry for cross posting this to both non-client and zennoposter MP, but I saw this section didn't get many posts so I thought that might be better.

I hadn't realized that piece was needed.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)