-
-
-
-
-
System.NullReferenceException: Object reference not set to an instance of an object.
-
-
-
-
Sometime Expressions doesn't work.
For example:
public static readonly HtmlFindExpression ProjectLabelInProjectsTree = new HtmlFindExpression("id=projectTree", "|", "class=rf-tr-nd-colps", "|", "class=rf-trn-cnt"); Find.ByExpression<HtmlSpan>(MainTestPageObjects.ProjectLabelInProjectsTree).Click();
<div id="projectTree" class="rf-tr"> <div id="projectTree:1st - Projects:j_idt43" class="rf-tr-nd rf-tr-nd-colps firefinder-match"> <div id="j_idt43" class="rf-trn firefinder-match"> <span class="rf-trn-hnd-colps rf-trn-hnd"></span> <span class="rf-trn-cnt rf-trn-sel"> </div> </div> <div id="projectTree:2nd - Deploy Configurations:j_idt52" class="rf-tr-nd rf-tr-nd-lf rf-tr-nd-last"> <div id="j_idt52" class="rf-trn firefinder-match"> <span class="rf-trn-hnd-lf rf-trn-hnd"></span> <span class="rf-trn-cnt"> </div> </div>code return exception -