I want my Script to extract the data from swftable, however I don’t have the add-in for infragistics. When I record with normal recording mode and I click , I get something like this
WpfWindow("testscripts Gateway | Acute Care").SwfObject("sheets").SwfTable("_gridInternal").SelectRow "0;1"
But I believe in table I have two objects
1) First is the header for each section for which I can use GetCelldata and it works, so if do a rowcount I get the rowcount for the headers I have in my table
2) Second is the bands in each section for which I need to extract the data, and it looks like I can’t extract the data from those bands which are available in each section
Is there a way to extract the data from those bands that are available in those bands.
WindowsForms10.Window.8.app.0 ( Version)
Hello Ashish,
I`m not sure that I understand your scenario, so could you please provide us more details
ashish_1977 said:I want my Script to extract the data from swftable, however I don’t have the add-in for infragistics
Do you have installed TestAdvantage for HP . What you your current verion of TestAdvantage and NetAdvantage. What if your version of your HP QTP ?
If you want to extarct the Cell`s data you could used for example:
SwfWindow("Form1").SwfTable("ultraGrid1").ActivateRow "0;0;0"SwfWindow("Form1").SwfTable("ultraGrid1").SelectRow "0;0;0"SwfWindow("Form1").SwfTable("ultraGrid1").GetCellData "0;0;1"
Please let me know if you think that I misunderstood your scenario or if you have any questions.
Regards
I have installed Test Advantage 2010 vol 3, there is no NetAdvantage on my system. My version for QTP is 11.
Right now my main problem is to extra the data from the table which are build using infragistics.
The code you have given me gives me sysntax error as it looks like just expecting only two arguments like .
GetCellData 0,0
Hello ashish,
Could you please tell me what is the version of assemblies that you are using in your Application Under Test (AUT) ?
ashish_1977 said: The code you have given me gives me sysntax error as it looks like just expecting only two arguments like . GetCellData 0,0
Please note that this method accept different parameters depending of your case (for example if you have GroupByRows). If you are using flat UltraGrid, than you should set only two parameters (row and column).,
Let me know if you have any questions.
If you have any further questions, feel free to write us