paul_scroceFrequent ContributorJoined 12 years ago77 Posts52 LikesLikes received11 SolutionsView All Badges
ContributionsMost RecentMost LikesSolutionsRe: Temproary Variables DeclarationAlso check these threads project variable - persistent and temprary adding temporay variableRe: Why one KeyWordTest stopped with error BOF or EOF is True?Hi Emma I would guess that your recordset contains no records so end of file and beginning of file is true. For a bit more info http://p2p.wrox.com/access-asp/82787-either-bof-eof-true.htmlRe: Display indicator text continuously for the running test caseHi Dinesh, In some cases I have used an event handler to (almost) continuously display indicator text. Using OnLogEvent was the easiest way I found to regularly display the required text. http://support.smartbear.com/viewarticle/58217/Re: How to identify object is Blinking?It would not be very useful to create false error messages if the image comparison is expected to fail when the image changes. If the image is a gif would it be better to save the current image as a file and then compare it to the expected file? http://support.smartbear.com/viewarticle/55090Re: DDT using Excel sheetHi I think that the column headers must be on the first row in the spreadsheet, not split over 2 rows. You could combine the the header on the first row as "DTM1 Status" and "DTM1 Data" even though it might look a bit ugly. http://support.smartbear.com/viewarticle/56928/ The column names that will be used are defined by the FirstRowHasNames registry subkey of the driver settings key (see above): When key value is False (00), the columns are named automatically by the data provider (F1 would represent the first field, F2 would represent the second field, and so forth) and the first row is considered as a data row. When key value is True (01), TestComplete reads textual values stored in the cells of the first row (A1, B1, C1, and so forth) and stores these values as column names. TestComplete exits the loop when it finds an empty cell. If the first row does not have headers (or contains numeric values), the data provider automatically names the fields for you and the data of the first row is omitted. Re: Force Recalculation of DatasheetNormally I would use the aqDateTime object to calculate current date etc. directly in the test script to avoid that problem, unless there is a reason that the date must be in Excel. http://support.smartbear.com/viewarticle/55342 and http://support.smartbear.com/viewarticle/58079Re: aqString.StrMatches only works with hard-coded strings. Seriously???Perhaps you could convert the variant values to a string, so you can be sure they are string values in any language. result = aqString.StrMatches(aqConvert.VarToStr(pattern), aqConvert.VarToStr(text));Re: Working With Open File and Save File DialogsThat is a bit strange, but maybe you can use the refresh method to update the object tree just before clicking this window. Sys.Refresh() http://support.smartbear.com/viewarticle/58142Re: Working With Open File and Save File DialogsHi Mor, The object not found was ChooseFileToUpload_Dialog so first check the identification properties of this object. There may be a property that changes dynamically that could be removed if not necessary to identify the dialog. http://support.smartbear.com/viewarticle/56657Re: Selecting drop down values by keys methodI would add a log message Log.Message Aliases.ddEmpTermValPosCategory.innerText to confirm that the text is actually "Sales" during the test run in case it is blank or there is something unexpected like an extra space character. You could also try entering the first character of the list item if that works clickddValue.Keys ("S") to enter sales or clickddValue.Keys ("N") to enter non sales