Forum Discussion

gopi845's avatar
gopi845
New Contributor
11 years ago

Application GUI developed on ComponentOne V4 of Silverlight5 is feasible with TC10.6 ?

Hi All,

 

We are checking the application automation feasibility with TestComplete 10.6.

The application details are as below:

Platform : .Net 4.5

GUI : Silverlight V5 with third party controls ComponentOne V4 and RadiantQ V5

 

The ComponentOne controls used to develop the GUI of application belongs to Silverlight ComponentOne. They are not related to controls of ComponentOne for .Net

 

All the ComponentOne grids(C1 Grid, C1 FlexGrid and C1 DataGrid) are identifying as group of textblocks, images and buttons with TestComplete.

 

Please help me on this.

 

 

 

 

3 Replies

  • Hi Gopi,

     

    I recommend that you start with reading the "Testing Silverlight Applications" ( http://smartbear.com/viewarticle/55409 ) help topic to better understand the ways TestComplete tests Silverlight applications. Also, it makes sense to record a test and analyze the results.

     

    As you are using third-party controls, you will need to code some tests so that you could test the controls via their native methods and properties. Otherwise, only coordinate clicks will be possible.

    Please refer to our How To section – you can find several samples demonstrating how to test ComponentOne controls.

     

    • gopi845's avatar
      gopi845
      New Contributor

      Hi Tanya Gorbunova,

       

      I prepared the application to identidy the objects of silvelight(processed with tcAgPatcher.exe) and recorded few scripts.

       

      The ComponentOne controls used to develop the application are not realted to .Net . The controls used are Silvlerlight ComponentOne controls. These controls contain different type of grids like C1 Grid, C1 FlexGrid and C1 DataGrid etc.

       

      All these grid controls are identifying as group of textblocks,images and buttons with out any relationship between them(all are present in the grid) using object spy.

       

      Could you please let me know TestComplete handles Silverlight5 ComponentOne v4 contols or not?

      If ,Yes how it identifies the objects of Compone?

       

      Please help me on this.

      • Hi,

        You will need to create your own function that works with the controls via their native methods and properties. You can review the example posted in How To (see my previous reply).

        So, you need to analyze your controls in TestComplete’s Object Browser and identify the methods and properties you can use. I recommend that you switch to the Advanced View mode in the Object Browser and enable showing hidden properties - http://smartbear.com/viewarticle/55599/.