Contributions
Use of parameterlist as a driver in data-driven loop with TestComplete
We want to use a list of parameters (e.g. seperated witch comman) that you can enter in the execution plan. So the idea is (instead of using a variable list e.g. a csv file) to use a list of parameters for the dataloop. This would help to generalize tests as y can modify the dataloop parameters at "startup" when entering the values as parameters because actually it is not possible to use parameters as a driver in a data-driven loop within TestComplete. The data-driven loop supports CSV, Excel, database table, database query, and table variable files for this purpose.9Views0likes0CommentsRe: How to user parameters in a data-driven loop?
Ok thanks for help. I will check if that is easier for us. Did i get it right, it is only possible when using a variable and enter the variable values via commandline, seperate it with a script to multiple values and use the variable in dataloop. But it is not possible to do it with multiple parameters (in a dataloop) what would be much easier. Nevertheless thatnks for your help. I will close it now9Views0likes1CommentRe: How to user parameters in a data-driven loop?
Thanks, using the commandline sounds a little better but is it also possible to enter multiple values within the commandline (so that i can do a data-loop)? The idear behind is: 1st set userrights to a used testuser (on a customer webpage) 2nd do a specific test with minumul userrights (that i set before) 3rd delete userrights And as i need more that 1right i am actually doing that with a predefined .csv file and dataloop (this already works, but i have to use/adapt the csv file before each testrun it i need different "values". So i tried to "generalize" it but did not find a method where i can set the values at teststart. If there would be a posibility to enter mutliple values for a parameter and use it in dataloop i could enter the values at testexecution or in the executionplan for each test (instead of using a csv for each test)21Views0likes1CommentRe: How to user parameters in a data-driven loop?
Sorry to say but i do not think that will solve my problem. I want to run the test with different "values" and want to set these values at the start of the test E.g. i will run the tets with Value "Test1" Then another person running the tets wants to use the following values" xyz", "abc" A third person will run the test with e.g. the following values "Tester", "testvaluezzz" So there is no fixed list and i want to give the values at the start of the test and then do a data-diven test with all values i set in the "parameter" at start14Views0likes1CommentHow to user parameters in a data-driven loop?
I have the following scenario I use a Testcomplete Keywordtest to login to a customer page in a search field i enter some Text and press search if i get a result a button appears and will be press and after pressing the button an automatic action will be done like entering the text to a list. For dataloop I use a csv file where I enter the text to be searched and that will be entered to the list as a result. Lest say the csv file contains 4 lines (1 description and 3 Values) and then adds Text1 Text2 Text3 to the list (1 line per entry) Value Text1 Text2 Text3 - THIS IS ALREADY WORKING No I want to generalize the test and use parameters (that i can set in the "testexecution-list") Is that possible? And if so what character like ";" do i have to use for separating the single parameter-entries (e.g.Text1;Text2;Text3) so that the loop wil enter 3 correct entries to the list. If no possible is it possible to add the paramteres to the csv file (each Value in 1 Line) so that it could also work. If so how? Thanks for helpSolved36Views0likes7CommentsRe: Problems when runing automated tests on a virtual machine
I would recommend that you add to your documentation to check the registr key named "Machine inactivity timout" at "Local Security Policy\Local Policies\Security Otions\interactivelogon" if problems with running on a virtual machine appear23Views0likes0CommentsRe: Problems when runing automated tests on a virtual machine
Our company is using TestComplete and Testexecute for automated tests. These test run without problems when recorded played back using a pc (without pipeline). Then we decided to go a step further and include TestComplete /TestExecute in an azure Pipeline. So we set up a virtual Pc and installed TestExecute. On our normal Pcs (where we used TestComplee/TestExecute before) we followed the steps to incluce git and connected the testsuite to an azure pipelin we created before. On the virtual PC we set up a user with autologin as this is needed to run the automated tests. Then we connected the pipeline/agent on the virtual pc so that "when a task is found for the pipeline" these task will run on the virtual pc starting TestEcecute and doing the tests. If we now connect to the virtual machine (with the user mentioned before via Remote Desktop connection) an watch the pipeline and there is a "todo" while we are watching the test on the virtual Pc were ok. after watching we always use the recommended disconnect batch to disconnect from the virtual machine. We then found out that if we are not watcing /logged in with the user on the virtual pc, the test always fail when the last login was more then 10 minutes ago (this was hard to find out as we did not think of a timeout). Afters some research we also found that there (at least on virtual Pcs) is a registry key/group policy at: "Local Security Policy\Local Policies\Security Otions\interactivelogon" named "Machine inactivity timout" This was set to 600 (seconds). We then set it to 0 (infinity) and now all test are runnig ok even if the las login is e.g 24h ago36Views0likes3CommentsProblems when runing automated tests on a virtual machine
When running TestEceute or TestComplete test in avirtual machine via azure pipeline take care to set the following registy key to 0 (infinitive) Local Security Policy\Local Policies\Security Otions\interactivelogon: Machine inactivity timout If not your test will not work. E.g if set to 600 (seconds) and your first tets is working, then an other test starting e.g 15 min later will not work anymore. See also https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/interactive-logon-machine-inactivity-limit69Views0likes5CommentsHow can I pass over the chrome "restore page" popup?
I am doing web tests with Chrome. opening a page, entering some data, checking some "data appearance", .. and close the browser at the end. Sometimes the browser crashes and then the test stops and because of the chrome "restore popup" the test cannot navigate to the web page and fails. I do not know why the browser crashes ( i did not found out jet), but nevertheless is there a possibility to "go over/ignore the chrome-popup so the test could go on? Any ideas what i can do? The appearing popup looks likeSolved234Views0likes1Comment