bajwasingh
15 years agoNew Contributor
a run time genreated Item is not recognised by test complete
hello, i am testing an application like photoshop with test complete, following are the steps i am trying to perform:
select the text tool
click in canvas
insert some text
Now test complete records that text item by the name of something like "z248050552f1c4bdd940d3662fa6edf8d" {it is generated new everytime add new text item}
Now when i run that test, it runs upto the click in canvas, but donot insert text in it as it is trying to find the "z248050552f1c4bdd940d3662fa6edf8d" element {which is now changed for new text item} and test fails.
pls help how can test it. following is complete line of scripts.
.AdminModule_vshost.HwndSource_Main.Main.dp.Grid.TemplateEditor.TemplateEditor.DockPanel.AppDock.splitPanel.DockWindowGroup.Grid.dckPanel.brdViewBox.vwBox.scroll.Canvas.Layer.z248050552f1c4bdd940d3662fa6edf8d.Keys("sdfsdf")
select the text tool
click in canvas
insert some text
Now test complete records that text item by the name of something like "z248050552f1c4bdd940d3662fa6edf8d" {it is generated new everytime add new text item}
Now when i run that test, it runs upto the click in canvas, but donot insert text in it as it is trying to find the "z248050552f1c4bdd940d3662fa6edf8d" element {which is now changed for new text item} and test fails.
pls help how can test it. following is complete line of scripts.
Call Aliases.AdminModule_vshost.HwndSource_Main.Main.dp.Grid.TemplateEditor.TemplateEditor.DockPanel.AppDock.splitPanel.DockWindowGroup.Grid.dckPanel.brdViewBox.vwBox.scroll.Canvas.Layer.z248050552f1c4bdd940d3662fa6edf8d.Keys("sdfsdf")
.AdminModule_vshost.HwndSource_Main.Main.dp.Grid.TemplateEditor.TemplateEditor.DockPanel.AppDock.splitPanel.DockWindowGroup.Grid.dckPanel.brdViewBox.vwBox.scroll.Canvas.Layer.z248050552f1c4bdd940d3662fa6edf8d.Keys("sdfsdf")