Converting v3 code creator project to Zenno v5

smol84

Client
Регистрация
06.01.2012
Сообщения
30
Благодарностей
2
Баллы
0
I've already logged a support request for some errors I have come across. I am listing here some items that I have uncovered in my own analysis hoping that it might also help someone else and that hopefully the zenno team can implement fixes when converting these files in future builds.

* The type or namespace name 'Zennolab' could not be found (are you missing a using directive or an assembly reference?).

This seems to come up because of a change in case for the word ZennoLab.
Replace
using Zennolab.CommandCenter;
with
using ZennoLab.CommandCenter;
 

smol84

Client
Регистрация
06.01.2012
Сообщения
30
Благодарностей
2
Баллы
0
The old emulations file no longer exists, it provides an error. Just delete the reference because it has been replace with
using ZennoLab.Emulation;
 

smol84

Client
Регистрация
06.01.2012
Сообщения
30
Благодарностей
2
Баллы
0
Error(s)
The best overloaded method match for 'ZennoLab.CommandCenter.Instance.SetProxy(string, int, string, string, string)' has some invalid arguments. [Row 75; Column 4]
cannot convert from 'bool' to 'string'. [Row 75; Column 41]

This is because the Parameters to set a proxy has changed

Before you had to do it in two steps:
//set proxy in Zenno
instance.SetProxy(proxyNo,proxyPort, false);
instance.SetAuthorizationPolicy("ok","user","pass");

Now it changes to one line
instance.SetProxy( proxyNo,proxyPort,"http","user","pass");
 

smol84

Client
Регистрация
06.01.2012
Сообщения
30
Благодарностей
2
Баллы
0
No overload for method 'Execute' takes 1 arguments.

The way we executed an instance now has changed two two arguments

change
Step1.Execute(instance);
to
Step1.Execute(instance, project)

From what I can tell the " public interface IZennoPosterProjectModel " allows you to store lists, tables and profile information under the project model... Not sure how that works when you multi-thread... I can see some data locking or data sharing issues there. I might stick with declaring my values globally...
 

smol84

Client
Регистрация
06.01.2012
Сообщения
30
Благодарностей
2
Баллы
0
HTMLElement, all the emulations seem to have changed

//he.RiseEvent("click", false);
he.RiseEvent("OnClick", "none");

//he.SetValue(input, true);
he.SetValue(input, "Middle", true);
 

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