ContributionsMost RecentMost LikesSolutionsGeneralEventsIs it possible to send in a object to a GeneralEvent? I want to post a "debug object" if thereis a GeneralEvents_OnLogErrorRe: Firefox 17 patch for TestComplete 9.10Having stability problems with the patch FF 17 is craching after a while when closing the browser Problem signature: Problem Event Name: BEX Application Name: firefox.exe Application Version: 17.0.1.4715 Application Timestamp: 50b71a4b Fault Module Name: tcHook.dll_unloaded Fault Module Version: 0.0.0.0 Fault Module Timestamp: 507521f9 Exception Offset: 10121292 Exception Code: c0000005 Exception Data: 00000008 OS Version: 6.1.7601.2.1.0.256.4 Locale ID: 1053 Additional Information 1: b963 Additional Information 2: b963f0551634b062da11b2f69f035283 Additional Information 3: e5aa Additional Information 4: e5aaf70b5bd3d2a9d71506619d24947f Re: xPath on text function test(){ var page = Sys.Browser("chrome").Page("http://smartbear.com/"); var item = page.EvaluateXPath("//a[text()]"); } In chrome Developer tools the same xPath returs 141 nodes and in TC 0 (or undefined)xPath on textHaving problem using the text of the html element to grep on in an EvaluateXPath. I have tried the following (and they work in Chrome Developer Tools): //*[text()='Text'] //*[contains(.,'Text')] //*[.='Text'] //*[text()[contains(.,'Text')]] How should the xPath be written to work in TC? SolvedTestExecute optionsIs there any way of changing the "behaviour" of TestExecute? We want to: Change the exit code to only 0/1 (0 the test ran (could have errors in log) / 1 the test failed (unable to run test) Change the setting (via .ini or regestry) for "Activate after test run" SVG dom interpreterWill there be a SVG interpreter soon so that the different SVG elements show up in the DOM structure? As now the cavans element is the last element to show up in the DOM model. Re: Bug: Optional parameters in Log.My example was taken from the help pages inside TC :-) Is the bug inside the help then? Bug: Optional parameters in Log.There seems to be a bug in the Log. functions The "Optional" Parameters isn't optional! function WarningExample() { // Specifies a short description of a warning var Str = "One instance of the application has already been launched."; // Specifies extended text for the warning var ExtStr = "One instance of NOTEPAD.EXE has already been launched on the machine."; // Specifies a priority for the warning var Prior = pmHigher; //... // Specifies the path to an image var sImgPath = "C:\\Work\\MyImj.jpg"; // Posts the warning message to the test log Log.Warning(Str, ExtStr, Prior, , sImgPath); } Re: Calling Scripts Located on a Web Page From TestComplete Scripts for firefoxOK - besides that TC can't call javascript in IE an documents that areopened in Document Mode: IE9 We still having problem with calling javascripts in FF. I think TC aren't able to take a function as a parameter. This is crucial for us since we are using an ajax framework with callback functions. We are getting: Microsoft JScript runtime error Invalid procedure call or argument When calling a function like: var pageFF = Sys.Process("firefox").Page("*"); Script = pageFF.contentDocument.Script Item = Script.JSFunction("param1", function() {}); The same function call works in IERe: Waiting for VisibleI'm pausing a web test inside ie/ff (after e.g. page.toUrl) and then trying to view the objects browser. The indicator just shows "Waiting for Visible" Where should i post the captured? I don't want to post it here