ContributionsMost RecentMost LikesSolutionsRe: Why cant I see all my tests in event handler? What is the filtering criteria please? What do we mean by Proper Parameters? Why cant I see all my tests in event handler? When I go and add a new event handler - lets say for an event OnLogError, I only see few scripts and no keyword test. Any reason? I can definitely add a new one but I would rather use an existing one SolvedRe: How to parse an XML using JavaScript Thanks Robert and Tanya I wrote this piece of code but unfortunately, it works only when I remove namespaces from the XML. <BasicExport xmlns="http://www.in.casds.com/SSR/XTI/Traffic/0011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.uk.nds.com/SSR/XTI/Traffic/0011 0011_export.xsd" transactionIdentifier="585073235185"> REPLACED with <BasicExport> function FirstValue() { var Doc, s, Nodes, ChildNodes, i, Node; Doc = getActiveXObject("Msxml2.DOMDocument.6.0"); Doc.async = false; Doc.load("C:\\mytest.xml"); if(Doc.parseError.errorCode != 0) { s = "Reason:\t" + Doc.parseError.reason + "\n" + "Line:\t" + aqConvert.VarToStr(Doc.parseError.line) + "\n" + "Pos:\t" + aqConvert.VarToStr(Doc.parseError.linePos) + "\n" + "Source:\t" + Doc.parseError.srcText; Log.Error("Cannot parse the document.", s); return; } Nodes = Doc.selectNodes("//caProductId"); Log.Message(Nodes.item(1).childNodes.item(1).text); } Though there is an example for namespace based XML. My XML seems to have namespace only in the first tag and then the rest of the xml doesnot use the namespace. Can you please help? Re: How to parse an XML using JavaScript Sorry The link seems to be broken. Would you be able to post your solution here please? Thanks How to parse an XML using JavaScript Here is my xml <?xml version="1.0" encoding="UTF-8"?> <BasicExport xmlns="http://www.in.casds.com/SSR/XTI/Traffic/0011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.uk.nds.com/SSR/XTI/Traffic/0011 0011_export.xsd" transactionIdentifier="585073235185"> <CaProductList> <CaProductItem> <caProductId>00000007832</caProductId> <productType>IPPV and OPPV</productType> <productTypeId>3</productTypeId> <productStartDateTime>2013/09/10 19:30:24:00</productStartDateTime> <productExpiryDateTime>2038/04/22 00:00:00:00</productExpiryDateTime> </CaProductItem> <CaProductItem> <caProductId>00000007832</caProductId> <productType>XTV and OPPV</productType> <productTypeId>6</productTypeId> <productStartDateTime>2013/09/10 19:30:24:00</productStartDateTime> <productExpiryDateTime>2038/04/22 00:00:00:00</productExpiryDateTime> </CaProductItem> <CaProductItem> <caProductId>00000007833</caProductId> <productType>IPPV and OPPV</productType> <productTypeId>3</productTypeId> <productStartDateTime>2013/09/10 23:04:07:00</productStartDateTime> <productExpiryDateTime>2038/04/22 00:00:00:00</productExpiryDateTime> </CaProductItem> <CaProductItem> <caProductId>00000007833</caProductId> <productType>XTV and OPPV</productType> <productTypeId>6</productTypeId> <productStartDateTime>2013/09/10 23:04:07:00</productStartDateTime> <productExpiryDateTime>2038/04/22 00:00:00:00</productExpiryDateTime> </CaProductItem> </CaProductList> </BasicExport> I would like to retrieve a value for caProductId[1] Thanks Stop on Error Defect in 10.30Hello Team, This was working fine on 10.20 but not on 10.30. As per the specifications of Stop on Error Project - If this value is selected and an error or an exception occurs during the test item run, TestComplete stops execution of the whole project. Test Item - (Default) If this value is selected and an error or an exception has occurred during the test item run, TestComplete continues execution of the current iteration of the test item (if possible) but cancels execution of the test item’s further iterations and child test items and proceeds with execution of subsequent sibling items. I have all my Items in the projects set to 'Project' even then Testcomplete doesnot stop on the first error but rather tries to execute the remaining steps in the test item and then stops (Obviously remaining steps will fail but if there are 1000 steps after the failure then test doesnot stop for several hours) Anyone has noticed this? Pravin Re: Swings application running on JAVA 1.7 Update 55 & Java 8 using TC 10.20Further on this. It seems its going to be an enhancement for TC. - If the application is downloaded as a standalone jar file then TC can recognize all the objects BUT - If the application is launched as a JNLP file from the browser, the above mentioned problem occurs, where TC stops at the window lever and doesnot drill down Looks like some jar signing and security stuff has changed in the latest version of JAVA which TC doensot understand Thanks PravinSwings application running on JAVA 1.7 Update 55 & Java 8 using TC 10.20Hello I see that TC 10.20 can identify swings applications and can indetify windows but cant go inside windows and identify the individual objects. Has anyone noticed it? Thanks PravinRe: How can I use OnLogError event to execute the same statement again and not log an errorThanks Jose, But I cant add If Exits for eash step as I have around 10,000 objects mapped and several hundred tests using them Its just that due to the performance of the VM we are running the test on, sometime the object come into memory a little late. Hence when the object is not found, I wanted the test to not stop rather just retry the same statement again. Thanks Ryan/Gena I shall try to see if I can implement something like this. BTW. can you please send me the VB Script version of a script, which catched the error and then goes back to same step which caused it. I just want the execution control to be transferred to the same place once, if it fails again then there is a genuine problem with the object and it can fail the next time. Thanks PravinRe: Table Checkpint for Swings JTable only works with plain data in cell not complex dataThe second issue is still there in TC10.20