Skip to content
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

[BUG] Unable to SelectTab using Entity.SelectTab Method #868

Closed
3 tasks
badarmunir opened this issue May 18, 2020 · 4 comments · Fixed by #859
Closed
3 tasks

[BUG] Unable to SelectTab using Entity.SelectTab Method #868

badarmunir opened this issue May 18, 2020 · 4 comments · Fixed by #859
Labels
Milestone

Comments

@badarmunir
Copy link

Bug Report

Issues should only be created for items related to covered functionality.

Not covered functionality, feature requests, and questions should use the Feature Request or Question templates.

EasyRepro Version

UCI or Classic Web

  • UCI (XrmApp)

Online or On Premise

  • Online

Browser

  • Chrome

Describe the bug
I am trying to select the General tab using Entity.SelectTab() but it's giving me error -as you can see in the screenshot general tab is displayed the same is happening for other tabs too.

Code to reproduce
global.xrmApp.Entity.SelectTab("General");

-->

Expected behavior
Entity.SelectTab() should select the displayed tab

Screenshots
image
image

@badarmunir badarmunir added the bug label May 18, 2020
@noor4263
Copy link

noor4263 commented May 18, 2020

even though its a bug, it can be easily made to work as below...
change your Entity_TabList as role rather id... it works

        { "Entity_TabList", "//ul[@role=\"tablist\"]" },
        //{ "Entity_TabList", "//ul[@id=\"tablist\"]" },

why someone messing with the code already proven working ?

@badarmunir
Copy link
Author

@noor4263 I am using nugget package

@TYLEROL TYLEROL added this to the 9.1.0.17138 milestone May 20, 2020
@TYLEROL TYLEROL linked a pull request May 20, 2020 that will close this issue
12 tasks
@TYLEROL
Copy link
Member

TYLEROL commented May 20, 2020

@badarmunir - Thanks for raising this. This was an issue that popped up on our end as well. The fix is slightly different from your proposal, but is confirmed working in the develop branch via #859 .

I hope to merge this into the latest code branches + NuGet package very soon.

Warm Regards,
Tyler

@TYLEROL
Copy link
Member

TYLEROL commented May 20, 2020

This has been merged into releases/v9.1 and the latest 9.1.0.17138 NuGet package.

@TYLEROL TYLEROL closed this as completed May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants