Contributions
Can I navigate between classes and methods in Test Complete editor?
Hi, I'm using python in Test Complete 11 and I cannot jump by using CTRL+Click from where I call a method to the place where the method is implemented in parent class. CTRL+Click is working between scriptsif I don't use classes with their methods only methods (def). Also I cannot benefitfrom the link between classes and methods inside them when I'm writing code because the auto-completion is not suggesting anything when I'm writing the first letters of a method from a class. Do I have to make some settings in code editor or is not possible this codenavigation between classes as in any OOPeditors. Thanks, Rares940Views0likes1CommentRe: Stored procedures cannot be run on python due to error from provider
Hi Tanya, Is needed a special provider thenOracle Provider for OLE DB for stored procedures in Python even ifqueries in Python I can run with existent provider? Because I already have it installed on my machines and is working for stored procedures from Test Complete if I use JScript project instead Python. Thanks, Rares980Views0likes1CommentPerformance issues with Web projects in Python
Hi, My Python scripts execution timeare lastingmore than 3 times than JScriptones with the same project settings. I've looked over the most usedactions from Test Complete in web testing and I observedthat Sys.Browser.Page(*) and findChild() are lasting in Python more than 1 second meanwhile in JScript are lasting under 300 ms. Is there any solution to improve the performance of Python scripts to avoid this heavy execution?Solved1.1KViews0likes2CommentsStored procedures cannot be run on python due to error from provider
Hi, I wasable to run stored procedures on myJScriptprojects using Oracle Provider for OLE DB. Now after I migrated my projects from JScript to Python I cannot run stored procedures from the same machines onOracle servers. I receive the following error: "RuntimeError Provider cannot be found. It may not be properly installed" when "SProc.ExecProc()" line is executed. Please advice. RaresSolved1KViews0likes3CommentsProblem with indentation in Python using Test Complete 11.20
Hy, Recently I've started to migrate my projects from Jscript to Python and I encountered a lot of problems with indentation in Test Complete 11.20. Either I hitTab or Enter the code looks like is indented but I get the Error while processing indentation. If I copy the code block in another editor like Notepad I can see that the line is not indented corectly so I can corect it. After I copy back the code block in Test Complete the code looksthe same as was before but the error is gone. Is this a known issue orit can be fixed with some settings from Test Complete? Another concern I have using Python is that a large amount of time is added to runtime execution if I have to import more libraries of Python (like random, datetime, etc). Are there extra validations from Python to Test Complete that are done when the code is compiled and can we disable them? Thanks984Views0likes1CommentRe: TestComplete 11 can't launch Chrome
Hi Tanya, I've run the follwing commands to see wich browser see TextExecute as my current browser: Log.Checkpoint("The default browser is " + Browsers.CurrentBrowser.Description); The output isGoogle Chrome ver.43.0.2357.65 (x64) but the Page("*") element is not found1.3KViews0likes1CommentRe: TestComplete 11 can't launch Chrome
The same problem I have on one of my machines with Windows 7 x64. On the other machine works fine. I've changed the browser owner from Properties - Security tab and now the browser is opening with the default page without hainging but now the page elements are not found. On both machines I have TestExecute 11.20 and Chrome browser version 43 with TestComplete extension 11.20. I've also downgrade the Chrome to 39 or update it to 46 but the problem still remains the same. I useBrowsers.Item(btChrome).Run(); to start Chrome browser butBrowsers.CurrentBrowser.Navigate(page); trows theerror: Process Command Line: C:\Users\svuser\AppData\Local\Google\Chrome\Application\chrome.exe --disable-hang-monitor Info: Cannot find any existing or open blank page. I've followed all the recommandation fromhttps://support.smartbear.com/viewarticle/71367/ but with no effect. Any solutions?1.3KViews0likes3CommentsRe: Test Execute runs tests at screen resolution or less than 800x600 on a slave machine
Hi all, My issue occured on a Virtual Machine when I run tests with Jenkins without an active user session, soas Colin said I've configured on VM the display to maximum (1024x768 is the maximum resolution accepted by the VM). For the moment I'll carry on with this configuration. The RDP display is set to Full Screen and I don't have this problem when I run tests with an active user connection through RDC. Thanks, Rares7.9KViews0likes1CommentRe: Test Execute runs tests at screen resolution or less than 800x600 on a slave machine
Hi Alex, Thanks for the suggestion, we already use the ScrollIntoView() method to scroll upside/down on the local machines where we have the screen at full size. Due to the small resize of the screen on the slave machine the problem persists because a scroll from right to left and viceversa is also needed for objects to became visible.7.9KViews0likes7Comments