Contributions
Automate - Control Panel -> Add Language
Hi I am automating 'changing keyboard layout' using TestComplete 9.3 on windows8. I launch control panel by control.exe /name Microsoft.Language. I am unable to find the control for "Add a language" button on the launched page. This control is not seen in object browser. Recording a script to click the button, uses co-orninates. Can someone help me identify this object (en-circled in attachment) ? Regards, Shubhangi5.1KViews0likes1CommentConverting project created in TC 8.7 to TC9.2 - Unable to connect to TestExecute
Hi, I am converting the existing test code converted in 8.7 to 9.2. I am using distributed testing using network suite. Master and slave both are on Win7. I opened the project in TC9.2 and said "Yes" to the warning about converting the code to new version. The first test executed all fine, it had ActionAfterRun as saNone. Both the tests have "imUse" as PriorInstanceMode The second test failed with following error : ===================== Unable to Connect to remote instance of TestComplete (TestExecute) Possible Causes Network suite plugin is not installed on slave computer or slave project does not contain Networksuite item Firewall / antivirus blocks the network suite ===================== I have N/W suite plugin installed on slave, have n/w suite item in slave project, firwall is off and no antivirus on slave/master. Any idea/help in converting the code would be greatly appreciated. Thanks Shubhangi7.6KViews0likes1CommentTestComplete 9.20: Windows 8 Metro overlaps with the aplication
I use TestComplete/TestExecute 9.20 to test an application on windows 8. Many a times Testcomplete can't click on button on dialogs appeared on windows 8 slave. Test log suggest there was an overlapping dialog and the logged picture shows metro desktop" There is actually nothing overlapping the dialog on slave. I tried all three options of creating user sessions, manual/RDP/Console. But could not find a solution. Can you please suggest the best method of creating user session for ditributed testing on windows 8 ? Any help regarding this problem would be apreciated. Regards, Shubhangi7.5KViews0likes0CommentsRe: NetworkSuite->AutomaticLogon for 64 bit slave
Yes. You are right :) Would like to mention one more point, as an automation engineer always check the functionality manually and also check if it works fine through RDP to be automated using TC. In my case, functionality was verified manually. However the dialog was not visible if you are logging in remotely. This leads to a question, how do we use TC when few dialogs/processes are not accessible via RDP for security reasons ? Shubhangi1.2KViews0likes0CommentsRe: Taking machine off the network duing test execution
Hi Tanya, I want to automate a negative test where, you are trying to activate a product which is not connected to any network. For this, I need to somehow make network inaccesible to the slave, so that activation fails. After recieving the error, go back and connect to network and perform rest of the test. There are windows command which would disable the LocalAreaConnection on a computer. However I am not sure, if testcomplete can cope with this situation where network on a slave goes off for a minute and comes back. I hop this explain the problem. Regards, Shubhangi651Views0likes0CommentsTaking machine off the network duing test execution
I am running the tests parallely on different slaves using network suite. Testcomplete/TestExecute - 8.7 The test I want to automate looks like 1. launch a process 2. Click Next on the dialog, just launched 3. Take machine off the network 4. Click Next and look for error message. 5. Take machine back on network 6. Finish Any thoughts on how to automate this scenario. Regards, Shubhangi9.2KViews0likes2CommentsRe: TestExecute takes a while to launch
Hi Julia, Thanks for your reply. I am using same suggestion at the moment. I use following code to launch and terminate TestExecute , before starting test run function StartEndTestExecute(hostsList) { Log.Message("Start StartEndTestExecute"); var vmHost = dotNET.Vestris_VMWareLib.VMWareVirtualHost.zctor(); vmHost.ConnectToVMWareWorkstation(); for( i=0; i<hostsList.length; i++) { var hostname = hostsList.SelectSingleNode("Name").text; var vmxFile = hostsList.SelectSingleNode("VMXLocation").text; var vmxFileWithDblSlash=aqString.Replace(vmxFile, "\\", "\\\\"); vmMachine = vmHost.Open(vmxFile); vmMachine.LoginInGuest("DPAdmin","Password"); vmMachine.RunProgramInGuest_2("C:\\Program Files (x86)\\Automated QA\\TestExecute 8\\Bin\\TestExecute.exe","/exit"); Log.Message("End StartEndTestExecute"); } TestExecute takes more than half a minute on WinXp and bit more on Win7. But this is enough to make test run fail, where testcomplete tries to launch TE instance on remote instance. Just for your information, We have 17 floating TE licenses stored on a license manager. Earlier we were using only 7-8 TE licenses. This issue appeared when we started adding more slaves (but less than 17). Regards, Shubhangi974Views0likes0CommentsTestExecute takes a while to launch
Hi, I am using NetworkSuite to execute test on multiple clients. I am having 3 virtual machines on which test are going to be run. When I double click on TE icon, It takes a while to lauch it. Hence while running test, test complete fails to launch TestExecute and errors out as "Verification failed. Unable to launch remote instance of TestExecute" I am using TC/TE 8.7. My License manager is on the same network as of master and slaves. Verification of each slaves works fine. If launch TE manually on slaves and then start the test run, It runs perfectly fine. Is there any setting where I can change the timeout for launching TE. Any thoughts/tips would be greatly appreciated. Thanks, Shubhangi9.7KViews0likes3CommentsRe: TestComplete stuck
Hi, I would like to note an observation here: When test run is stuck in Synch state, It looks like it is waiting for TestExecute to start on WinXP while TestExecute on all other OSs is up and running. When We go to TaskManager on XP, I could see 2 or 3 instances of TestExecutes running already. For all the instances for test hung, I observed WinXp in "initializing" state and others in "Synchronizing" state. Regards, Shubhangi2.6KViews0likes0Comments