ContributionsMost RecentMost LikesSolutions[TestComplete] Test runner exit code: 259. I m facing weird failure suddenly while executing suite via test execute Please Help on this please find below error: $ '"C:\Program Files (x86)\SmartBear\TestExecute 12\bin\TestCompleteService12.exe"' //LogonAndExecute //lDomain: "" //lName: "Administrator" //lPassword: ******** //lTimeout: "-1" //lUseActiveSession: "true" //lCommandLine: '""C:\Program Files (x86)\SmartBear\TestExecute 12\x64\bin\TestExecute.exe" c:\jenkins\workspace\setup-environment-fresh\cmp\testcomplete\Nectar_Automation_Project\Nectar_Automation_Framework.pjs /run /SilentMode /ForceConversion /ns /exit /ExportLog:c:\jenkins\workspace\setup-environment-fresh\1565710646742.tclogx /ExportLog:c:\jenkins\workspace\setup-environment-fresh\1565710646742.htmlx /ErrorLog:c:\jenkins\workspace\setup-environment-fresh\1565710646742.txt /DoNotShowLog UserInputsPath:c:\jenkins\workspace\setup-environment-fresh/userconfig /JenkinsTCPluginVersion:2.1"' [TestComplete] Test runner exit code: 259. [TestComplete] [WARNING] Unable to find the log file "1565710646742.tclogx". [TestComplete] [WARNING] Unable to find the log file "1565710646742.htmlx". [TestComplete] [WARNING] Errors occurred during the test execution. [TestComplete] The test execution finished (Nectar_Automation_Framework). SolvedRe: [Day 2/5] APIvsUI - Define what API testing / UI testing Is With the emergence of extreme programming, test-driven development and other agile methods, UI testing have become an important part of almost every QA effort. At the same time, many applications provide application programming interfaces (APIs) to allow code-level access to functionality. These APIs, just like any other interface into the product, must be tested before they are released to the end-users. This article will examine the key similarities and differences between these two types of testing, focusing on the tools, the people involved in each, and the approaches taken to get the best results for your time and effort. Since both API-testing and UI-testing target the code-level, we can use similar tools for both activities. The most commonly used UI-testing tools, such as the JUI test framework, can also be used to build your API testing harness. In many organizations we’ve worked with, the UI testing and API testing activities are owned by different teams. UI testing is almost always an activity that is owned by the QA team; developers are expected to build UI tests for each of their code modules (these are typically classes, functions, stored procedures, or some other ‘atomic’ UI of code), and to ensure that each module passes its UI tests before the code is included in a build. This practice makes a lot of sense because it helps the developers solidify their code. Often times, this effort requires debugging and bug-fixing in real-time. API testing, on the other hand, is typically an activity owned by the QA team, staff other than the author of the code. API tests are often run after the build has been created, and it is common that the authors of the tests do not have access to the source code; they are essentially creating black box tests against an API rather than the traditional GUI. Another key difference between API and UI testing lies in the test case design. UI tests are typically designed by the developers to verify the functionality of each UI. The scope of UI testing often does not consider the system-level interactions of the various UIs; the developers simply verify that each UI in isolation performs as it should. API testing, like other activities owned by the QA team, must consider the ‘full’ functionality of the system, as it will be used by the end user (in this case, another program). This means that API tests must be far more extensive than UI tests, and take into consideration the sorts of ‘scenarios’ that the API will be used for, which typically involve interactions between several different modules within the application. So if your product contains an API that must be tested, how should you approach the task? First of all, recognize that API testing is a testing activity that happens to require some coding, and is usually beyond the scope of what developers should be expected to do. The testing team should own this activity. Secondly, recognize that traditional testing techniques such as equivalence classes and boundary analysis are also applicable to API testing, so even if you are not too comfortable with coding, you can still design good API tests. Finally, recognize that you will not be able to test all possible scenarios that are possible to use with your API. Focus your testing on the most likely usage scenarios, and also apply techniques such as Soap Opera Testing and forced error testing using various flavors of data type and size to increase your confidence in the test coverage. Re: Error: Member not found. While trying insert values in table variable Oh man,you are genius..worked fine.get your kudos ,well done tristaanogre thanks for response Re: Error: Member not found. While trying insert values in table variable "fn_resetVariable" - just remove data from table and keeping as empty table variable Project.Variables.tbl_CopyToClipBoard.$set(tempCol,cl-1,tempValue); from above line while inserting tempCol = "release" tempValue = "3.041S" i m getting as error as member not found [exception] Re: Error: Member not found. While trying insert values in table variable function fn_StoreClipBoardToTable() { // var defaultColumnLine = 0, defaultRowLine = 1; var txt_clipboard = Sys.Clipboard; var arr_ClipBoardTxt = txt_clipboard.split("\n"); var columnValues, rowValues,arr_ColumnValues,arr_RowValues; columnValues = arr_ClipBoardTxt[0]; arr_ColumnValues = columnValues.split("\t"); //Storing Vlaues to Project variable fn_resetVariable("tbl_CopyToClipBoard"); var tempValue = ""; try { Project.Variables.tbl_CopyToClipBoard.RowCount = arr_ClipBoardTxt.length-2; for(var sI = 0 ; sI < arr_ColumnValues.length ; sI++) { var tempCol = aqString.Trim(arr_ColumnValues[sI]); if(aqString.Find(tempCol,Chr(13),0,false) != -1) { tempCol = aqString.Replace(tempCol,Chr(13),"",false); } Project.Variables.tbl_CopyToClipBoard.AddColumn(tempCol); } for(var cl=1;cl<arr_ClipBoardTxt.length-1;cl++) { rowValues = arr_ClipBoardTxt[cl]; arr_RowValues = rowValues.split("\t"); for(var sI = 0 ; sI < arr_ColumnValues.length ; sI++) { var tempValue = aqConvert.VarToStr(arr_RowValues[sI]); if(aqString.Find(tempValue,Chr(13),0,false) != -1) { tempValue = aqString.Replace(tempValue,Chr(13),"",false); } var tempCol = aqString.Trim(arr_ColumnValues[sI]); if(aqString.Find(tempCol,Chr(13),0,false) != -1) { tempCol = aqString.Replace(tempCol,Chr(13),"",false); } Project.Variables.tbl_CopyToClipBoard.$set(tempCol,cl-1,tempValue); } } return true; } catch(ex) { Log.Error("Error Occured:"+ ex.stack) } } Re: Error: Member not found. While trying insert values in table variable I have no more finding,if we use column name as "release" we facing this issue and if we using "testrelease" we don't get any error shankar_r any suggestions? tristaanogre any recommendations? Error: Member not found. While trying insert values in table variable i m using swing table.i m getting column nd values from table and trying to save in project variables,i m facing Error: Member not found while insert particular data column name: release column value: 3.104S (Both type is string) kindly help me and get your kudos SolvedRe: TC 12.30. Freeze code editor during write some string on line which number more that 20 000 writing 30000 lines in unit is not big deal. writing that 30000 lines into 10000 lines ..its matters example var big = false if(5 > 1) { var big = true; if(big) { Log.Message("sucess"); } } Skilled Scripter: if(5 > 1 ? Log.Message("sucess"):false) Re: TC 12.30. Freeze code editor during write some string on line which number more that 20 000 I agreed with shankar_r Re: How to make script run time quicker please tell what properties used to find that object?