This is a migrated thread and some comments may be shown as answers.

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

1 Answer 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Akbar
Top achievements
Rank 1
Akbar asked on 23 May 2011, 04:36 AM
Hi,

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:

pages.BORWL08D63186Wmservice.SilverlightApp.LstProcessOrdersListbox.Find.ByText(Data(

 

"Process Order"

 

).ToString()).User.Click()

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.

Regards

Akbar

 

 

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 23 May 2011, 09:52 AM
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.

Greetings,
Konstantin Petkov
the Telerik team

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

Tags
General Discussions
Asked by
Akbar
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or