Forum Discussion
No, you are using wrong objects.
Your target object is vizbybis.mainview.exploresearch.containingbox.opendefaultcombobox
So you should code it like:
parent_object = vizbybis.mainview.exploresearch.containingbox
child_object = parent_object.WaitAliasChild("opendefaultcombobox", 10000)
Still not working.
var Parentobj= vizbybis.mainview.exploresearch.containingbox
if(Parentobj.WaitAliasChild("OpenDefaultBox", 10000).Exists)
{
OpenDefaultBox.Click();
}
else
Log.Message(OpenDefaultBox+" object not found")
getting below error:
JScript runtime error. The Aliases.browser.page.objvizexplorer.vizexplorer.mainview.exploresearch.containingbox object does not have a child with the name "OpenDefaultBox".
Even though the object is mapped in name mapping.attaching the screenshot
- baxatob8 years agoCommunity Hero
Sure, because your alias name is "opendefaultcombobox"
- meenakshiyadav18 years agoContributor
yes, I just noticed it. I will correct it and try again. Many thanks for the quick response.