This question is locked. New answers and comments are not allowed.
Greetings!
We are having problems interacting with the People Editor control of Sharepoint 2007 (see screenshot attached).
Whenever we record a text insertion into the People Editor, the testing framework doesn't record the corresponding step.
We had encountered a similar problem with the rich text boxes of Sharepoint 2007 and we had solved it by creating a coded step
which simulated real typing, according to your instructions in the related post. Thus, we tried to solve this problem in a similar fashion,
by creating a coded step:
But when we execute this step, the framework throws an exception:
How can we solve this problem?
Thank you very much for your attention,
André Silva.
We are having problems interacting with the People Editor control of Sharepoint 2007 (see screenshot attached).
Whenever we record a text insertion into the People Editor, the testing framework doesn't record the corresponding step.
We had encountered a similar problem with the rich text boxes of Sharepoint 2007 and we had solved it by creating a coded step
which simulated real typing, according to your instructions in the related post. Thus, we tried to solve this problem in a similar fashion,
by creating a coded step:
| [CodedStep(@"Insert People in 'People Picker'")] |
| public void InsertItemInPeoplePicker_CodedStep() |
| { |
| // Set 'textarea_PlaceH__Instructions' text to 'Example text' |
| HtmlTextArea peoplePicker = Pages.Customize_Workflow.textarea_PlaceH_ownlevelTextBox; |
| peoplePicker.Wait.ForExists(10000); |
| peoplePicker.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop); |
| ActiveBrowser.Window.SetFocus(); |
| peoplePicker.MouseClick(); |
| Manager.Desktop.KeyBoard.TypeText("Example text", 150); |
| } |
But when we execute this step, the framework throws an exception:
| ArtOfTest.WebAii.Design.Exceptions.ExecutionException: Unhandled exception thrown during automation step execution ---> System.Exception: Test 'CreateWorkFlow01' failed! |
| at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(Test test) |
| at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteTestInCurrentContext(String relativeTestPath) |
| at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ExecuteTestActionDescriptor.Execute(Browser browser) |
| at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep() |
| --- End of inner exception stack trace --- |
| at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep() |
How can we solve this problem?
Thank you very much for your attention,
André Silva.