Environment: Visual Studio 2005 SP1, Test Advantage 8.3, controls are from .NET Advantage 8.3.
When clicking on the drop down arrow on the control which in a cell of a grid, it is properly recognized as:
GrdItemListTable2().Click(AtList( _ AtCell( _ AtRow(AtLocation("AddRow")), _ AtColumn(AtText("GL Account"))), _ AtLocation("DROPDOWN")))
However, when clicking on a value in the drop down it's only recorded as:
Click(AtCell(AtRow("ID", "Auto"), AtColumn(AtText("ID"))))
Which generates an error: Name 'Click' is not declared. I'm assuming this is because there is no object recognized? Any idea how to work around this, or what I might be doing wrong?
Thanks for looking into this, I definitely appreciate it and will keep an eye out for the fix. Unfortunately we require some of the features in the control we used that the suggested control doesn't have, so we won't be able to use the workaround.
I can workaround it in the scripts by keyboarding for now until a fix is available.
Thanks again!
Hi,
The sample application helped a lot in finding the source of the issue you are experiencing. I noticed that you are using an UltraCombo control as embedded editor for the Grid Cell.
This best way to get this same type of functionality is to use an UltraDropDwon control (full name Infragistics.Win.UltraWinGrid.UltraDropDown) then attach the control to the grid column using its ValueList Property: Private Sub UltraGrid1_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs) Handles UltraGrid1.InitializeLayout Dim mDDown As New Infragistics.Win.UltraWinGrid.UltraDropDown mDDown.DataSource = mCombo.DataSource mDDown.DisplayMember = "Name" mDDown.ValueMember = "ID" e.Layout.Bands(0).Columns(3).ValueList = mDDown
End Sub
Using this approach, you should be able to record and replay fine on the dropdown.
Having said that, using a Combo control is not wrong and I have created a Development ID on your behalf to determine why this is not working properly. Once the issue is fixed you will receive a notification from us with a link to download the fix. If you want to check the status the Development ID please call our developer support and use this case # TFS15953
At this point the best option is to update the application to use the DropDown control as this will meet the best practices and also get you going without waiting for the fix in TestAdvantage.
Regards,
Ammar
Sorry for the confusion, the login I gave you directs you to the wrong folder.
Instead, use:
login: ogtsftp
pass: gtsa55ist
If you open the /outbound/ directory, you should see the two .zip files, one containing the setup.exe for the sample app and the other containing the source.
I opened the ftp location and found 3 zip file and one exe. Which file do I need to install to get the sample application?
We did some testing this morning, and created the test app using the default, uncustomized infragistics grid and combo. I have the same recognition problem with this test app. We figure if we can get recognition going with this test app, it should also work for out customized controls.
You can obtain a copy of the installer and source from our FTP server. Its located in the /outbound/ directory. I've attached the login credentials to this reply in a password protected .zip file. The password is my e-mail address, which you should have on file.