Open SherlyArem opened 3 years ago
@SherlyArem Could you post a code that failed, error, and screenshot with markup?
Hi, This is the code we have used and the name value is being passed from the feature file
private void SetLookupValue(string name, string value) { Microsoft.Dynamics365.UIAutomation.Api.UCI.LookupItem lookupItem = new Microsoft.Dynamics365.UIAutomation.Api.UCI.LookupItem { Name = name, Value = value }; browser.Entity.SetValue(lookupItem, 0); browser.ThinkTime(5000); }
Hi,
Hi, This is the code we have used and the name value is being passed from the feature file
private void SetLookupValue(string name, string value) { Microsoft.Dynamics365.UIAutomation.Api.UCI.LookupItem lookupItem = new Microsoft.Dynamics365.UIAutomation.Api.UCI.LookupItem { Name = name, Value = value }; browser.Entity.SetValue(lookupItem, 0); browser.ThinkTime(5000); }
Regards, Sherly
From: Shakevg notifications@github.com Sent: 06 November 2020 15:52 To: microsoft/EasyRepro EasyRepro@noreply.github.com Cc: Sherly Arem Sherly.Arem@octavia.org.uk; Mention mention@noreply.github.com Subject: Re: [microsoft/EasyRepro] [BUG] Lookup field is not picking up values from the drop down (#1022)
@SherlyAremhttps://github.com/SherlyArem Could you post a code that failed, error, and screenshot with markup?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/EasyRepro/issues/1022#issuecomment-723153484, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARVBFMRV3YEQLMYEXQJFMGTSOQLURANCNFSM4TMZWDAA.
Sherly Arem
Octavia Housing
DD: 0208 962 3518 www.octaviahousing.org.uk
Octavia Housing, Registered Office, Emily House, 202-208 Kensal Road, London, W10 5BN, tel. no. 020 8354 5500.
A registered society within the meaning of the Co-operative and Community Benefit Societies Act 2014. Register No 13991R. Registered with the Homes & Communities Agency as a registered provider of social housing, No L0717.
This email is intended only for reply@reply.github.com. The contents of this email sent on 2020-11-17 at 12:48:00 (including any attachments) are confidential. If you are not the intended recipient, any use by you is prohibited and you should notify sherly.arem@octavia.org.uk and delete the email as soon as possible.
Octavia Housing may monitor email traffic.
Octavia Housing and Octavia Foundation are supporting the development of a credit union service in Kensington and Chelsea that will provide fair, affordable and accessible financial services and benefit both local residents and the local community. Find out more at www.kccu.co.uk and help make it a reality by pledging your support.
Please find the attached screenshots for the code and error message of the lookup issue
@SherlyArem I did quick test and it looks like working fine with the latest code.
I think this might be case sensitive.
Bug Report
Hi,
Please would like to mention about this issue for the lookup field which is not picking up the values from the drop down we have also tried to check this in debug mode and we can see that in debug mode the values are being passed correctly to the lookup field but when the automation test case in run it fails and does not picks up the value from the drop down, alternatively we have also tried to give think time as mentioned in one of the comments but that does not works as well
As its been a long time we are facing this lookup field issue and are not able to run any of the test cases because of this issue we would appreciate any replies at your earliest for fixing this issue
Many Thanks