Contributions
Re: Utilising If.. Then to check if browser running
So instead of using the GUI it's best to write underlying code to achieve proper closure of browser instances? The behaviour is very intermittent when using the GUI functions. Sometimes it will open a browser window, sometimes it won't.1.1KViews0likes1CommentUtilising If.. Then to check if browser running
Version: 12.50.4142.7 x64 I am noticing very intermittent behaviour for tests in my Project Suite which utilise running a browser (Internet Explorer). I have common failures that the "Run Browser" command simply doesn't work so this then breaks the test. I have previously tried to do this alternatvley utilising Start > Run option and I have seen references to code but I just want to use the available option to run a browser and for it to be consistent. I did think I can use an If ... Then condition usingSys.WaitBrowser().Exists Equals False that if the Run Browser doesn't work this is can be triggered but this doesn't seem to work. Any advice would be appreciated.1.1KViews0likes3CommentsRe: Option to change input based on web content
Ok, a case statement would work but where can I get some insight into how I can reference the text from within an Internet Explorer window? Do I need to see if I can reference the HTML code. Once a match has been found I then need to determine the text which is input on screen. Are there any examples of how this can be done.1.1KViews0likes1CommentObject Checkpoint or Web Accessibility Checkpoint?
I am looking at a Test Complete project a company has setup here and there is a combination of Web Accessibility& Object checkpoints used for websites. When simply checking if a website is operational?e.g. the page is rendered correctlypost a login am I best to stick to using the Object or Web Accessibility. I have read the articles online but after something in layman's terms from people whi effectivley use this software.693Views0likes1CommentOption to change input based on web content
I have setup a basic test for a website and login. I have since found out that post login the test user can be present with one of 3 different security questions. How it TestComplete can I cater for this? Can I do this via the GUI commands or will I have to write underlying code.1.1KViews0likes3CommentsTestComplete (TestExecute) Version: 12.50.4142.7 x64 - Batch Testing
Apologies in advance for the generic nature of this post.... I have joined a company who have a Project Suite setup which consists of 33 Projects, these tests individuallyseem to be ok and if run on an individual basis function ok. These are runvia a scheduled task which uses a batch file to call the project and create a .mht result file. The batch file being.... taskkill /f /im taskeng.exe taskkill /f /t /im TestExecute.exe taskkill /f /im rundll* set DD=%DATE:~0,2% set MM=%DATE:~3,2% set YY=%DATE:~8,2% set YYYY=%DATE:~6,4% set HH=%TIME:~0,2% set MN=%TIME:~3,2% set LOGFILE=UK-Morning-Checks-Busapps%YYYY%-%MM%-%DD%-%HH%-%MN%.MHT "C:\Program Files (x86)\SmartBear\TestExecute 12\Bin\TestExecute.exe" /run "C:\Test_Complete\UK_MorningChecks_Busapps\MorningChecks_Busapps.pjs" /ExportLog:"\\ukfiler01\busappsroot$\System\Logs\TestComplete\MorningChecks\%LOGFILE%" /ns /DoNotShowLog /exit taskkill /f /im taskeng.exe taskkill /f /t /im TestExecute.exe taskkill /f /im rundll* This is run on a remote PC which has it's session disconnected. At times this runs ok but at other times it's all over the place with failures (which are not true failures as subsquent individual tests run fine) - my gut feeling is if one test fails it struggles to recover as it continues to step through other tests. I want to do a whole re-write of this so after some advice on the best way to run a batch of tests on a remote PC which will be consistent. I believe I'd have to keep a scheduled task and batch file but can anyone offer any advice on the command line or things to implement for the individual tests i.e. pre or post steps or further functionality at Project level? I have searched resources online (and will continue to do so) but after some insight\knowledge of what would work best for this version of TestComplete. As I review all of the tests individually I will create posts asking specific questions - the purpose of this post is toamend a batch of 33 tests (projects) so it's more consistent.990Views0likes1Comment