Contributions
Re: Script says the java class function as "Not a function". Pleas help how to fix this.
Hitristaanogre I have written the class by myself which basically has two static methods in it. So I followed the documentation in the smartbear portal, I followed everything there, there was nothing specific about exposing the methids in the class.1.4KViews0likes2CommentsRe: Script says the java class function as "Not a function". Pleas help how to fix this.
Is there anyone who can help. I tried a fresh TestComplete project and configured java bridge at tool level and also listed the jav classes and the java class path in the form of a jar file. Still I am getting the same issue. Errro in the log- "ErrorTypeError: JavaClasses.mongoDB.MongoDBInitialize.getShippedOrderCounts is not a function at connectToMongoDB (<aq:Unit1>:7:64) 12:45:28 Normal 0.00" I can't see my static methid listed in the code completion so as a result it says the method in the class as not-a function on runtime.1.5KViews0likes4CommentsRe: Script says the java class function as "Not a function". Pleas help how to fix this.
I am not able to get the static methods of the Java class in code completion. Also if I type the methd name after the class name , on runtime its says the function name as not-a function. e.g. I tried mongodb.MongoDBInitialize.getShippedOrders().......... then it saysgetShippedOrders() as not a function. I am able to get package mongodb andMongoDBInitialize class after JavaClasses but not thegetShippedOrders() method after that. Please advise.1.5KViews0likes5CommentsScript says the java class function as "Not a function". Pleas help how to fix this.
Hi, JavaClasses.mongoDB.MongoDBInitialize.getShippedOrderCounts(); mongoDB is a package , MongoDBInitialize is a class and getShippedOrderCounts(); is a static method in the class. But on execution it says,getShippedOrderCounts() is not a function. I have sett java, java -bridge, jar and class included in place.1.7KViews0likes8CommentsAdd URL www.abcd.com as a exception URL in my smartbear browser so that resources are loaded.
HI, I want to add the URL www.abcd.com as a exception URL in my smartbear browser so that resources coming from the URL are loaded siuccessfully from my browser . How can I do this.1.8KViews0likes0Comments