Contributions
Need help with .Find method, and explicitly locating web objects without NameMapping
Hello all, I am coming from the world of UFT. I am watching a video series on TestComplete. From an example I am trying to use the Find method to click on an object. My test fails with the error Unable to find the object Sys.Browser.... I have been able to use ObjSpy on this open IE browser to get the property and property value I want the script to locate. So I know - or, atleast it seems TC can see the browser since I can spy objects. So why it fails when i run the test is confusing me. here is my code: function Test2() { pbi = Sys.Browser("iexplore").Page("https://app.powerbigov.us/home").Find("contentText", "Workspaces", 60, True); pbi.Click(); } Pretty simple. Any help w this is appreciated.901Views0likes2CommentsWindows 10 - Windows Security Pop Up
The recomendation did not work. I found thishttps://community.smartbear.com/t5/TestComplete-General-Discussions/Why-TestComplete-cannot-detect-objects-n-windows-security-popup/td-p/156886 with no resolution. Is this still a limitation of TestComplete and Windows 10 security pop up? I tried to spy but just as in the thread pasted here, all it sees is a credential dialog of sorts, and no ui elements/ objects within the dialog. The login method doesnt work either. Thanks.Solved2.2KViews0likes4CommentsRe: Credential dialog - TC not seeing any objects, e.g. the user name and password fields
The recomendation did not work. I found thisTestComplete cannot spy/ see Windows Security pop up in Win10 with no resolution. Is this still a limitation of TestComplete and Windows 10 security pop up? I tried to spy but just as in the thread pasted here, all it sees is a credential dialog of sorts, and no ui elements/ objects within the dialog. Thanks2.6KViews0likes0CommentsRe: TFS - Distributed Testing on a Remote Machine w TestExecute
HiTanyaYatskovska I am currently working w a couple of SmartBear support engineers on both issues. I believe the Network Suite not verifying host is going to development. The other is still being communicated between myself and suuport. I appreciate your attentiveness to this issue. Chris3.5KViews1like0CommentsRe: TFS - Distributed Testing on a Remote Machine w TestExecute
Hi - No the issue is not resolved. My build def runs without error. However, the test is not executed. I have a support ticket opened for this same issue that has yet to be resolved. No one has explained how this - having test execute or test complete actually runs the test(s) - when TFS Build Def's are used to kick off remote test execution. On a side note, I also have a ticket open regarding using TestComplete for the remote test execution using a Network Suite. I am unable to verify the host machine. Ive had destop engineering, AT&T engineer's (they manage our clients firewall) and the security team all try and assist me in why I keep getting a verification failure that says server not started. All the requirements are met. So from my side, this feature does not work. Sorry, I wish this all was resolved because Ive put a mountain of time into proving this feature works for my management team.3.5KViews0likes2CommentsRe: TFS - Distributed Testing on a Remote Machine w TestExecute
When you say TestComplete test adapter - what exactly is this? Ive installed TestExecute on the remote machine that I am testing out these features on. I also have the VS Integration installed on the remote machine. I'm aware of the deprecated task. I do not know what else to use as this task allows me to enter a machine group that contains the remote machine for this effort. The Visual Studio Test task doesnt offer that and when I run my build it attempts to run the test(s) on the build machine. If you know the task when on TFS2015 to get the test to actually kick off on the remote machine(s) please let me know.3.6KViews0likes5CommentsRe: TFS - Distributed Testing on a Remote Machine w TestExecute
Hello - Ok I have found some progress. Please Note we are using TFS 2015. The Build Def Tasks Im using currently is: 1) Visual Studio Build 2) Windows Machine File Copy 3) Visual Studio Test Agent Deployment 4) Run Functional Tests Ive made a connection to our remote host pool. I am able to copy TesComplete project files to a network share. VS Test Agent deployment and configuration succeeds. But the Run Functional Tests begins but ultimately fails with the error DistributedTests: Error : No tests were discovered from the specified test sources This is odd because I have all of the TC Project Files copied to the network share and all tasks map to this share. So something is wrong and I cant figure it out. ARE THERE ANY SmartBear Customers that actually use TC Integrated with VS and subsequently use TFS to run tests on distributed machines??? This is beyond frustrating because there is a mountain of info to set up a distributed test run for Selenium, etc.. and I find nothing regarding TC. SmartBear docs say nothing about this approach. Thanks.3.6KViews0likes8CommentsTFS - Distributed Testing on a Remote Machine w TestExecute
Hello, I'm hoping to get some help with my build definition tasks in TFS (2015) to get TC tests to run using Test Execute on remote hosts. I have successfully created a Machine Group in TFS and no failures using the Visual Studio Test Agent Deployment task. I assume this is one of the steps I need to use for remote host testing out of TFS. But the Visual Studio Test task is still trying to execute the test(s) locally. See screen shot for my task steps. I think i need another step but just dont know which one. Thanks3.7KViews0likes9CommentsRe: TestComplete - Network Suite - Host Verification Failure
Hello all - well I figured I might as well provide an update, a well deserved update as so many of you have extended your helping hand to me regarding this issue. I am going to be unable to test the features and capabilities of TestComplete as they apply to Distributed / Parallel Testing processes. This is due to a setting that needs to be disabled as per the Dist Testing Requirements found here. It is item 5 Disable Secure Login. This Windows setting is under a security policy that is company-wide here. This is not something that is easy to make an exception for since it is a part of the image(s) on all machines within the network the application under test will be residing. I have found that the myriad of requirements / settings/ modifications that need to be satisfied in order for a Master Project computer for example, to communicate w a Slave Project computer(s) to be quite lengthy and technical to say the least. There are upwards of a dozen such requirements. When you compare this approach to other tools' requirements/ preparations needed to facilitate distributed testing, you become rather frustrated and very disappointed. One example, MicroFocus' ALM; the requirements are only a handful - install a 'lab agent' on all remote hosts, start the service then add machine name, a user and passwrd to the host pool page (same as the Network Suite > Hosts tab in TC) and then you're in business. No reaching out to the Security Team, Desktop Engineering in an escalation from Desktop Support and having to explain to Director level resources why you need such a change, etc... PLAN B: Im now going to look into letting the integration to TFS (via MSVS) be the controlling entity of the remote hosts, to test parallel testing capabilities of TC. Off the top of my head Im thinking of having a TC Project per Business Area of our AUT. Then creating a Build Definition for each TC Project and it will have one remote host per project. Im rather new to the world of TFS so my terminology may be off. So apologies if anyone is confused. This actually brings me to my next request, if there a thread on this topic I just explained that ya'll know of, please share the link if you dont mind. Again, thanks for all the help. Cheers, Chris2.4KViews1like0Comments