Forum Discussion

anatar02's avatar
anatar02
Contributor
13 years ago

Problem in retrieving the values from "WinFormsObject"

Hi all, I am here after searching threds and tried to get the solution myself but could not reached the end!! so decided to open a new thred? 



I have a grid which is made in WinFormsObject...here i wanted to retrivew the values from the values from grid or wanted to verify the text....but i could not find out the way to retrive the values or verifying the text, i mean i am not sure which properties i should use to retrive the row text!!! 



Please help me on this as its critical! 





  • Have uploaded the row image which i wanted retrive the text or verify? so could you please help me on this!



    But i was able to check with coulumn...as follow 



     aqObject["CheckProperty"](Aliases["RetailSuite_PosConsoleManager"]["wrkspc"]["tab_Storepos"]["inner_tab_StorePos"]["frm_Storepos"]["frmMain"]["grd_Storepos_Iteminfo"]["uc_Storepos_Iteminfo"]["FocusedColumn"]["TreeList"]["Columns"]["Item_2"](1), "Caption", 0, "Designation");

  • Hi Ashok,


     


    Go through the "Working With Grids" article to try to find an approach you may use. Otherwise, tell us what grid control you are using. What is the value of the control's ClrFullClassName property (you can check it using the Object Browser)?


     

  • Really thanks for your reply!!!...

    The ClrFullClassName is RC.StorePos.PosDialog.Controls.PosDxTreeList... please suggest me to move from this blocker!!! really appreciated your help!

  • Hi Ashok,


     


    That's not a common control. Is there a way to get a sample app with this control so we can try to test it with TestComplete?


     

  • Yes, i got to know that have updated with wrong identification--objects... 

    anyhow 



    i found the solution!!!