API call in test | aqHttp | Request Library | Test Complete | External Python Libraries
I want to make a http request but the Test Complete moduleaqHttp does not provide the features I need. Certain feature I am looking for are allow_redirect, verify_certificate, and so on. The python libary requests does have all these feature. I imported this libary in the manner suggestion by the community while double checking I have the same python version install globally as Test Complete (Python 3.6). sys.path.insert(0, 'C:\\Python36\\Lib\\site-packages') import requests def Testing123(): response = requests.get("https://www.example.com", verify=False) if(response.status_code == 200): Log.Message("All is good!") The libary loads and all seems good but when I run the the function a second time all if Test Complete crashes. This kind of unpredictable behavior is constant when using these 3rd party libaries which are nessessary some of the more complicated tests. Does anyone have an tips?Solved1.7KViews0likes5CommentsError: Either BOF or EOF is True, or the current record has been deleted
Hi, I'm confused with this error. I used DDT toread From Begining To 1 of the excel file. The excel file contain 1 line data, but still the error said "Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record". I really need the solution asap. Thank you.Solved6.8KViews0likes13CommentsDDT.CurrentDriver' is null or not an object
i keep getting this error on my testing using javascript. I have looked all materials within smart bear...not sure what else to do. This is what i have so far. function DriveMyTest() { var mycsv; mycsv = DDT.CSVDriver("C:\\TestComplete\Book1.csv"); mycsv.DriveMethod("ScriptTest.Test1"); } function Test1() { textbox = panel.textboxClaimLabOrderId; textbox.Click(72, 1); textbox.SetText(DDT.CurrentDriver.Value("textboxClaimLabOrderId")); }Solved1.6KViews0likes5CommentsWhy Dots are replaced by '#' when getting column names from csv file
Does anybody know, why "." is replaced by "#" when getting column names from CSV file? I have WPF grid which is empty by default and it is possible to add columns with names as specified in Schema.ini: [Myfile.csv] Format=CSVDelimited ColNameHeader=True MaxScanRows=0 Col1=ProductText Col2="Price Abs. Change"Double And I have the following function to add these columns which is working OK: function PopulateColumnsFromFile(FileName) { var CSV = DDT.CSVDriver(Project.Path + "\\Data Files\\" + FileName + ".csv"); var i = 0; for (i = 0; i < CSV.ColumnCount; i++) { AddColumn(); ChooseColumn(CSV.ColumnName(i).replace("#", ".")); } DDT.CloseDriver(CSV.Name); } So initiallyCSV.ColumnName(i) brings me "Price Abs# Change" instead of "Price Abs. Change". The question is why "." sign is seen like "#" sign, and I have to use '.replace("#", ".")' to get correct value of column name? Any links to the answer would be appreciated.Solved1.5KViews0likes3Comments