Clicking certain area of an object on different screen sizes
I am encountering an issue where an object is clickable (to bring up a menu) butonly in the upper right hand corner of it. I cannot seem to map just the clickable area so when I do a test, I need to include coordinates of the object so that the correct area is clicked, thus opening the menu for additional items to be clicked. This works fine for me but when run on a co-worker's computer the test fails because our screen sizes are different so the object is not clicked in the right location. Is there a way around this? Thanks!Solved7.2KViews0likes16CommentsVerifying a URL in Edge
How can I do a property checkpoint on a URL in the Edge browser? I used to be able to do this in IE (see below) but now after switching to Edge, I am not seeing a way to do this through checkpoints. This is the only option I am seeing: aqObject.CheckProperty(Aliases.browser.BrowserWindow, "WndCaption", cmpEqual, "Enrollment Barcodes and 1 more page - Work - Microsoft​ Edge"); In the Object Spy, I can't seem to do map the actual URL. Is it possible to do this? EDIT: In IE, I could and still can do this: aqObject.CheckProperty(url, "wText", cmpEqual, "URL");Solved3.3KViews0likes9CommentsCan't play, record a test and highlight an object
Hi everyone, I automate UI tests for a web app with Chrome 80. I can't play or record a test (i use keywordtest) because TestComplete seems to don't succeed to recognize objects. I try to start my test from the middle for example to see if it's not just the first object. But same problem. The log says : "The window was destroyed during method execution." and sometimes "Unable to find the object". Then, i tried to use "drag the target to point to the object" but TestComplete highlight juste the entire webpage, not the object i point. It's weird because I didn't change project properties and before this afternoon it works good. Hope I'm clear. If someone has an idea, it will be cool. Thanks ! MathiasSolved3.2KViews0likes11CommentsTestComplete Trial Chrome not recording
I am part of a team evaluating TestComplete for my company. For some reason when I record a test nothing is getting into the keyword test. It open chrome but that is it. No recording of the application once I am in Chrome. I am using TestComplete 15. Any help is appreciated. Thanks!Solved2.9KViews0likes18CommentsObject mapping for multiple environments
Hello, I am new to TestComplete v14.5 and am preparing some keyword tests to be used across all of our test environments. I have found that the name mapping uses the full URL by default to id the object. This means that each URL needs to be manually modified to replace the "www.website.com/" with * to enable it to work on different servers. Is there a way of avoiding this manual step and having the objects recorded only referring to the data to the right of the / (e.g./extranet/do/rlLogin)? Thanks for your help, JamesSolved2.6KViews0likes6CommentsAnyone have some really good material for name mapping?
I'm wondering if someone can relate and has gone through what im about to explain but they found a really good write up that educated them about name mapping. I've already gone over the material provided by default from testcomplete (object tree model...breadth vs depth,naming aliases etc... ) and I still struggle with name mapping. It's frustrating because I am spending more time trying to make the **bleep** software recognize objects on the webpage more than anything. I'll record and do playback and it just loses it's **bleep** mind saying it cannot find the object, and i'm sometimes spending a whole day on one test case trying to find some compromise where I can complete the test automation because testcomplete cannot recognize objects it previously added to name mapping. It's very frustrating and I just wish I could use the software the way it's advertised. I sometimes just ignore the built in name mapping all together and resort to using XPath and Jscript to find objects on a screen... which feels more like a compromise because I'd much rather use the built in testcomplete name mapping to make life easier.Solved2.3KViews0likes7CommentsWeb Menu Dropdowns Clicks randomly selecting from the menu dropdowns
I am attempting to do menu dropdown selections testing. The menu is itself a textnode until it gets populated by the menu option. When I recorded the original test the menus that I selected populated the menu title with that name. On a regular basis I will have tests that will have menu options that have various names various menus departments and other menu clicks fields the drop list is always changing depending on what was selected from a previous menu option. So one menu option can affect what is in another menu's options. I need to test these dropdown fields randomly and I will not know what is in the dropdown fields. Is there away to do this within TestComplete. Or is there a listing of example code that I can add to the unit script?2KViews0likes9CommentsWhy Would A script Record Differently
I had these scripts that worked perfectly fine and then I had the audacity to take two days of vacation The scripts no longer work today and when I went to re-record (It is not what i want to to) they recorded differently I realize that an instance may change - however I can not see it changing all that much Keyword converted to script This script worked perfectly It no longer does def EnterQ1(): Browsers.Item[btChrome].Run("https://internal.pers.state.or.us/web/html/isd/TOS/QA/qas_resources.shtml") Aliases.browser.BrowserWindow.Click(228, 141) Aliases.browser.BrowserWindow.Maximize() Aliases.browser.pageQasTestLinks.linkQat1Clarety2.Click() Aliases.browser.pageLogInToOregonPersQat1.Wait() Aliases.browser.pageLogInToOregonPersQat1.formKcFormLogin.textboxUserId.Click() Aliases.browser.pageLogInToOregonPersQat1.formKcFormLogin.textboxUserId.SetText("schkent1") Aliases.browser.pageLogInToOregonPersQat1.formKcFormLogin.textboxUserId.Keys("[Tab]") #Aliases.browser.pageLogInToOregonPersQat1.formKcFormLogin.passwordboxPassword.SetText(Project.Variables.Password3) #Aliases.browser.pageLogInToOregonPersQat1.formKcFormLogin.passwordboxPassword.SetText(Project.Variables.Password4) Aliases.browser.pageLogInToOregonPersQat1.formKcFormLogin.passwordboxPassword.SetText(Project.Variables.Password1) Aliases.browser.pageLogInToOregonPersQat1.formKcFormLogin.submitbuttonLogIn.ClickButton() RE-Reqcorded and now working fine def EnterQ1_(): Browsers.Item[btChrome].Run("https://internal.pers.state.or.us/web/html/isd/TOS/QA/qas_resources.shtml") Aliases.browser.BrowserWindow.Click(193, 133) Aliases.browser.BrowserWindow.Maximize() Aliases.browser.pageQasTestLinks.linkQat1Clarety.Click() Aliases.browser.pageAuth.Wait() Aliases.browser.pageAuth.formKcFormLogin.textboxUserId.Click() Aliases.browser.pageAuth.formKcFormLogin.textboxUserId.SetText("schkent1") Aliases.browser.pageAuth.formKcFormLogin.textboxUserId.Keys("[Tab]") Aliases.browser.pageAuth.formKcFormLogin.passwordboxPassword.SetText(Project.Variables.Clarety_V) Aliases.browser.pageAuth.formKcFormLogin.submitbuttonLogIn.ClickButton()Solved1.8KViews0likes7CommentsAutomation in Flutter application does not work
Hello I have an application developed in Flutter but i can't automate it. I'm using a cell phone connected to my machine. With the app Mobile Orders app it's OK. Am I doing something wrong? I'm using TestComplete version: 14.90.432.7 x641.7KViews0likes5Comments