VinnyKOccasional ContributorJoined 6 years ago11 Posts2 LikesLikes received2 SolutionsView All Badges
ContributionsMost RecentMost LikesSolutionsRe: TestLeft for Excel Hi Alex, Thanks for the suggestion. TestComplete has the option of Excel Driver but TestLeft does not, hence TestComplete solutions are not applicable in this case. In TestLeft via MSAA, it only interacts with ribbon items not within the sheet . TestLeft for Excel Hello, Has anyone been able to use TestLeft to automate test Excel spreadsheet? I am not talking about just interacting with ribbon items but interacting within the spreadsheet. Please can you guide me on how to go about doing this. Many thanks in advance Re: Unable to identify a specific Dev Express loading icon, even as MSAA object Thanks Marsha_R , it was worth a try but no luck. still unable to idenfy that Loading Panel Class name for that object is DevExpress.XtraWaitForm.ProgressPanel added that to WinForms XtraGrid (it shows up when the XtraGrid is being refreshed), still unable to identify Unable to identify a specific Dev Express loading icon, even as MSAA object In DevExpress grid there is a built in Loading Panel object, I tried everything via TestComplete object spy and TestLeft UI spy but I am unable to identify it, even with MSAA object pattern. Is there a way to identify this, please help? This is that loading object https://documentation.devexpress.com/WindowsForms/DevExpress.XtraGrid.Views.Grid.GridView.ShowLoadingPanel.method AND NOT https://documentation.devexpress.com/WPF/114373/Controls-and-Libraries/Windows-and-Utility-Controls/Wait-Indicator Thanks Vinny SolvedRe: how do you compare screenshot images in TestLeft Hi, Did you figure it out? I have a similarish requirement, I have this dev express spinner but that's almost impossible to identify as an object using Test Left and I want to put a wait in my test step (wait till that spinner disappears ) , so now I want to try and see if I can have a image of that spinner and check if that image appears on the screen. Cheers Vinny Re: Unable to find Test Logs, not sure if they are being logged Thanks Alex, I know whats happening, when we add a TestLeft to our project it creates TestFixtureBase with NUnit hook attributes ([OneTimeSetUp], [OneTimeTearDown] ..etc) methods [OneTimeSetUp] public void InitializeFixture() { _driver.Log.OpenFolder(TestContext.CurrentContext.Test.FullName); } [OneTimeTearDown] public void FinalizeFixture() { _driver.Log.CloseFolder(); _driver.Log.Save(TestContext.CurrentContext.TestDirectory + @"\TestResults", Log.Format.Html); } [SetUp] public void TestSetUp() { _driver.Log.OpenFolder(TestContext.CurrentContext.Test.Name); } [TearDown].... When running the NUnit tests, the logging and saving logs, works fine. But when we add SpecFlow on top of this, then these methods with NUnit hook attribute won't get run as SpecFlow has its own hook attributes [BeforeScenario], [BeforeTestRun], [AfterScenario]... etc. So we would need to replace [OneTimeSetUp] to [BeforeTestRun] and [OneTimeTearDown] to [AfterTestRun] and make the binding methods static and add "[Binding]" on top of the class signature Unable to find Test Logs, not sure if they are being logged Hi, I am using SpecFlow and Nunit 3 with NUnit3Adaptor. Within my test steps I am logging some test messages and capturing screenthot but I can't find anything in the bin folder nor in the Project directory. I don't even see TestResults folder. LaunchApplication(); IDriver Driver = new LocalDriver(); Driver.Log.Message("Application Launched"); Driver.Log.Screenshot(test.controlGrid, "Screenhot of a Grid table"); Driver.Log.Message("Test Again"); Assert.Fail();// force failing in case the logs are being cleared Am I missing something here ? Can anyone please help me how to use the TestLeft's capturing Test Log and screenshot funtionality? Thanks in advance Re: How run UI tests on a Azure VM using Azure DevOps (VSTS) ? The build agent was configured to be interactive. I was able to resolve this by re-configuring the build agent and enabling autologon, this works now. :-) I knew that this has got nothing to do with TestComplete in a way, but was hoping if someone would have come across same issue in Azure. thanks How run UI tests on a Azure VM using Azure DevOps (VSTS) ? Hi All, I have some TestComplete UI tests for a desktop application, which I am able to run via Visual Studio and integrate it with Azure DevOps (VSTS), however I would like to run these tests on an Azure VM UI interactive, how do I go about doing this? The devops agent has been installed on the VM and I am able to build the test project on that VM(via Azure DevOps) and Test Execute is running but when the test task(Azure DevOps build step where it triggers the test run) is kicked off, it errors on that step and in the logs I see ----> System.ComponentModel.Win32Exception : This operation requires an interactive window station. Has anyone successfully ran the TestComplete UI tests on a Azure VM using Azure DevOps? If you have please suggest what can be done to achive this. Many thanks in advance. SolvedRe: [TestLeft] How to interact with an object that needs scrolling to view (Desktop application) Thanks for the response, I did use the .Keys("[PageDown]") on the scrollbar, it does scroll to display next set of objects. However I was hoping to find a better way to bring the intended object to display by using that object iteslf. At any given scrolled position I should be able to find that object(that object can be at the top(Up) or bottom(Down) of the form irrespective of the current scrolled position). For now I am using //1019 is the ScreenTop value(position of the indicator) of the scroll indicator when it is scrolled down to maximum var downMax = false; while (!object.VisibleOnScreen) { if (scrollBarIndicator.ScreenTop < 1019 && !downMax) { scrollBar.Keys("[PageDown]"); } else { down = true; scrollBar.Keys("[PageUp]"); } } This works, but, is there a nicer way to get to the object which is not visible on screen?