Contributions
- 1.9KViews0likes1Comment
Re: List view items
Hi, I decided to try something else - my goal is to print entire listView. I've tried almost everything to just print at least one of the element in listView, but nothing seems to work, I tried using spy to verify the number of parametersaccepted by listView.Items, but I guess i'm doing something wrong. For example: calling method listView.Items.Count and listView.Colums.Count is working OK. So how can I print an item (I want to get string in log message or in a .txt file) in a specific row and column?1.9KViews0likes3CommentsList view items
Hi everyone, I'm new to TestComplete and i'm having problems with list view control. I am using TestComplete to test .NET based application. Issue: I'm trying to find a specific item in list view control and I was helping with the example on this link:https://support.smartbear.com/viewarticle/24752/ -- Function checkValueExists(listView, value) Dim i, j For i = 0 To listView.Columns.Count - 1 For j = 0 To listView.Items.Count - 1 If listView.Items(j,i) = value Then checkValueExists = True Exit Function End If Next Next checkValueExists = False End Function --- When using this function it gives back an error: Wrong number of arguments or invalid property assignment: 'listView.Items' --Solved2KViews0likes5CommentsNameMapping problems
Hi everyone. I'm new to TestComplete and i'm having problems with namemapping. I am using TestComplete to test .NET based application. Issue: In these .NET app, user does a few procedures and after he is finished app creates a basket with selected items. In namemapping everytime the basket is created it's generated with different name. Can please anyone help me, how can I write a script where I can reference to created basket and the elements with in?892Views0likes3Comments