Hi guys, I have two questions. :)

39 views
Skip to first unread message

Serkan Turgay

unread,
Nov 10, 2022, 6:57:20 PM11/10/22
to robotframework-users
  1.  I am writing test automation codes in RED application. I am using selenium library on RED. At the end of the test, I want to experiment without running the test from the beginning. I learned that the debug library is used for this. How should I install and use the debug library in the RED Environment?

2. I have 50-60 test cases in a robots file. At the beginning of these tests, the user logs in. I want all tests to stop when there is an error during login. How can I do that?

SIDHARTH RAJ

unread,
Nov 15, 2022, 8:59:01 AM11/15/22
to robotframework-users
answer Regarding Question 2 :
if u have 50-60 test case in single .robot file . 
Than u can use test setup in setting , this test setup will run first before all test case . 
and put the checkin inside the code in keyword of test setup . 
like :    
*** Settings ***
# By Default, Connect_To_Collector Run Before all Test cases
Test Setup   verify_user_login 

***Keywords***
verify_user_login
   IF '${loginDetails}' != ' user logs details'    fail

may be it will help !!

Regards,
Sidharth Raj

Reply all
Reply to author
Forward
0 new messages