Unified Functional Testing (formerly QTP) News and Support Forum
Showing results for 
Search instead for 
Do you mean 

Click action is not getting performed in silverlight checkbox..

Highlighted
Occasional Contributor

Click action is not getting performed in silverlight checkbox..

Kindly find the code mentioned below

 

set bb =Browser("Brw").Page("Pge”).SlvWindow("Grid").SlvTable("SlvTbl_Grid").GetCellChildObjects(0,6)
Browser("Brw ").Page("Pge").SlvWindow("Grid").SlvTable("SlvTbl_Grid").ActivateCell 0,6
bb(0).Click
bb(0).Click

 

We have tried highlighting/activating before we go on to perform the click action on the object, It goes on to perform the necessary click action but the checkbox remains empty instead of getting checked.

 

The above code works fine if i open a new test & execute this particular code but it fails if the same is called via a function library which is also associated with the test.