During playback, selenium only click the tree node but not do the selection.
problem 1:
For reproducing this problem, go to
Recod follow steps.
1.click the first level tree node -- "charles madigen"
2.click the second level tree node --"ralph brogan"
3.click the forth level tree node --"besty rosent"
during the playback, you will find that when selenium do the first click, instead of selecting the first tree node, selenium click the open icon to collspse the whole tree and the first tree node is not high light. "Element is not found" will be shown when selenium do the second click, that is because the whole tree is collapsed.
problem 2:
using the selenium record from problem 1, playback in IE. When selenium doing the first click,you will see error that element is not found. However, if you increase the row index by 1, you will get the same issue in problem 1.So in IE, tree node index starts from 1, but in firefox, tree node index starts from 0.
problem 1:
For reproducing this problem, go to
Code:
http://www.smartclient.com/docs/7.0rc2/a/system/reference/SmartClient_Explorer.html#_Trees_Sorting
1.click the first level tree node -- "charles madigen"
2.click the second level tree node --"ralph brogan"
3.click the forth level tree node --"besty rosent"
Code:
selenium.open("http://www.smartclient.com/docs/7.0rc2/a/system/reference/SmartClient_Explorer.html#_Trees_Sorting"); selenium.click("scLocator=//TreeGrid[ID=\"employeeTree\"]/body/row0/col0"); selenium.click("scLocator=//TreeGrid[ID=\"employeeTree\"]/body/row1/col0"); selenium.click("scLocator=//TreeGrid[ID=\"employeeTree\"]/body/row3/col0");
problem 2:
using the selenium record from problem 1, playback in IE. When selenium doing the first click,you will see error that element is not found. However, if you increase the row index by 1, you will get the same issue in problem 1.So in IE, tree node index starts from 1, but in firefox, tree node index starts from 0.
Comment