Contributions
Re: name mapping ,change the value of an identification property
Colin_McCrae,thank you very much, it helps ,TestObj.RefreshMappingInfo() now I know ,once the identification property is setted, it can not be reset, unless you restart TC ,or use TestObj.RefreshMappingInfo() this case, it is a panel with 30 buttons, parent node is BoxControl, I want to use a dynamic identification property to match one of it. "Aliases...xxx...BoxControl.index" is 1 to 302.4KViews0likes2Commentsname mapping ,change the value of an identification property
like the pic attachments -----------------------------------code start--------------------------------------------------- def clickbutton(): Project.Variables.var1 = "1" #time1 Aliases.LockControlSimulator.xxx.BoxControl.button1.ClickButton() Project.Variables.var1 = "2" #time2 Aliases.LockControlSimulator.xxx.BoxControl.button1.ClickButton() -----------------------------------code end--------------------------------------------------- time1 and time2 is click the same button, I wish it can click the button I set after it run, the value of the button property will always "1" ,until I restart TC How can I make the value refresh? this problem makes me cracy, help me please!Solved2.4KViews0likes8Commentsrun selected operation is ok,but run the whole keyword test is failed
web test, JAVA development. press a button to pop-up a window,then set text to a textbox in this window. when I run the keyword test ,it show "can not find the object !" at this step. and I try "run selected operation" , or highlight the textbox object ,it passed~ I am going crazy now~~~~~~~~~~~~~help2.2KViews0likes4CommentsRe: web test, radom "the object does not exist"
I've found the reason, it is a bug of the window ,someoperation can make the window out of focus,so that TC can not find the window . If I click any part of the window manually , make it in a focused status , TC can playback correctly . thanks all the same ,Murugan S1.3KViews0likes0Commentsweb test, radom "the object does not exist"
web page test, JAVA developement. press a button to pop-up a window. when I playback , sometimes "the object does not exist" will throw in this step, but when I try it again once or more, it will pass. or I close the window and open it again manually ,then highlight it, it can be found. there is not any problem in NameMapping, the pop-up window was defined currectly. so what's the problem??? please help~~~~~~~~~~~~~~~~Solved2.7KViews0likes4Comments