Robot Frameworks - Click Element step passes, does not trigger action
up vote
0
down vote
favorite
I am having an issue, where I need to click on an element that opens up a menu. The click element step is successful; however the expected action is not triggered. I have added a Sleep statement, Wait Until Element Is Visible, and Set Selenium Speed to 1s. On the Log.html page I see the screen capture where the element I attempt to click is visible. The menu that I am trying to open is inside an iframe.
Any help would be greatly appreciated.
`
*** Test Cases ***
Access Page
Set Selenium Timeout 60
Check Web Tier Enabled
Sleep 30
Capture Page Screenshot
Open Widget
Click Element ${App_Components}
Click Element ${Widget_List}
Sleep 2
Select Frame ${iFrame}
Sleep 5
Capture Page Screenshot
Open Menu
Wait Until Element Is Visible ${Menu}
Focus ${Menu}
Mouse Over ${Menu}
Sleep 5
Click Element ${Menu} <--- this step is successful, but does not triger action
Sleep 5
Capture Page Screenshot
`
frameworks selenium2library
add a comment |
up vote
0
down vote
favorite
I am having an issue, where I need to click on an element that opens up a menu. The click element step is successful; however the expected action is not triggered. I have added a Sleep statement, Wait Until Element Is Visible, and Set Selenium Speed to 1s. On the Log.html page I see the screen capture where the element I attempt to click is visible. The menu that I am trying to open is inside an iframe.
Any help would be greatly appreciated.
`
*** Test Cases ***
Access Page
Set Selenium Timeout 60
Check Web Tier Enabled
Sleep 30
Capture Page Screenshot
Open Widget
Click Element ${App_Components}
Click Element ${Widget_List}
Sleep 2
Select Frame ${iFrame}
Sleep 5
Capture Page Screenshot
Open Menu
Wait Until Element Is Visible ${Menu}
Focus ${Menu}
Mouse Over ${Menu}
Sleep 5
Click Element ${Menu} <--- this step is successful, but does not triger action
Sleep 5
Capture Page Screenshot
`
frameworks selenium2library
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am having an issue, where I need to click on an element that opens up a menu. The click element step is successful; however the expected action is not triggered. I have added a Sleep statement, Wait Until Element Is Visible, and Set Selenium Speed to 1s. On the Log.html page I see the screen capture where the element I attempt to click is visible. The menu that I am trying to open is inside an iframe.
Any help would be greatly appreciated.
`
*** Test Cases ***
Access Page
Set Selenium Timeout 60
Check Web Tier Enabled
Sleep 30
Capture Page Screenshot
Open Widget
Click Element ${App_Components}
Click Element ${Widget_List}
Sleep 2
Select Frame ${iFrame}
Sleep 5
Capture Page Screenshot
Open Menu
Wait Until Element Is Visible ${Menu}
Focus ${Menu}
Mouse Over ${Menu}
Sleep 5
Click Element ${Menu} <--- this step is successful, but does not triger action
Sleep 5
Capture Page Screenshot
`
frameworks selenium2library
I am having an issue, where I need to click on an element that opens up a menu. The click element step is successful; however the expected action is not triggered. I have added a Sleep statement, Wait Until Element Is Visible, and Set Selenium Speed to 1s. On the Log.html page I see the screen capture where the element I attempt to click is visible. The menu that I am trying to open is inside an iframe.
Any help would be greatly appreciated.
`
*** Test Cases ***
Access Page
Set Selenium Timeout 60
Check Web Tier Enabled
Sleep 30
Capture Page Screenshot
Open Widget
Click Element ${App_Components}
Click Element ${Widget_List}
Sleep 2
Select Frame ${iFrame}
Sleep 5
Capture Page Screenshot
Open Menu
Wait Until Element Is Visible ${Menu}
Focus ${Menu}
Mouse Over ${Menu}
Sleep 5
Click Element ${Menu} <--- this step is successful, but does not triger action
Sleep 5
Capture Page Screenshot
`
frameworks selenium2library
frameworks selenium2library
edited Nov 20 at 14:22
asked Nov 19 at 13:26
O.R
85
85
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53375645%2frobot-frameworks-click-element-step-passes-does-not-trigger-action%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown