Hi,
We are using TestAdvantage window forms 2007 vol2.0 clr2.0 with QTP 9.1.
I am not able to select checkbox which is embed in swfTable(grid) UltraWinGrid control.
Same problem i am getting with Horizontal Scroll bar which is embe in swfTable(grid) UltraWinGrid control and generated at runtime.
below is the code which i have used :-
SwfWindow("Personify: NSSWP").SwfWindow("Meeting Attendance").SwfTable("Grid").ActivateCell "0","mCheckBox"
abc = SwfWindow("Personify: NSSWP").SwfWindow("Meeting Attendance").SwfTable("Grid").GetNAProperty("ActiveCell.Column.CellActivation")
and gettig this error:-
Unable to find assembly 'Infragistics2.Win.UltraWinGrid.v7.2, Version=7.2.20072.61, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'.
Line (155): "abc = SwfWindow("Personify: NSSWP").SwfWindow("Meeting Attendance").SwfTable("Grid").GetNAProperty("ActiveCell.Column.CellActivation")".
Please suggest me the solution if there is any?
Thanks...
Try
SwfWindow("Personify: NSSWP").SwfWindow("Meeting Attendance").SwfTable("Grid").SetCellData"0","mCheckBox", True
thx buddy it did worked.....
Hi, I tried SetCellData method but its throwing "unable to convert from system string to system decimal" error for me. Can you please suggest what could be the problem.
Thanks,
Srinivas
Hello srinirk99,
Would you mind sending a sample script and a sample application so that I can test this internally? Which version of our products and QTP are you using?
I am working with UFT11.5 and Test Advantage 2009V2.
The code I tried was - SwfWindow("ONESOURCE TAX PROVISION").SwfTable("ugSourceEvents").SetCellData "0", "SELECT", True