Issue: Public Function ByText(textContent As String) is obsolete

2 posts, 0 answers
  1. Akbar
    Akbar avatar
    19 posts
    Member since:
    Mar 2011

    Posted 22 May 2011 Link to this post


    My company has recently purchased full version of WEB UI test studio. We have encountered an issue with the script which was recorded in previous verion. The following customize code was working fine in the previous version:



    "Process Order"



    But after we have upgraded the new web ui version the same script when executed comes up with following error:
    C:\....\WebUI Test Studio Projects\Original Code\LCBackup.aii.vb: Line 70: (BC40000) 'Public Function ByText(textContent As String) As ArtOfTest.WebAii.Silverlight.UI.TextBlock' is obsolete: 'The method is deprecated. Please use VisualFind.ByTextContent instead.'.

    Please guide on how to rectify the issue.






  2. Konstantin Petkov
    Konstantin Petkov avatar
    1911 posts

    Posted 23 May 2011 Link to this post

    Hi Akbar,

    I've just responded to your question in the other thread you have opened on the matter. Let's continue the discussion there if needed.

    Konstantin Petkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top