Contributions
Re: Getting error such as disconnecting from client
I don't think so, it is visible on screen and also when i retry to spy it gives the properties but when try to highlight on screen it starts giving error. where can i get the mechanism or protocol doc or information regarding spy tool that how does it work?320Views0likes0CommentsRe: Getting error such as disconnecting from client
It is happening when I am spying on any object in my application and when going to object browser and trying to highlight the identified object. This is happening very frequently. TC is 15.53.2.7 also sharing other errors showing in Object spy tool Error: An error occurred. Possible reasons: 1. The application stopped responding. 2. The application was compiled incorrectly (see the Open Applications topic in the help system). 3. An error occurred in TestComplete/TestExecute. Technical information: 204 0x80020006 (Unknown name.) getContextMenu every tie these error shows in Object spy tool but whenever i click on highlight screen disconnected from client error comes.340Views0likes0CommentsRe: Not able to find object
var v = LockList.FindChild(prop, value, 100) var SNum = v.FindChild(prop1, value1, 100) var Action = v.FindChild(prop2, value2, 100) I checked this returns right object Highlightobject worked after restarting var SerialNum = aqObject.GetPropertyValue(SNum, "JavaFXObjectText") do { var SerialNum = aqObject.GetPropertyValue(SNum, "JavaFXObjectText") } while (SerialNum == "") { Log.Message("Trying to get the Lock serial no") } Log.Message(SerialNum) Here I am using while because initially SerialNum gives blank but it should return a value so unless it fetches a value i keep it running It get stuck on Advancebutton as it Exist property is coming false not sure why I have dubugges as well but nothing fruitfull so for now I have implemented to image to click and it is working.266Views0likes0CommentsNot able to find object
In my script using findall method but it is not working as expected sharing piece of code below: var lockConnectedFlag = 0 Aliases.javaw.stageLockConfigurationTool.scene.topLevelTabPane.labelDiagnostics.Click() var j = 0 var v = null; Delay(5000) var LockList = Aliases.javaw.stageLockConfigurationTool.scene.topLevelTabPane.rightLockListView var LockCount = GetPropertyValue(LockList, "wRowCount") for (i = 0; i < LockCount; i++) { var prop = new Array("JavaFullClassName", "JavaFXObjectIndex") var value = new Array("javafx.scene.control.TableRow", i) v = LockList.FindChild(prop, value, 100) var prop1 = new Array("JavaFullClassName", "columnIndex") var value1 = new Array("com.assaabloy.lct.ui.util.LctGuiUtil$2$1", 1) var SNum = v.FindChild(prop1, value1, 100) Delay(5000) var SerialNum = aqObject.GetPropertyValue(SNum, "JavaFXObjectText") do { var SerialNum = aqObject.GetPropertyValue(SNum, "JavaFXObjectText") } while (SerialNum == "") { Log.Message("Trying to get the Lock serial no") } Log.Message(SerialNum) if (LockSerialNumber == SerialNum) { Delay(2000) var prop2 = new Array("JavaFullClassName", "columnIndex") var value2 = new Array("com.assaabloy.lct.ui.custom.DiagnosticsTableActionCell$1", var Action = v.FindChild(prop2, value2, 100) var prop4 = new Array("JavaFullClassName", "columnIndex") var value4 = new Array("com.assaabloy.lct.ui.custom.DiagnosticsTableActionCell$1", var prop3 = new Array("JavaClassName", "JavaFXObjectName", "JavaFXObjectIndex") var value3 = new Array("HoverAwareImageView", "diagnoseButton", 0) var Advancebutton = Action.FindChild(prop3, value3, 100) if (Advancebutton.WaitProperty("Exists", "true", 10000) == true) { Advancebutton.Click() } else { Log.Message("Diagnose button is not enabled") } so in above piece of code Advancebutton always comes as false but i have checked its prop and values are matching when i checked with object spy tool. still code seems correct but adavacnebutton click never happens. for the same Desktop app in previous versions only theJavaFXObjectName name is changed but still in previous versions it works but not in latest version of desktop app. may be this is testcomplete issue as you can also see a while condition where i am not getting property value unless i run infinite loop. so is this an issue with Testcomplete ?354Views0likes6CommentsRe: Not selecting right dropdown
I have already tried other method such as actual code is that i am fething the value from excel for ClickItem. It is behaving same way in both cases hard coded and from excel as well. I was using 15.51 TC I upgraded it to latest but still same issue. So now as you suggested I will try to run in previous version of chrome as I am also running on 115. if you could suggest which chrome shall i use? would be great312Views0likes0Comments