Contributions
Editting Testcomplete 9.1 from multiple Perforce users
I've got a TestComplete 9.1 Project Suite checked into Perforce. When another user loads the projects it asks for my Perforce credentials. Is there anyway to use different Perforce accounts without having to reassociate P4 credential information?25KViews0likes0CommentsRe: How to Uninstall application fro add remove programs.
Had to do a bit of conversion in VBscript on Win7 but this seems to work. Sub SelectApplicationFromControlPanel() Dim WshShell, oExec, p, w, applicationWnd Dim button, applicationName, buttonName, programsList applicationName = "APPLICATION_NAME" buttonName = "Uninstall*" Set WshShell = CreateObject("WScript.Shell") Set oExec = WshShell.Exec("RunDll32.exe shell32.dll,"&_ "Control_RunDLL appwiz.cpl,,0") BuiltIn.Delay(10000) Sys.Process("Explorer").Refresh() Set p = Sys.Process("Explorer").FindChild("WndCaption", "Control Panel\Programs\Programs and Features") If Not p.Exists Then Call Log.Error("The 'Add or remove programs' dialog was not found") Else Set programsList = p.FindChild("WndClass", "SysListView32", 20) Log.Message(p.FullName) Call programsList.ClickItem(applicationName, 0) Dim propArray(1) propArray(0) = "Caption" propArray(1) = "ObjectType" Dim valuesArray(1) valuesArray(0) = buttonName valuesArray(1) = "Button" Set button = p.FindChild(propArray, valuesArray, 20) Call button.Click() 'Insert Uninstall Code Here p.Close() End If End Sub1.4KViews0likes0CommentsGetting Pass or Fail result from XML, HTML or MHT report??
Is there an easy way to email a pass or fail result based off the report generated? Easiest way I can see is to parse the xml report but I can't tell where the result is for the top level. My scenario: I run a test project and export the report to xml or html or mht. Based off that report I generate an email with Pass or Fail in the subject (This is where I'm stuck) Any help would be appreciated.9.9KViews0likes4Comments