Skip to content

Commit

Permalink
Trying another way
Browse files Browse the repository at this point in the history
  • Loading branch information
ArekKuczynski committed Mar 28, 2024
1 parent f024853 commit 10e41a2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Tests/Regression/Manager/GUI_Bugs.robot
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Verify scenario file content for example robot
Set Global Save Path And Filename ${correct_data}[1]
Create Example Robot File
Click Button runscriptrow
Select Robot File @{correct_data}
Run Keyword Select Robot File ${platform} @{correct_data}
Click Button select_test_case
Click Button select_example
Click Menu file
Expand Down
16 changes: 15 additions & 1 deletion Tests/Regression/Manager/GUI_Common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ Delete Example Robot File
Variable Should Exist ${file_name} msg="Global file name does not exist."
File Should Not Exist ${save_path}${/}${file_name}

Select Robot File
Select Robot File windows
[Tags] windows-latest
[Arguments] @{correct_data}
${robot_file_name}= Set Variable ${correct_data}[1]
${robot_file_name}= Get Substring ${robot_file_name} 0 -6
Expand All @@ -218,6 +219,19 @@ Select Robot File
Click Dialog Button open
Sleep 1

Select Robot File ubuntu
[Tags] ubuntu-latest
[Arguments] @{correct_data}
${robot_file_name}= Set Variable ${correct_data}[1]
${robot_file_name}= Get Substring ${robot_file_name} 0 -6
Log ${robot_file_name}
Sleep 3
Take A Screenshot
Type ${correct_data}[1]
Sleep 1
Press Combination Key.enter
Sleep 1

Save Scenario File
[Arguments] ${scenario_name}
Sleep 1
Expand Down

0 comments on commit 10e41a2

Please sign in to comment.