Contributions
multi language support
Hi, I recorded Test while my application was set in Serbian language. Test complete recorded clicks trough menu items which I was performing. Value of menu Item was : 4- Tools|A- Administratorske funkcije After i changed language of the application. Now all menu items are translated in English language. Now value of menu Item is :4 - Tools|A - Functions of administrator I run test and it fails because the menu item is now written in English and the TestComplete cannot recognized it. Are there any settings(automatically to update name of menu items with current application language or something alse) which should be set so the test will not fail while I am swapping languages? Help, any idea :)1.7KViews0likes4CommentsPassing an array variable/values to procedure (delphi script)
Hello I have a procedure which has input parameter OleVariant. For example procedure doSomething( p:OleVariant); How is the easiest way to initialize an array and pass to the procedure. I've tried to initialize dynamically the variable located at Variable List (object) as one-dimensional array CreateVariantArray(0, 2), and afterward to declare values. It doesn't work. I got error type mismatch at line: 'CreateVariantArray(0, 2)' Also it couldn't automatically generate array on call doSomething ([1,2,3,4,5]) Any ideas? Thank you.694Views0likes1Commentclick over the field in DBgrid
Hello friends, I need help I don’t know how to perform this. I am creating automation test for Desktop application developed in Delphi. At the Form that I am testing exist Grid (DBGrid) in which I would like to select and memorized value from the column as a variable. At the end, after test will finish I would like to compare that value, new value with the old value. I don’t know how to perform click over the field of DBGRID and value of the column set as a variable. Thanks in advance.824Views0likes1Commentcheck fields visiblility
Can I make automation test that will verify do all fields exist (or not exist) at the form? And if I can how can I do that? Like example at the Form 20 fields exist. With the new version a new filed is added at the Form or example with the new version one field is not visible. What automated test can do?967Views0likes3CommentsHow to set variable to read data from SQL select statement written in excel file?
In excel file in column named Account i have written the following SQL statement: "select top 1 accountfrom TestTable (nolock)". How can i set "account" value that SQL statement returns as variable?937Views0likes1Comment