ContributionsMost RecentMost LikesSolutionsSetText() exception not caught How can I catch this exception? function setControlText(control, text) { //usage example 1: setControlText(txtUName, userName); //usage example 2: setControlText(passwordBox, ("1234[Enter]")); Log.Message("text to enter:" + text); try { clearControlText(control); control.SetText(text); control.Click(01, 01); } catch(e) { Log.Message(e.message + " ignored"); } } It fails at the SetText() line with this error: Unable to perform the action because the text editor is disabled. 12:07:56 Normal 7.05 SolvedRe: desktop dropdown example getting number Enclosed pictures, there is no name on the dropdown, just a down arrow, but I'm unable to get the '2' or the '3' or the number of items: desktop dropdown example getting number A simple example on how to get the numbers of items in a dropdown and their name:, the only thin I manage is to click its index: function cardpocket(var item=0) { sp = Aliases.LraClient.CardInfoView.StackPanem.SelectPocket; if sp.Exists) { sp.ClickItem(item); } } sp.Items return an object, but its length=0. there is no PropertyItem, I assume I need to do some Child() navigation but haven't found any examples on this. SolvedRe: TC player just hangs after update to win10 2004 and TC14.60 That is the problem is is just a freeze, but it is only on the TC processes. It is probably waiting for some internal resources. I've cleaned up all temp-space and removed all programs not needed. I believe it is just more resources needed for each upgrade. Re: Xpath compare whole NOBR if you use /nobr you'll see there are two, on the same level you can't have both, you need to go to parent (<td>): //td[@class="csC31EF637" and text()="INVRCT-")] //td[@class="csC31EF637" and text()="4072")] I usually do a print of the innerHTML attribute if I'm unsure: els = driver.find_elements(By.XPATH, "//td[@class='csC31EF637']/nobr") for el in els: print(el.get_attribute('innerHTML')) TC player just hangs after update to win10 2004 and TC14.60 Hi I've been running win10 2004 for some time on TC 14.50, but just after I updated to TC14.60 the player started to freeze. It doesn't stop at the same places, but the player stops and hangs forever. and the Tc processes just do nothing. How can we debug this better? -- Morten Bjoernsvik, Buypass AS, Oslo, Norway SolvedRe: how to monitor test progress Thanks, We use GitlabCI, Jenkins and TeamCity We do not need another test management tool, so I go further with the database. adding a little webinterface on the testExecute machine, so we can see progress of test running and estimate when it will be finished. how to monitor test progress Hi what is best practice for monitoring test in progress. I currently have a simple rest api that just write ok,failed,in progress to a list, but I need to look up and it does not save any logs. SolvedRe: testcomplete jobselector During the weekend I spent some hours on this. You can just save a separate *.mds file for each template. But this does not take into account updates, so we ended up with a single *.mds file, then using python's built in xml parser xml.etree.ElementTree and disable everything, then turn on all test that should be on and then turn on based on a template. so in case of Errors I can easily only run that subgroup of tests and save 3hours compared to the full test. The only tricky part where tests that were parents but not groups, I needed to hardcode as both tests and group. But what I would say this is pure xml and all xml libraries can surely edit and save it without missing any content. Re: testcomplete jobselector I forgot to mention this is for machines that do not have testcomplete, only TestExecute