Forum Discussion
You are right . whatever the grid sTestcomplete is supporting now - how testcomplete start supporting those grids. is it because those have high number of requests ?
Honestly... I don't know. I'm pretty sure there's alot of processing going into the decision... market share, number of requests, complexity, etc.
I'm guessing one of the reasons why SlickGrid is not supported YET is its open-source positioning. This is not a deterrent (SmartBear has several open source product offerigns themselves) but because it doesn't have (a based upon the website) a stable nature of something that you can say "here's our component", it's kind of hard to support it in a tool like TestComplete. As soon as they support it, all it takes is for someone to come along and change the component so the tool no longer works with it. So.... perhaps that's a factor, too.
Now... all that said, please understand.
i am not a SmartBear employee so all these statements are my opinion and my opinion alone and are not reflective of SmartBear's actual policy.
In the meantime, as TanyaYatskovska said, you're best bet until support can be added (if it will be added) is to work with native properties and methods and such on the grid component itself and write your own library of functions to interact with the component. I've had to do that many times in the past and it really works well if done well.
- nisgupta5 years agoValued Contributor
Thanks tristaanogre
Do you have any examples somewhere where automation is done for the grid where testcomplete do not support it ?
Thanks
Nishchal
- tristaanogre5 years agoEsteemed Contributor
I don't have any, personally, no. All the grids and such that I work with are fully supported by TestComplete and recognized as components with rows, columns, cells, etc. So, I'm not sure how much help I'm going to be with that. Perhaps there's someone else that can give more help to you. Keep in mind, any such work will be unique to that grid and may not apply to yours. You will need to work with the native properties and methods of the grid component. Find that grid in your Object Browser (not the sub panels, etc), and start examining all the properties and methods. Refer to the documentation for the grid to understand what's there and how to use it. It's going to take code work to get this to work but it can be done.
- nisgupta5 years agoValued Contributor
We are trying to use FindChild to identify the object. If the object is identfied then we can use Testcomplete properties and methods. But there is a problem testcomplete IDE do not display the methods and properties while coding.
For e.g.
var STVDEGCGrid = Aliases.browser.pageApplicationNavigator.frameBannerhs.formFrames7.panelPnlstvdegc1canvas.panelGrdstvdegc;
var propCodeArray = new Array("ObjectType","contentText");
var valueCodeArray = new Array("Panel","ADN");
var codeColumnValue1 = STVDEGCGrid.FindChild(propCodeArray,valueCodeArray,10);if(codeColumnValue1.Exists){
Log.Message("hello");
Log.message(codeColumnValue1.);
}
after typing codeColumnvalue1. it do not display any properties and methods ?Please advise
Let me know if more information is required
Thanks
Nishchal
Related Content
- 9 months agolodecesa
- 8 months agoMehwishDaud
- 2 years agorodm0001
Recent Discussions
- 2 days agovladd1