After updated V5.0.3,
All my macro have error "Cannot read property ‘tab’ of undefined’ when execute command ‘waitforVisible’.
Thanks
After updated V5.0.3,
All my macro have error "Cannot read property ‘tab’ of undefined’ when execute command ‘waitforVisible’.
Thanks
Do you have a test macro? The demo macro DemoImplicitWaiting (which uses waitforVisible
) works fine.
{
"Name": "DemoImplicitWaiting",
"CreationDate": "2019-6-12",
"Commands": [
{
"Command": "comment",
"Target": "WaitForVisible is not part of implicit waiting",
"Value": ""
},
{
"Command": "open",
"Target": "https://ui.vision/demo/waitforvisible",
"Value": ""
},
{
"Command": "waitForVisible",
"Target": "css=#div1 > h1",
"Value": ""
},
{
"Command": "click",
"Target": "css=#div1 > h1",
"Value": ""
},
{
"Command": "store",
"Target": "20",
"Value": "!timeout_wait"
},
{
"Command": "waitForVisible",
"Target": "css=#div2 > h1",
"Value": ""
},
{
"Command": "click",
"Target": "css=#div2 > h1",
"Value": ""
},
{
"Command": "comment",
"Target": "Implicit waiting: Wait for elements to be loaded or <timeout_wait> is reached",
"Value": ""
},
{
"Command": "open",
"Target": "https://ui.vision/demo/webtest/implicitwaiting/",
"Value": ""
},
{
"Command": "store",
"Target": "15",
"Value": "!TIMEOUT_WAIT"
},
{
"Command": "assertText",
"Target": "/html/body/header/center/p[2]",
"Value": "Use the select box to start the timer..."
},
{
"Command": "select",
"Target": "id=minutesSelect",
"Value": "label=5 Seconds"
},
{
"Command": "echo",
"Target": "The next element (target) is not available yet... Kantu waits for it up to ${!TIMEOUT_WAIT} seconds to appear.",
"Value": "blue"
},
{
"Command": "click",
"Target": "/html/body/header/center/img",
"Value": ""
}
]
}