ContributionsMost RecentMost LikesSolutionsMake SmartBear.TestLeft.WebApiWrapper serializable Hello, I'm creating a Windows forms application to organize and run (via command-line ) my tests created with Testleft. While preparing a POC about this, I run into the following problem: Visual Studio MSTest.exe threw an error stating thatSmartBear.TestLeft.WebApiWrapper is not marked as serializable. Please see picture attatched. Could somebody help me with this error? Would it be possible to release a Testleft version with the refered class marked as serializable? Regards, Leandro de Araújo Souza Re: ADO recordset is closed when being returned from a function Helloghuff2, The answer is very simple but painful, you just can't. The ADO connection closes automatically when the function ends. What I did in order not to rewrite a lot of code: 1 - I wrote a class that called Database; 2 - Database has the methods Close(), Open() and ExecuteQuery() that incapsulates the ADO methods for those actions; Each time I have to query a database I do the following: Database.Open(); var rs = Database.ExecuteQuery(sqltext); //Do something with the recordset while (!rs.EOF){ //Do something } Database.Close(); Another option is to create a complex type using either dotNet or JavaClasses and fill the type with the recordset content and then return your type filled with data. This is a option but it is a bit slow. Regards, Leandro de Araújo Souza Re: Unable to enter password in WndClass: TcxCustomInnerTextEdit type password field Hisandhyaramesh, I missed the double quote around the [Tab] part. Glad you figured yourself. The correct way would be: Aliases.LandmarkII.frmLogon.edtPassword.TcxCustomInnerTextEdit.Keys(Project.Variables.Password + "[Tab]"); Regards, Leandro de Araújo Souza Re: Unable to enter password in WndClass: TcxCustomInnerTextEdit type password field Hisandhyaramesh, Please try to replace the SetText() method for the Keys() method and also add + [Tab] after your Project.variables.variableName. Ex: Aliases.MyLongControlName.Keys(Project.Variables.Password + [Tab]) Let me know if that helps, Leandro de Araújo Souza Re: TestLeft is not taking screenshots when events occurs. I strongly agree with AlexKaras on this. Regards, Leandro de Araújo Souza Re: TestLeft is not taking screenshots when events occurs. HelloMKozinets, Such a feature was very usefull when I first started to explore TC, nowadays I don't make use of it anymore. The reason I don´t use it anymore is that I found TC and Testleft Object Explorer are so much better once you understand about the technology of the application under testing. Thank you for the question, Leandro de Araújo Souza Re: FindAll method Hellowilkinc, It seems that Testleft does not support this method yet but since you've found the container of the child objects that you are looking for, you could implement something like this. suppose you have your containter called myContainer. Class_of_the_child myChildObject = null; do{ try{ myChildObject =myContainer.Find<Class_of_the_child >(new YOUR_TECHNOLOGY_PATTERN() { my_search_criteria1 = search_criteria_param1, my_search_criteria2 = search_criteria_param2 },50); }catch{ //Do whatever error handling you wish. There is no need, the Find method returns null the the object is not found. } //Do whatever you want with the child. You may put them all into an array if you wish while (myChildObject != null) Best regards, Leandro de Araújo Souza Automated screenshot (Test Visualizer) I would like to suggest developement of automated screenshots on Testleft. It makes the test reports more professional, easy to debug and it adds value to the application under test. Best regards, Leandro de Araújo Souza TestLeft is not taking screenshots when events occurs. I would like know how to make TL to take screenshots on events like a click on a button and key typed in a field. As you can see in the picture below none screenshot was taken during my Windows calc test. SolvedRe: How do I click a grid row? Or, click a button in a cell? HelloNformation, Please, record a click in the plus sign and post it here. Please, send the Object Spy of the "plus sign" and also the full Object browser hierarchy of the component. Regards, Leandro de Araújo Souza