- Регистрация
- 21.08.2013
- Сообщения
- 249
- Благодарностей
- 12
- Баллы
- 18
1.This ProjectMaker action:
should be translated to this:
BUT while using -1 for the Document# in the ProjectMaker action will correctly get the attribute, when using the same value in the C# code it will not get any value at all.
if I'm using:
I will get the expected value but this means I cannot use -1 when I'm unsure of the exact document #. Can someone tell me why this behavior?
2. Where is the Form# in the C# code?
should be translated to this:
Код:
HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("-1").FindElementByAttribute("div", "class", "awesomeClass", "text", 0);
string leftPlusButt = he.GetAttribute("height");
if I'm using:
Код:
[CODE]HtmlElement he = instance.GetTabByAddress("page").GetDocumentByAddress("0").FindElementByAttribute("div", "class", "awesomeClass", "text", 0);
string leftPlusButt = he.GetAttribute("height");
2. Where is the Form# in the C# code?