Contributions
Warning in log after test ru
I have not used TestComplete in a long time, so I am refreshing myself. I put together a project with two JavaScript Units. One file contains two functions that are run along with the other file, that contains one function that is run. Now, if I run the project (all three functions), I get a warning in the log (no error): The action may be performed incorrectly, because the control is not visible. 16:53:59 Normal 0.60 But, if I put focus on just that one function that has the warning, and run it, it completes without a warning, every time. For fun, I put a "WaitChild" in to see if it made a difference. No: var sg = require("SearchGoogle"); var txtUName = Aliases.edgeBrowser.pageYahoo2.formLoginUsernameForm.txtUserName; var txtPass = Aliases.edgeBrowser.pageYahoo2.form.passwordField; var btnPasswordNext = Aliases.edgeBrowser.pageYahoo2.form.buttonNext; var yahooPage = Aliases.edgeBrowser.pageYahoo; function badLogin(){ sg.openAndNav("http://www.yahoo.com"); login("stephen.madden@rocketmail.com", "badpassword"); aqObject.CheckProperty (Aliases.edgeBrowser.pageYahoo2.form.textnode, "contentText", cmpEqual, "Invalid password. Please try again"); sg.closeBrowser(); } function successfulLogin(){ sg.openAndNav("http://www.yahoo.com"); login("stephen.madden@rocketmail.com", "fksdjfslkfk!"); aqObject.CheckProperty(Aliases.edgeBrowser.pageYahoo3.header.textnode, "contentText", cmpEqual, "Steve"); Aliases.edgeBrowser.pageYahoo3.header.userPic.HoverMouse(); Aliases.edgeBrowser.pageYahoo3.header.WaitChild("linkLogOut"); Aliases.edgeBrowser.pageYahoo3.header.linkLogOut.Click(); //here is where the warning occurs yahooPage.Wait(); sg.closeBrowser(); } function login(userName, pass){ var signIn = Aliases.edgeBrowser.pageYahoo.header.panelYbarInnerWrap.panel.panel.panel.panel.link; var staySignedInLink = Aliases.edgeBrowser.pageYahoo2.formLoginUsernameForm.staySignedIn; var btnNext = Aliases.edgeBrowser.pageYahoo2.formLoginUsernameForm.submitbuttonNext; signIn.Click(); staySignedInLink.Click(); txtUName.SetText(userName); btnNext.Click(); txtPass.SetText(pass); btnPasswordNext.Click(); } Anyone have a similar issue in the past?Solved746Views0likes2CommentsTesting Adobe Web Applications
I have gone through some instructions on loading the runtime loader to make adobe objects accessible to TestComplete. Maybe I am not experienced enough to complete these, so I thought I'd ask for some advice. The app is on a dev server. I am accessing the web site (app) to test on a separate machine. I copied the 3 runtime files to the server, in the same location as the swf file. I've tried opening the runtime.html on the separate machine, and inputting the network location (https://somesite.com/tlt). I get the error (forget the number) that it can't find the swf file. I just tried the same on my laptop from home, and I get no errors, just a blank page after clicking the "Load SWF File" button, with the URL navigation changing to file:///C:/Program%20Files%20%28x86%29/Automated%20QA/TestComplete%208/Open%20Apps/Flex/RuntimeLoader/RuntimeLoader.html?url=https%3A%2F%2Fsomesite.com%2Ftlt%2Ftlt.swf&useNetwork=false. How do I need to do this so I can develop tests for this site from my development machine? Thanks!6.9KViews0likes1CommentPopup Menu Value Undefined
Recorded a simple test on a java based application. The test record clicking on a menu item successfully (SwingMenu.Click("Help")). However, having troubles clicking the sub-menu (or popupmenu) items. The test and jscript shows that the popupmenu value is "undefined". When I replace "undefined" with the item name "About" - no luck. When I replace it with the index "[1]", no luck either. Any ideas out there?9.2KViews0likes3Comments