EllieFox
EllieFox

Reputation: 1

How can I run Silk-Test (4Test language) for 3 times and get the data from a list everytime? (everytime a different person)

CustomerSearch.Customers.Select ("ARUNDEL, CLAUDE") How do I get a different one from list everytime?

Upvotes: 0

Views: 83

Answers (1)

John Lyttle
John Lyttle

Reputation: 31

You could use the following:

    [ ] INTEGER i
    [-] for(i = 1; i < 4; ++i)
        [ ] TestApplication.ListBoxDialog.TheListBox.Select(i)
        [ ] String sList = TestApplication.ListBoxDialog.TheListBox.GetItemText(i)
        [ ] Print("List Box Selection = " + sList)

John

Upvotes: 2

Related Questions