Contributions
How declare class in one unit and create class object in other unit...?
Hi, I am using TestComplete7, wrritng code in VBScript. an i hav such problem. I have declare class in unit A - class MyClass 'properties and methods End Class And then in unit B i want to create instance of MyClass such way- set myinstance = new MyClass. In unit B iincludeunit A . Whenthe script run,throws exception - "Class not defined: MyClass" Can't i create object instance in other unit???18KViews0likes3CommentsProblem with * operation ??
Hi all, I am using TestComplete 7 and i have such problem.. look in this simple code, e.g. b= 384.28 c = 123.5 Sum = c*b Then, when i am running this script, and looking their values- c*b =47458.58,Sum = c*b ->true, BUT Sum=47458.58-> FALSE!! Can u ask me why???and when iam wrintting Sum=CCur(47458.58), it's return TRUE......, what does that mean?13KViews0likes2CommentsHow can i check that word document is read only?
Hi I am doing some work, an then i want to check that i can not change word document. i want to know if my word document is read only. how can i do it??? Is there any attribute for word document that i can use? Thanks in advance.14KViews0likes2Comments- 929Views0likes0Comments
can i declare array with one element?
Hi ! I have declared array, and now i want to add one item in array, and when i execute, i get en error! can't i declare array with 1 length,? i mean can't i have array with one element? For example MyStruct = DLL.DefineType("TemplateCodesStruct", VT_VARIANT, "Value") Set TemplateCode = DLL.New("TemplateCodesStruct",1) TemplateCode.Item(0).Value = "AEdit" And the error was "Objecy doesn't support this property or method TemplateCode.Item:"21KViews0likes5Comments- 660Views0likes0Comments
How get all rows count from grid ?
Hi all, I have a Grid, and i want to get all rows count ftom there, but not all rows ara visible.I need to scroll to see that rows. Now i can get only the visible rows count with visibleRows option. Can you tell me if there is any way to get all rows countfrom Gridwithout scrolling or even with scrolling?13KViews0likes2Comments