Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDT - 2953 Rinseback - SW - 02 - Q&R - 15: SIT - Software Integration Tests - Squish Qt

  1. … 2 more files in changeset.
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

It is removed

It is removed

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?

changed the code as per your suggestion to the check the advanced mode property in the file system.conf

changed the code as per your suggestion to the check the advanced mode property in the file system.conf

changed the code to check the heparinsyringepump value

changed the code to check the heparinsyringepump value

For confirm button in create rx page we are using the visible property. If i remove the visible property not able to click on the element

For confirm button in create rx page we are using the visible property. If i remove the visible property not able to click on the element

LDT-2821 Edit Treatment Parameters During Treatment - SW - 02 - Edit Treatment Parameters During Treatment - Q&R - 15: SIT - Software Integration Tests - Squish Qt

this will work but can be updated to be more flexible and take into account if HeparinSringePump is set to enabled or disabled.. I suggest checking the system.conf first specfically the HeparinSyri...

this will work but can be updated to be more flexible and take into account if HeparinSringePump is set to enabled or disabled.. I suggest checking the system.conf first specfically the HeparinSyringePump and if it is set to 1 then the 3 heparin parameters are visible.

IF HeparinSyringePump is set to 0 then heparin is defeatured and those 3 heparin parameters are not visible and will fail to find and set those values.

this way will not be flexible. We are removing 2 of the pre treatment steps so this case will fail in a future staging build. A better way to check if the steps are shorter or longer is to check if...

this way will not be flexible. We are removing 2 of the pre treatment steps so this case will fail in a future staging build. A better way to check if the steps are shorter or longer is to check if we are in advanced mode.

I suggest checking the system.conf file specifically AdvancedMode if it is set to 0 then we are in standard mode = more steps if AdvancedMode is set to 1 then advanced mode is enabled and we will see the shorter amount of steps

remove the visible property

remove the visible property

LEAHI-TESTSUITES-LDT-2819_Edit Treatment Parameters During Treatment - SW - 02 - Edit Treatment Parameters During Treatment - Q&R
LEAHI-TESTSUITES-LDT-2819_Edit Treatment Parameters During Treatment - SW - 02 - Edit Treatment Parameters During Treatment - Q&R
Removed the duplicate objects

Removed the duplicate objects