-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lookup doesn't work in v9.1 #371
Comments
Hello, |
Hello @dnamrgrts |
I modified my scripts:
Here is the exception Result StackTrace: |
I'm running into similar issues here:
The first instruction to set the value for "pricelevelid" works perfectly fine. The second however fails and I get the following exception: The image below though indicates that it does exist. I had for some reason also some undeterministic behaviour while debugging through this error and had the value "Nancy Anderson (sample)" accepted before but could not reproduce it. Maybe this is related to some sort of race condition between the WebClient and the query? |
@TYLEROL : Please help us with any workarounds as we are stuck with this lookup. |
Any updates on this, not working for us either |
Hello @TYLEROL Appreciate your assistance on this. |
There is a workaround I added called highlight record. You can then use the 'edit command after it is selected.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Sachchin Annam <notifications@github.com>
Sent: Wednesday, April 10, 2019 7:32:05 PM
To: Microsoft/EasyRepro
Cc: markcunninghamuk; Comment
Subject: Re: [Microsoft/EasyRepro] Lookup doesn't work in v9.1 (#371)
Hello @TYLEROL<https://github.com/TYLEROL>
Any workaround for this bug?
Appreciate your assistance on this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#371 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AVS8CB80ndQDbJzrdpsXfL6OzIXDQ1iSks5vfi4lgaJpZM4azrMo>.
|
@markcunninghamuk: is your workaround related to selecting Account from lookup field? |
I am having the same issue. Are there any updates as we are stuck now, |
I was able to get my test to work. I added a ThinkTime afterwards and it worked. I beleive we are just not giving the control enough time to fully function.
|
i trying this in the V9.1 but Unified Interface doesn´t work... anyone with the same problem? |
William Owens is correct. It is much more reliable with a thinktime added.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: MMCod <notifications@github.com>
Sent: Tuesday, April 23, 2019 3:11:01 PM
To: Microsoft/EasyRepro
Cc: markcunninghamuk; Mention
Subject: Re: [Microsoft/EasyRepro] Lookup doesn't work in v9.1 (#371)
i trying this in the V9.1 but Unified Interface doesn´t work... anyone with the same problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#371 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AFKLYCFGIAG7U35GR2ONT5DPR4KHLANCNFSM4GWOWMUA>.
|
It works well, when the lookup has relatively small number of items.. Like while selecting Language or Currency. |
I am also having this issue. I agree with Sachin it works great when you have a small list. The more frustrating issue for me is it was working fine and just stopped working - guess it could be as we have added more records. The more frustrating part is if you debug the test and get the error and continue it ends up setting the value. This has us stopped in automated testing in the UI. Thanks!! |
After some additional testing it actually types the field and the option is displayed in the lookup box but it just doesn't get selected. I have as a temporary work around just used javascript to set the field values but it does not support any conditional testing. This issue has gotten much worse since the latest update in UCI |
Do we have any workaround as we are stuck with lookup selection in almost all the scripts? |
I am having the same issue. Not able to select a value from look up . CRM FS version is 8.6.0.274 |
Do we have any updates, as most of us are facing the same issue and not able to proceed further due to the underline issue. |
@nlipkow your issue might be because of the way the lookup is set using XrmBrowser. Currently the behavior will open the dialog with the top X results and then attempt to do a case sensitive match on the results. So if Price Level only has a few values, it stands to reason it would be in the list of what is initially displayed before a search. In the case of the Contact lookup, is Nancy Anderson isn't in the initial list of records it will fail with the error you're seeing. Submitted PR 479 for this. |
…tion to ensure the page is loaded to prevent issue with SetValue executing when the load is still happening. Added sleeps to make sure the elements get hovered & clicked properly (#480)
Merged into 9.1 branch - closing |
…tion to ensure the page is loaded to prevent issue with SetValue executing when the load is still happening. Added sleeps to make sure the elements get hovered & clicked properly (#480)
* Merging alpha branch with new develop branch (#457) * Adding support for Azure DevOps build testing * Merging UCI Nav Changes (#453) * Changes for Forcing UCI from Main.aspx * Updates * Committing * Changes for Missing Switcher in SiteMap * Remove project * Delete Documentation.csproj * Delete Program.cs * Delete App.config * Delete AssemblyInfo.cs * Delete app.config * Updated App.Config * App.Config * Revert "Merging UCI Nav Changes (#453)" (#454) This reverts commit 88d60cd. * Perf Enhancement to OpenSubArea (#458) * Merging alpha branch with new develop branch (#457) * Adding support for Azure DevOps build testing * Merging UCI Nav Changes (#453) * Changes for Forcing UCI from Main.aspx * Updates * Committing * Changes for Missing Switcher in SiteMap * Remove project * Delete Documentation.csproj * Delete Program.cs * Delete App.config * Delete AssemblyInfo.cs * Delete app.config * Updated App.Config * App.Config * Revert "Merging UCI Nav Changes (#453)" (#454) This reverts commit 88d60cd. * Adding WaitUntilAvailable to ensure the Timeline popout menu is both opened and clicked, allowing SetValue to work as expected. (#465) * Update Grid.Search() method to match org sample data (#467) * GitHub issues #404 and #380 Completing boolean Gets & Sets for all 3 field formats. Sorry this is a lot at once but I thought it made sense to keep it together (#483) * GitHub issue #439 Fixed OpenEntity to open specified record instead of re-opening the current record (#484) * GitHub issue #452 Added UCI new method to use form selector to change forms (#486) * Added support for remote execution (#475) (#493) Added remote execution support for selenium grid for Firefox and Chrome web browsers. This is useful when you need to perform a large number of tests. * Allows browser height & width to be set manualy to a larger size than the current resolution supports. (#476) (#494) * Updated SetValue for lookup to use the parameter value to match in the dialog versus only looking at the immediate results. (#479) (#495) Updated SelectLookup function to utilize previously unused parameter to prevent lookup dialog from opening after clearing the field. * GitHub issues #394 & #7 Fixes issues with UCI fields not clearing or not removing previous value when updating (#481) (#496) * GitHub issue #371 Updated SetValue for lookup. Added a WaitForTransaction to ensure the page is loaded to prevent issue with SetValue executing when the load is still happening. Added sleeps to make sure the elements get hovered & clicked properly (#480) (#497) * Merge into v91
@TYLEROL @jlattimer I am facing issues in these type of look up field for Contact and Account, Other Lookups(Country) are working. I tried with Current release v9.1. |
Pull request 515 adds the ability to use activity party fields |
I still don't see it working while creating cases in UCI. It doesn't set the lookup but the test case execution says it was successful |
I agree as i am also facing the same problem. I have created a bug with more details. |
Hello @ggeiszle and @TYLEROL
I tried below snippet for lookup but it didn't worked:
xrmApp.Entity.SetValue({ Name = "language", Value = "English"});
Even SelectLookup isn't helping.
xrmApp.Entity.SelectLookup("language");
Where language is the field name.
Please help with some options.
The text was updated successfully, but these errors were encountered: