I have a windows.net application that UFT does not recognize list boxes as swfList objects. I'm trying to test using the Test Automation WPF trial but after installation I do not see the add-ins when I open UFT or the .xml and .cfg files in UFT's dat\Extensibility\WPF folder.
I'm using UFT 14.01 which was installed before installing Test Automation WPF.
OS is Windows 7 Enterprise edition 64-bit.
Hi Paul,
Because your only testing, identifying controls can be tricky, but there are tools out on the web that can help you.
One utility in particular is called Process Explorer. This will tell you precisely which DLLs are loaded by an application at the time it is being used. The panes will tell you their source and the word Infragistics and the names will appear.
I would ask the developers for screenshots/specs outlining what is and isn't a third party/Infragistics control. Keep in mind UFT should still identify regular Dot Net Microsoft controls, but you'd have to reach out to Microfocus after confirming which controls if they are indeed not ours your having issues with. Our add-on simply extends our controls only.
Let me know if you have any questions.
I have local admin rights on my laptop. I have uninstalled WPF and Win Forms and reinstalled Win Forms. I have successfully tested both VersionFree and CLR 4.0 and ran one of the sample scripts. For the list box control in my .NET Windows application I'm not seeing any changes when recording objects. I'm wondering if I recieved incorrect or missing information from the developers. Please let me know what kind of information they can provide to ensure that controls are indeed are Infragistics.
Hello Paul,
If the sample is open and the script is failing then that tells me Test Advantage for Windows Forms is not enabled or not installed. First close UFT, and please visit the Version Utility and enable it there. You can find the Version Utility under tools in ProgramFiles x86 or clicking Start and searching Version Utility.
At this time I would ignore or uninstall Test Advantage for WPF because you aren't testing WPF controls or apps.
I've also installed Test Automation for Micro Focus UFT as well. Help file does not referance verfication of installation files other than manully configuration. UFT was installed prior to Test Automation for Micro Focus UFT. Tried running script WinEditors Within WinGrid and got the following errors.
Object doesn't support this property or method: 'SwfWindow(...).SwfTable(...).DoubleClickRow'Line (30): "SwfWindow("WinEditors Within WinGrid").SwfTable("ultraGrid1").DoubleClickRow "0"".
Object doesn't support this property or method: 'SwfWindow(...).SwfTable(...).DoubleClickHeader'Line (34): "SwfWindow("WinEditors Within WinGrid").SwfTable("ultraGrid1").DoubleClickHeader 0,"Item"".
Object doesn't support this property or method: 'SwfWindow(...).SwfTable(...).DoubleClickCell'Line (56): "SwfWindow("WinEditors Within WinGrid").SwfTable("ultraGrid1").DoubleClickCell "1","Item"".
Object doesn't support this actionLine (59): "isActiveCell = SwfWindow("WinEditors Within WinGrid").SwfTable("ultraGrid1").GetCellProperty( "1" , "0;Item" , "IsActiveCell")".
Cell in row 1 column Item is not the active cell
Object doesn't support this actionLine (68): "text = SwfWindow("WinEditors Within WinGrid").SwfTable("ultraGrid1").GetCellProperty( "1" ,"0;Item", "Text")".
Text of cell does not match the activeCell Text
General run error.Line (84): "SwfWindow("WinEditors Within WinGrid").SwfTable("ultraGrid1").MakeCellVisible "7" , "0;Item"".
Object doesn't support this property or method: 'SwfWindow(...).SwfTable(...).SwapColumns'Line (87): "SwfWindow("WinEditors Within WinGrid").SwfTable("ultraGrid1").SwapColumns 0 , "Item" , "OrderBudget"".
Object doesn't support this property or method: 'SwfWindow(...).SwfTable(...).HideColumn'Line (90): "SwfWindow("WinEditors Within WinGrid").SwfTable("ultraGrid1").HideColumn( "0;ItemPrice")".
Column Price is not hiddenObject doesn't support this property or method: 'SwfWindow(...).SwfTable(...).ShowColumn'Line (103): "SwfWindow("WinEditors Within WinGrid").SwfTable("ultraGrid1").ShowColumn( "0;ItemPrice")".
Thank you for contacting Infragistics. Our Windows Forms tool suite has a WinListView control. We don't have a WPF list box control.
In order to properly test Windows applications with swfnames you need to install our Test Advantage for Windows Forms product instead.