aazimurj
11 years agoOccasional Contributor
TestComplete10 fails to record script against silverlight 5
Hi there,
I am facing an issue where TestComplete10 stops recording any user action on controls.
My application is running on IE10 and Silverlight 5.
My TestComplete version is 10.0.531.7
I have patched xap files with tcAgPatcher.exe utility as mentioned in below link:
and i can see native control information (please see attached screenshot "native-silverlight-controls.PNG")
Details of issue:
Following is the test which I am trying to record
Open web app
click on button to open popup-1
popup-1 has a button called add. click on it
popup-2 opens up, which actually a wizard with series of step to add item.
step-1 of wizard is to select a table from list and click on next button.
step-2 of wizard is to specify name and description for table and click on next button
step-3 of wizard is to select columns for table.
Continue towards finishing wizard
My problem is that TestComplete records everything till testcase step-6 and then it stops recording any useraction I perform from step-7 onwards.
I have tried several things like restarting TestComplete, restarting my machine, creating new test script, creating new project suite etc.
I have even tried following method:
1. Record with Testcomplete till step-6 and then stop recording
2. Manually click on next so that it reaches state for step-7
3. Start recording again
I have used objectspy and it does recognize controls on this page of wizard.
The only way I could get it working is by
Using object spy to get the control information of object.
and then writing a jscript to click on it (or do some operation)
For my project more stress is given on Keyword scripting, and that does not work in this case.
Has anyone faced such problem?
If you can please guide me as to how this can be solved, it would be wonderful.
Many Thanks,
Aazim