Share
Go down
pankaj.raut
Posts : 1
Join date : 2012-08-30

facing issue with doubleClick(Selenium RC)

on Thu Aug 30, 2012 6:34 pm
I have a smartclient element with following locator value:

scLocator=//ListGrid[ID="domainUsersGrid"]/body/row[ENABLED=1||0]/col[fieldName=ENABLED||0]

I need to perform a double click on it. Tried following alternatives but was not able to get a sucess:

a. selenium.doubleClick("scLocator=//ListGrid[ID="domainUsersGrid"]/body/row[ENABLED=1||0]/colfieldName=ENABLED||0]");

b. selenium.fireEvent("scLocator=//ListGrid[ID="domainUsersGrid"]/body/row[ENABLED=1||0]/colfieldName=ENABLED||0]", "dblclick");

c. selenium.click("scLocator=//ListGrid[ID="domainUsersGrid"]/body/row[ENABLED=1||0]/colfieldName=ENABLED||0]");
selenium.click("scLocator=//ListGrid[ID="domainUsersGrid"]/body/row[ENABLED=1||0]/colfieldName=ENABLED||0]");

Please help in resolving the same.

Thanks.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum