18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Can't Click on Logout Element. Help!
Hi,
I am totally new to Sahi. I am evaluating this tool for our new upcoming SmartGWT project. The application is not built yet but I have access to developer's demo page where I can simply login and logout. With Sahi, Login was not a problem but I cannot make Sahi to click on the Log Out element. On the page There is a drop down menu called "My Account". Clicking the "My account" brings the "Log Out"
It kinda looks like this
_____________
|My Account |
| |
|My Settings |
|
| Log Out |
Sahi records:
_click(_cell("My Account"));
_click(_cell("Log Out"));
It clicks on "My Acoount" and displays "Log out" but cannot click on it.
Note: Selenium command used the following line and it works (You may get a clue)
scLocator=//Menu[ID="RPCTT_Menu_UserMenu"]/body/row[title=Log%20Out||2]/col[fieldName=title||1]
Please Help
Additional info:
I am using WinXP SP3, IE7
The demo page is build with SmartGWT
I am totally new to Sahi. I am evaluating this tool for our new upcoming SmartGWT project. The application is not built yet but I have access to developer's demo page where I can simply login and logout. With Sahi, Login was not a problem but I cannot make Sahi to click on the Log Out element. On the page There is a drop down menu called "My Account". Clicking the "My account" brings the "Log Out"
It kinda looks like this
_____________
|My Account |
| |
|My Settings |
|
| Log Out |
Sahi records:
_click(_cell("My Account"));
_click(_cell("Log Out"));
It clicks on "My Acoount" and displays "Log out" but cannot click on it.
Note: Selenium command used the following line and it works (You may get a clue)
scLocator=//Menu[ID="RPCTT_Menu_UserMenu"]/body/row[title=Log%20Out||2]/col[fieldName=title||1]
Please Help
Additional info:
I am using WinXP SP3, IE7
The demo page is build with SmartGWT
This discussion has been closed.
Comments
Thank you to help me over the email. It is working while clicking the image next to the Log Out. I also tried _in syntax and it worked
_click(_image("blank.gif", _in(_row("Log Out(Ctrl+Alt+L)"))));