Launch Browser in Incognito/Private Mode
Thought of sharing the code in the community for launching browsers in their incognito modes. The function is parameterized such a way to run for the browsers Internet Explorer, Edge, Chrome and Firefox. Hope it will be useful for more people. function runIncognitoMode(browserName){ //var browserName = "firefox" //iexplore,edge,chrome,firefox if (Sys.WaitBrowser(browserName).Exists){ var browser = Sys.Browser(browserName); Log.Enabled = false // To disable the warning that might occur during closing of the browser browser.Close(); Log.Enabled = true // enabling the logs back } if(browserName=="edge"){ Browsers.Item(btEdge).RunOptions = "-inprivate" Delay(3000) Browsers.Item(btEdge).Run(); }else if (browserName=="iexplore"){ Browsers.Item(btIExplorer).RunOptions = "-private" Delay(3000) Browsers.Item(btIExplorer).Run(); }else if (browserName=="chrome"){ Browsers.Item(btChrome).RunOptions = "-incognito" Delay(3000) Browsers.Item(btChrome).Run(); }else if (browserName=="firefox"){ Browsers.Item(btFirefox).RunOptions = "-private" Delay(3000) Browsers.Item(btFirefox).Run(); } Sys.Browser(browserName).BrowserWindow(0).Maximize() }3.8KViews8likes3CommentsTestcomplete fail to recognize the object which is hidden behind the firefox update dialog
We have a web application. We have already automated the application . Now this automated tests is runing on daily basis. We are seeing that firefox update notification dialog start appearing . Due to which our script is trying to click the object which is hidden behind the firefox update notification dialog. But it do not find the object and there is an error - there was an attempt to perform zero sized error . How can we ask TestComplete to click on the object which is hidden behind the Firefox Update notification dialog ? Let me know if you have more questions. Thanks NG.1.4KViews0likes5CommentsWhen playing back a keyword script in Firefox v78.7.0 the autocomplete does not work
Our team is evaluating Test complete version 14.81. We have a lot of web applications that we are trying this tool on. My current script has a website that I browse to using Firefox and once the web site is loaded, there is a user lookup icon that is clicked. Once this page opens, the script types in the first user name from my excel spreadsheet. Next the website auto will lookup or autocomplete the query for the user then you can click on the user's profile. This is the part that does not work when we play back the actions in the script. We added a delay of 15 seconds and this did not work either. Is there something wrong during playback?Solved1KViews0likes2CommentsFollowing migration to TestComplete 14.61 and Firefox 81, pages and objects are no longer recognized
Hello everyone, I have a problem because on my automatic test development machine, I was with TesComplete 14.60 and Firefox 77 and everything worked perfectly. Having updated TestComplete to version 14.61, I saw that it supports Firefox version 81 (https://support.smartbear.com/downloads/testcomplete/firefox-patches/). I didn't check that TestComplete was still compatible with Firefox 77 and I updated Firefox to version 81. Result,pages and objects are no longer recognized 😪. On the same machine, TestComplete 14.61 is still compatible with Chrome 80🤔 I rechecked the Firefox settings (https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/firefox.html)and everything is okay. Where can the problem come from ? I tried to reinstall Firefox 77 but that doesn't work anymore either. thank you for your helpSolved4KViews0likes7CommentsFireFox tests not exeucted with TC v 14.60.
Hi , Im trying to execute the fire fox tests using TC v14.60. But the browser is not opening. The error it says " The object with the specified attributes does not exist." . Unable to find the sys.browser(Firefox). I have applied the patch as suggested in testcomplete website. Im using firefox 81.0.1. Any help is appreciated. Regards, CkumarSolved1.3KViews0likes2CommentsFirefox is not working after recording screen
Hello, I try to create a keyword test script by recording the screen. When I try to record when I select a dropdown list, the firefox is freeze and the test complete is not record anything. How to fix it? I use firefox 80.0.1 on window 10. PS: I try to manual test, it can select a dropdown correctly. And another steps I can record a keyword test normally.Solved1.5KViews0likes2CommentsName Mapping Issues with 14.4
Has anyone experienced any issues with name mappings in 14.4? This is in web browsers. My issue is after upgrading many of my mappings no longer work. I have to remap them (and they map to what it was already) and the action still does not see the object just after remapping it. Originally had a ticket and the issue seemed to be multiple tabs open and was given this solution to run this with the testcomplete.exe /ForkLimitBrowser /ForkLimitUnlimited. But now I am having similar issue, but I do not have multiple tabs open.Solved2KViews0likes4CommentsCan we do Graphs and Scaling validation with testcomplete
Currently we had an application which is having graphs. The graphs are generated in the AUT based on the data in excel. I tried object recognition, but the whole graph is showing as an object and object type is showing as 'CANVAS' Can we able to validate the graphs and scaling points created on x and y axis using testcomplete using that data? Should Intelligent Quality add on do any help for the above scenario? Please see attachmentsSolved3.3KViews0likes5CommentsIterating through items
Hey everybody, me again This time, my issue is that I have to iterate through a series of objects. The objects have objectID '0', '1', '2', and so on, but the amount of objects is not fixed. What I tried is creating a Project Variable, and go for while(Aliases.browser.pageCockpit.frameUserMenu.panelIterative.Exists) { Aliases.browser.pageCockpit.frameUserMenu.panelIterative.Click(15, 20); Project.Variables.panelIterativeIdentifier++; } And set the ObjectID identifier in namemapping to panelIterativeIdentifier as well. It just doesn't work, it keeps going for the object with the ObjectID of 0. What am I doing wrong?Solved4.2KViews0likes9Comments