ContributionsMost RecentMost LikesSolutionsRe: Test Complete on applications on CloudHello, Ours is a desktop applicationTest Complete on applications on Cloud Does Test complete works on desktop applications on cloud. Any limitations ? We are working on an application right now which will move to cloud over some time. SolvedGetting unspecified error Hi, I created the below function and got an error : Provider Unspecified Error Error occurs at the highlighted line. function fn_getDBData(strConnectionString, strQuery) { var objCon, objRS, strData; strData = ""; objCon = Sys.OleObject("ADODB.Connection"); objCon.Open(strConnectionString); if(objCon.State==1) { objRS = Sys.OleObject("ADODB.RecordSet"); Log.Message("Executing Query: "+strQuery); objRS.Open(strQuery,objCon,3); while(!objRS.EOF) { for(i=0;i<objRS.Fields.Count;i++) { strData = strData + objRS.Fields.Item(i).Name + "=" + objRS.Fields.Item(i).Value + ";;" } strData = strData.substr(0,strData.length-2); strData = strData + "||" objRS.MoveNext(); } strData = strData.substr(0,strData.length-2); } objRS.Close(); objCon.Close(); return strData; } how to execute java class from test complete Hi, I have a java project that is available to me. I need to use it one class and execute via test complete. I provided the class paths in Current Project Properties. Will I have to add class in the Java Classes section. I do not know the full name of the class. require date in specified format Hi , I am trying to convert to a formatted date by using the below code:- strdateTest = Project.Variables.strEffectiveDate;(05/02/2018) strdateTest = DateTimeToFormatStr(strdateTest,"%d\-%b\-%y") I get the output as 05-Feb-18. My required output is 05-FEB-18. Could you please help me on this one? SolvedRe: how can I find a particular image in a PDF? AlexKaras- I am getting error at this line arrofImages = pageObj.getResources().getImages().values().toArray(); shankar_r - Could you please confiorm which jar are you using. Mine is 1.8.13 Re: how can I find a particular image in a PDF? Hi, Thanks for the help. I am getting the an error : Object doesn't support this property or method function test() { strPDFPath = "J:\\Documents\\PV.ps.pdf" strImagePath = "J:\\Documents\\expectedgrapgh.png" objFile = JavaClasses.java_io.File.newInstance(strPDFPath) objDoc = JavaClasses.org_apache_pdfbox_pdmodel.PDDocument.load_2(objFile); arrPages = objDoc.getDocumentCatalog().getPages(); //var pageArray = pdfObject.getDocumentCatalog().getAllPages().toArray(); // Get the collection of pages for(var i=1; i<=arrPages.getCount(); i++) { pageObj = objDoc.getPage(i); arrofImages = pageObj.getResources().getImages().values().toArray(); //getting error at this line imgMap = pageObj.getResources().getXObject(); imgArray = imgMap.values().toArray(); //imageObj = imgArray.items(imgIndex); for(var j = 0 ; j < imgArray.length ; j++) { curImage = imgArray.items(p); how can I find a particular image in a PDF? Hi all, I have 10 PDFs, my requirement is that I have to search a specified image in these PDFs, and validate if it is present or not and if present, get the page number where the image was found. Can anybody please help me on this? Any help will be of great use. Date is written in wrong format in excel. I am trying to write in excel using excel.application. the date extracted via query is 10/08/1989 but the value that is getting printed in excel is 08/10/1989. I have not changed any formatting of the excel using code. Re: Getting error: Object doesn't support this action on using PDFBox libraries yes, the path of the JVM was incorrect after an Java update was made on my system. After giving the correct path, m code worked. thanks!