File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,23 @@ Python Jumps between Files
17
17
Wait Until Page Contains ANOTHER_CONSTANT
18
18
Capture Page Screenshot 10-jumped.png
19
19
20
+ Ctrl Click And Jumping Back Works
21
+ [Setup] Prepare File for Editing Python editor jump.py
22
+ ${usage } = Set Variable a_variable
23
+ ${sel } = Set Variable xpath:(//span[contains(@class, 'cm-variable')][contains(text(), '${usage } ')])[last()]
24
+ Click Element ${sel }
25
+ ${original } = Measure Cursor Position
26
+ Capture Page Screenshot 01-ready-to-jump.png
27
+ Click Element ${sel } modifier=CTRL
28
+ Capture Page Screenshot 02-jumped.png
29
+ Wait Until Keyword Succeeds 10 x 1 s Cursor Should Jump ${original }
30
+ ${new } = Measure Cursor Position
31
+ Press Keys None ALT+o
32
+ Wait Until Keyword Succeeds 10 x 1 s Cursor Should Jump ${new }
33
+ ${back } = Measure Cursor Position
34
+ Should Be Equal ${original } ${back }
35
+ [Teardown] Clean Up After Working With File jump.py
36
+
20
37
*** Keywords ***
21
38
Copy Files to Folder With Spaces
22
39
[Arguments] @{files }
Original file line number Diff line number Diff line change
1
+ a_variable = 1
2
+
3
+
4
+ a_variable
You can’t perform that action at this time.
0 commit comments