我想用Selenium IDE创建一个自动化测试。 我现在的问题是我不能在Selenium的字段[Zuweisen zu](转发器步骤)中插入一个值。使用在ShrePoint 2010上发布的InfoPath创建公式。
Selenium IDE无法记录它,我也没有找到任何方法来使用Selenium命令插入值。
如何使用Selenium将值插入到公式中?
当我单击该字段并仅插入值Selenium记录时:
HTML代码:
<div tabIndex="0" title="Personenauswahl" class="ms-inputuserfield" id="ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees_upLevelDiv" role="textbox" aria-haspopup="true" style="overflow-x: hidden; background-color: window; word-wrap: break-word; height: 18px; color: windowtext;" contentEditable="true" onkeydown="return onKeyDownRw('ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees', 3, true, event);" onkeyup="return onKeyUpRw('ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees');" onclick="onClickRw(true, true,event,'ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees');" ondragstart="canEvt(event);" oncopy="docopy('ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees',event);" onpaste="dopaste('ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees',event);" onfocusin="StoreOldValue('ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees');saveOldEntities('ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees');" onfocusout="if(typeof(ExternalCustomControlCallback)=='function'){ if(ShouldCallCustomCallBack('ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees',event)){if(!ValidatePickerControl('ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees')){ShowValidationError();return false;}else {ExternalCustomControlCallback('ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees');}}}" onchange="updateControlValue('ctl00_PlaceHolderMain_workflowEditor_repeaterPhases_ctl01_repeaterSteps_ctl01_himPeopleEditor_peopleEditiorAssignees');" preferContentEditableDiv="true" name="upLevelDiv" aria-multiline="true" rows="1" AutoPostBack="0">