My test cases haved "sendKeys" and "select" commands,
they can work well if I disabled option "Playback Through WebDriver",
But when I tried to "sendKeys" or "select" in playback through WebDriver ON, using SideeX Runner or WebService ,
It always appear error message "[ERROR] Event is not a constructor", browsers whatever used Edge or Chrome,
but use command "type" to replace "sendKeys" can run test case successfully.
--
在未勾選"Playback Through [WebDriver]"的情況下,
我含有"sendKeys"與"select"指令的Test Cases能運作正常,
但只要在勾選Playback Through WebDriver或使用SideeX Runner, WebService的情況下嘗試"sendKeys"或"select",
它總是出現錯誤訊息 "[ERROR] Event is not a constructor",無論使用Edge或Chrome皆是如此,
只要將sendKeys修改為"type"時就可以成功運作.
不過同樣有錯誤的 select 找不到替代方案.
這問題困擾我許久,希望可以得到回覆!
My test cases haved "sendKeys" and "select" commands, they can work well if I disabled option "Playback Through WebDriver", But when I tried to "sendKeys" or "select" in playback through WebDriver ON, using SideeX Runner or WebService , It always appear error message "[ERROR] Event is not a constructor", browsers whatever used Edge or Chrome, but use command "type" to replace "sendKeys" can run test case successfully.
-- 在未勾選"Playback Through [WebDriver]"的情況下, 我含有"sendKeys"與"select"指令的Test Cases能運作正常, 但只要在勾選Playback Through WebDriver或使用SideeX Runner, WebService的情況下嘗試"sendKeys"或"select", 它總是出現錯誤訊息 "[ERROR] Event is not a constructor",無論使用Edge或Chrome皆是如此, 只要將sendKeys修改為"type"時就可以成功運作. 不過同樣有錯誤的 select 找不到替代方案. 這問題困擾我許久,希望可以得到回覆!