leahi-testsuites

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated the method

Updated the method

Updated the test.compare values

Updated the test.compare values

Updated the method

Updated the method

Modified the script when rejection reason is 1 it will hit the measure button

Modified the script when rejection reason is 1 it will hit the measure button

Added the method to check the integrated BP cuff value from system,conf file if it is disable enable the value from UI check_bp_cuff_enabled

Added the method to check the integrated BP cuff value from system,conf file if it is disable enable the value from UI
check_bp_cuff_enabled

Removed this file

Removed this file

may need to update the test.compares.

may need to update the test.compares.

This can be updated to     def verify_automatic_vitals_noRejection_Reason(): MAX_WAIT = 5 * 60 * 1000 # 5 minutes in seconds test.verify(waitFor( lambda: vitalsrequest == True, M...

This can be updated to

    def verify_automatic_vitals_noRejection_Reason():  

    MAX_WAIT = 5 * 60 * 1000  # 5 minutes in seconds
    
    test.verify(waitFor( lambda: vitalsrequest == True, MAX_WAIT), "UI Sending the request to FW")
    td.td_vitals_adjustment_response(vRejectionReason=0)
    td.td_vitals(systolic = 80, 
        diastolic   = 60, 
        heartRate   = 140 )

            
    blood_pressure  = waitForObjectExists(names.o_treatmentHome_bloodPressure_LabelValue).topText
    test.compare("70"+"/"+"50", blood_pressure,"Blood pressure value should be ->"+str("80"+"/"+"60"))
    heart_rate = waitForObjectExists(names.o_treatmentHome_heartBeat_LabelValue).topText
    test.compare("120", heart_rate,"Heart Rate value should be ->"+str(120))
update method to     # handler for messages from UI to FW def handle_patient_vitals_request( message, timestamp = 0.0): """ Called when the user requests to firmware from UI @return: No...

update method to

    # handler for messages from UI to FW
def handle_patient_vitals_request( message, timestamp = 0.0):
    """
    Called when the user requests to firmware from UI
    @return: None
    """
    global vitalsrequest
    vitalsrequest = True
initialize request variable vitalsrequest = None

initialize request variable

vitalsrequest = None

this test is not added to test the measure button i do not see qhewre o_measureVitalsButton_TouchRect is pressed other than the place its not needed

this test is not added to test the measure button i do not see qhewre o_measureVitalsButton_TouchRect is pressed other than the place its not needed

please also removet his file as well

please also removet his file as well

I will remove this file we are trying to format the names.py file by using the python code instead of doing it manual it is still inprogress

I will remove this file we are trying to format the names.py file by using the python code instead of doing it manual it is still inprogress

Added the comment line in names.py file

Added the comment line in names.py file

One issue encountered is the if BP Cuff is disabled then teh measure button will also be disabled. So as prep one thing to do before running the tests is to verify the bp cuff is enabled or change ...

One issue encountered is the if BP Cuff is disabled then teh measure button will also be disabled. So as prep one thing to do before running the tests is to verify the bp cuff is enabled or change the variable in teh system.conf

change to mouseClick(waitForObject(utility.findChildByText(main_menu_container, config.PRESCRIPTIONS)), 2000 )

change to mouseClick(waitForObject(utility.findChildByText(main_menu_container, config.PRESCRIPTIONS)), 2000 )

remove this line

remove this line

It is removed

It is removed

updated as per comment

updated as per comment

updated as per comment

updated as per comment

Now updated to first Standby then click on Settings menu, then Service Mode as already logged with password before, then click on feature configuration option td_simulator.td_operation_mode(TDOpMod...

Now updated to first Standby then click on Settings menu, then Service Mode as already logged with password before, then click on feature configuration option
td_simulator.td_operation_mode(TDOpModes.MODE_STAN.value, 0)
headerbar_container = waitForObject(names.o_mainMenu_MainMenu, 3000)
mouseClick(utility.findChildByText(headerbar_container, config.SETTINGS))

td_simulator.td_operation_mode(TDOpModes.MODE_SERV.value, 0)
device_settings_grid = waitForObject(names.o_DeviceSettingsGrid, 3000)
mouseClick(utility.findChildByText(device_settings_grid, config.FEATURE_CONFIGURATIONS))

mouseClick(waitForObject(utility.findChildByText(post_treatment, config.AUTO_EJECT), 2000))

mouseClick(waitForObject(utility.findChildByText(post_treatment, config.AUTO_EJECT), 2000))

mouseClick(waitForObject(utility.findChildByText(pre_treatment, config.NEXT), 2000))

mouseClick(waitForObject(utility.findChildByText(pre_treatment, config.NEXT), 2000))

This is part of the issue for the intermittent fails. You are forcing the opmode to service which changes the screen to device settings. But the bottom menu is on the wrong index. Correct navigatio...

This is part of the issue for the intermittent fails. You are forcing the opmode to service which changes the screen to device settings. But the bottom menu is on the wrong index. Correct navigation is first goingto standby then pressing the bottom menu option for settings. Then enter password then finally change opmode to service.

please leave a comment above describng why the visible property is being left in

please leave a comment above describng why the visible property is being left in

what are the ga_formater.py files for?

what are the ga_formater.py files for?

At present all English text-only content are maintained in config,py file

At present all English text-only content are maintained in config,py file

made changes as per comment

made changes as per comment

made changes as per comment

made changes as per comment

Now moved all text to config file and in script using as config.THAT_TEXT

Now moved all text to config file and in script using as config.THAT_TEXT