or
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