0
votes

I am new at both automated testing (Coded UIT) and this site so bear with me. I recorded and generated the code for my tests (in C#). I inserted some text assertions that work in IE but fail on FF(ver 27) and Chrome(ver 33). Assert displaytext fail because the value of the field returned is null. Assert InnerText fails because the value returned is Upper case. Can someone help me resolve this issue. Thanks

2

2 Answers

0
votes

I ended up modifying all the asserts manually so my playback don't all fail on FF and chrome.I still feel like there's got to be a better to do this as it is very time consuming. Anyway here is an example:

public partial class UIMap
{
    public void AssertVancouverBreadCrumb1()
    {
        #region Variable Declarations
        HtmlDiv uIBreadcrumbPane = this.UITourScheduleMAAXBathWindow3.UIVancouverBCTourSchedDocument.UIBreadcrumbPane;
        #endregion

        Assert.AreEqual("Home ›  VANCOUVER", uIBreadcrumbPane.InnerText.Trim(), ignoreCase: true);
    }
}