- Регистрация
- 01.02.2012
- Сообщения
- 4 812
- Благодарностей
- 1 187
- Баллы
- 113
There is example action what makes wrong converting.
When you convert this action it makes it like this:
This code search element like with OR and not AND
I have reported and asked that long before, as I see no changes there.
When you convert this action it makes it like this:
C#:
// Action designer, type RiseEvent
HtmlElement he = instance.ActiveTab.GetDocumentByAddress("0").FindElementByAttribute("button", "innertext", "^Submit$", "regexp", 0);
if (he.IsVoid) {
he = instance.ActiveTab.GetDocumentByAddress("0").FindElementByAttribute("button", "value", "1", "text", 0);
}
if (he.IsVoid) return -1;
// Emulation delay
instance.WaitFieldEmulationDelay();
// Call the event "click"
he.RiseEvent("click", instance.EmulationLevel);
I have reported and asked that long before, as I see no changes there.