sree
2018-11-19 03:48:11 UTC
This is one of interview question. I have tried drag and drop using action
class, but not works here. Can you try and give the solution for steps 6
and 7 in the attached document.
Entire information is available in attached document.
i have tried with the below code for step 6 and 7:
Actions act=new Actions(driver);
act.dragAndDrop(welSendSMS,welTab).build().perform();
act.dragAndDrop(welSyncreceptor,welSyncnode).build().perform();
locators information:
@FindBy(css = ".ui-page-panel ui-tabs-panel ui-widget-content ui-droppable")
public WebElement welTab;
@FindBy(xpath = "//li[text()='Send an Email']")
public WebElement welSendEmail;
@FindBy(xpath = "//div[@class='syn-receptor ui-droppable syn-receptor-north
ui-draggable syn-receptor-draggable']/parent::*//div[@id='module-1']")
public WebElement welSyncreceptor;
@FindBy(xpath = "//div[@class='syn-node ui-draggable syn-node-active']")
public WebElement welSyncnode;
class, but not works here. Can you try and give the solution for steps 6
and 7 in the attached document.
Entire information is available in attached document.
i have tried with the below code for step 6 and 7:
Actions act=new Actions(driver);
act.dragAndDrop(welSendSMS,welTab).build().perform();
act.dragAndDrop(welSyncreceptor,welSyncnode).build().perform();
locators information:
@FindBy(css = ".ui-page-panel ui-tabs-panel ui-widget-content ui-droppable")
public WebElement welTab;
@FindBy(xpath = "//li[text()='Send an Email']")
public WebElement welSendEmail;
@FindBy(xpath = "//div[@class='syn-receptor ui-droppable syn-receptor-north
ui-draggable syn-receptor-draggable']/parent::*//div[@id='module-1']")
public WebElement welSyncreceptor;
@FindBy(xpath = "//div[@class='syn-node ui-draggable syn-node-active']")
public WebElement welSyncnode;
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f2dc469d-6e7c-4318-a327-79b2db2593c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f2dc469d-6e7c-4318-a327-79b2db2593c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.