I understand, but let me write again what I want to achive but don't know how I can do this in Test Studio.
I have a table with different results. I want to extract the value from first column in random row of this table and then use it in input value field.
Now if I use Test Studio Extract 'TextContent' on 'ZVEP50452892TableCell' into DataBindVariable $(paymentRequest) I get the value in the following output: ZVE-P5045-2892.
But to use it as an input, I have to have only last digits after the last "-" sign.
Is there any way to do this without VB? Can someone point me where I can find a way to randomly select a cell value from table, then use the value, parse it and then use it in another element?
I found a way to use VB to parse the vale, but I don't know what should I use to parse it? This doesn't work Dim cellValue As String = Pages.SettlementsOurApp0.ZVEP50452892TableCell.AssertContent().TextContent(ArtOfTest.Common.StringCompareType.Contains, "ZVE-P5045-2892").
What parameter, value, element can I use in VB code and how?
Please let me know, because this is really a show stopper for us.