we are working with HP UFT 12.01
and TestAutomation WinForms HP 20141 ( 2014 01)
our application uses .net 4.0
(in version utility chose CLR 4)
we tried also with Coded UI ( under visual studio 2012) but still same results
using your samples under coded UI it worked fine,
but for our application the UFT still sow events as Click (x,y) and nothing related to controls like Ultra tree or Ultra Grid
our application uses CAB ( smart client ).if it make an issue
can you assist ,
Thank you for contacting Infragistics. Which version of Infragistics is your application referencing. If it's not the same as 2014 Volume 1 (aka TA's version), then there will be compatibility issues.
Keep in mind that Coded UI and Test Advantage are two completely separate tools for testing an application. They cannot be used in the same way nor are related.
Another note, I recommend recording against the samples that are included with TestAdvantage to ensure your configuration is setup correctly. If you already tried this what were your results?
The samples are located in the following path under Windows XP for the most recent versions of TestAdvantage: eg.
C:\Documents and Settings\All Users\Documents\Infragistics\TestAdvantage for Windows Forms (HP) [version]\Samples
Sample Location: For Windows Vista and Windows 7 this would be: eg.
C:\Users\Public\Public Documents\Infragistics\TestAdvantage for Windows Forms (HP) [version]\Samples
Let me know if you have any questions.
so i download a trial version of HP just to check (14.03 )
it seem to work , so there might be a issue with 12.01 and Infragistics 14.01
issues that we did found were
a problem with editor button that under the test no action was record for selection or clicking the button.
and sometime dialog windows or message boxs that the test did not record property and failed because of that.
again we have HP 12.01 so i rather use that and not update it yet, ( might not be possible)
Thank you for following up. HP UFT 12.1 is compatible with Infragistics 2014 Volume 1, but I have not seen any issues personally with this setup. However I know that HP UFT version 14.1 had terrible results with our controls. Anything newer is preferable, but please keep in mind that we only tested Infragistics 17.1 and later with HP UFT 14.0.
For more details about our supported environments please visit our website at: https://www.infragistics.com/support/supported-environments
well i tested it again on my machine ( the first tests were at the QA env. so i need to check what is installed or not on it)
i got it to work ( with the samples and our application) so it does not freeze.
i still got an issue with editor button ( button in the ButtonRight collection of the cell)
the UFT does not recognize it , do i need to write a code in the action tab in the UFT to simulate a click on it ?
can you give me an example as how to do so ( working with editor button i mean)
Thank you for following up. I am glad you were able to get the samples and most of your application recording correctly. At this time please provide me with more details on what the editor button does. Is this a custom editor or a standard built in editor of the grid? I am asking this because if the button only modifies the value of the editor, then the changes to the value of the cell should be recorded and could be played back. Does that work in your application? If so is this sufficient for testing your application? Are you attempting to just click on the control in the cell. Click on the control which drops down and then click on a sub control or UIElement after the control is dropped down.
Set oGrid = SwfWindow("Form1").SwfTable("ultraGrid1")
' ClickCellButton looks to see if the cell has a visible ButtonUIElement, if so it clicks it.
'GetCellProperty can get any property from the cell directly, plus a few custom ones added like X,Y,width, and height. Which you can use to click anywhere you want relative to the cell and oGrid.Click
oGrid.GetCellProperty(oRow, oColumn, sPropName)
'PerformAction can perform a number of internal custom actions for the Grid many are self explanatory some that you might find useful (gridEnterEditModeAndDropdown, gridToggleDropdown)
oGrid.PerformAction(oActionEnum, [Optional]oUseShift, [Optional]oUseCtrl)