Open aniramibanerjee opened 2 years ago
Have you tried using:
HI @tipsey I have tried xrmApp.Dialogs.ClickCommand("deacti"); using client.Browser.Driver.LastWindow()
and adding deacti xpath in element reference {"deacti", "//*[starts-with(@id, 'dialogContentContainer')]//button[@aria-label = 'Deactivate']" }
Not able to click on Deactivate contact button .
Tried with taking xpath for Deactivate button in the pop up and trying to call the same from the class file.Stored the object refrence in element refrence.
xpath- //*[starts-with(@id, 'dialogContentContainer')]//button[@aria-label = 'Deactivate']
Code used
it;'s not clicking on the Deactivate button in the popup and not able to find any frame or window .Please help me to fix this issues .