Contributions
Questions About the Object Spy
Hello TestComplete Forums! Is there anyway through the SDK to extend the object spy window? What I would Like to do: - Upon selecting an object, have a button to export the alias to the clipboard, another program, to a file, wherever :-) If you need more information, please let me know, I will try and be as descriptive as possible. Thanks! -Stephen Raghunath1.3KViews0likes1CommentRe: Creating JSON from Testcomplete Objects
Let me explain further: I would like to store objects in an external database so that we can develop mocha tests using these objects running in a Node.JS environment. I would like to serialize the tc object into JSON, and I am able to send that via post to a web server db on local host. However serializing the object into JSON I haven't figured out. external libraries like json2.js also fail on the same for in loop.1.9KViews0likes0CommentsCreating JSON from Testcomplete Objects
Hello Testcomplete Community! I would like to know if it is possible to create JSON from testcomplete objects. So far this code fails when starting the For In loop: function lookdeep(object){ var collection= [], index= 0, next, item; for(item in object){ if(object.hasOwnProperty(item)){ next= object[item]; if(typeof next== 'object' && next!= null){ collection[index++]= item + ':{ '+ lookdeep(next).join(', ')+'}'; } else collection[index++]= [item+':'+String(next)]; } } return collection; } The object supplied is from the objects spy on screen to a mapped object (in this case a gird.) Thank you all in advance! Stephen4.2KViews0likes2CommentsRe: Creating KWT tests via scripting
Data-Driven Testing is a cool feature, but it is not what I am looking for. I would like to create those groups of validations, which will vary greatly in what they are validationg on from Grids, Trees, Tabs, Checkboxes ETC. Developers then use these logs in the generated KWT as an outline to put in the right validations and actions1.3KViews0likes0CommentsRe: Creating KWT tests via scripting
Test data from Database 1. Validate Row One has Values 1, 2, 3 2. Validate Row Two has Values 3, 4, 5 Script will generate steps: Group 1 - Validate Row One - Valdate value 1 Log - Valdate value 2 Log - Valdate value 3 Log Group 2 - Validate Row Two - Valdate value 4 Log - Valdate value 5 Log - Valdate value 6 Log1.3KViews0likes0CommentsCreating KWT tests via scripting
Hello Smart Bear Community! I am interested in creating Keyword tests via an outside creating applications. Here are the Details: 1. User Enters an ID of a test 2. Test has several logs to message 3. Application writes the xml 4. Application saves as Keyword Test format Now I have steps 1 and 2 down. What I need help with is creating the appropriate XML-like structure for generating Keyword Tests in this manner. Thank you all who view for your time and effort, and if you need more details, please ask :-) Thanks! Stephen4.3KViews0likes7Comments