Forum Discussion
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.
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.
- TanyaYatskovska11 years ago
Alumni
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/.