update windows exp batch 2
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
{
|
||||
"id": "ecb0df7a-4e8d-4a03-b162-053391d3afaf",
|
||||
"snapshot": "libreoffice_calc",
|
||||
"instruction": "Enable each cell in the column\"Pass/Fail/Held\" is a drop down list",
|
||||
"source": "https://www.youtube.com/shorts/tXOovKn0H68",
|
||||
"config": [
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.usercontent.google.com/download?id=1vKtnFG-sL7Ba0UCcUh4dWJDfZeAHAP6l&export=download&authuser=0&confirm=t&uuid=70a267fa-dc71-4893-8fe3-a7254e50c567&at=APZUnTVfnhipGIdrD39159Eqv9lf:1705567650653",
|
||||
"path": "C:\\Users\\user\\Order_Id_Mark_Pass_Fail.xlsx"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "open",
|
||||
"parameters": {
|
||||
"path": "C:\\Users\\user\\Order_Id_Mark_Pass_Fail.xlsx"
|
||||
}
|
||||
}
|
||||
],
|
||||
"trajectory": "trajectories/ecb0df7a-4e8d-4a03-b162-053391d3afaf",
|
||||
"related_apps": [
|
||||
"libreoffice calc"
|
||||
],
|
||||
"evaluator": {
|
||||
"postconfig": [
|
||||
{
|
||||
"type": "activate_window",
|
||||
"parameters": {
|
||||
"window_name": "Order_Id_Mark_Pass_Fail.xlsx - LibreOffice Calc",
|
||||
"strict": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "sleep",
|
||||
"parameters": {
|
||||
"seconds": 0.5
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "execute",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"python",
|
||||
"-c",
|
||||
"import pyautogui; import time; pyautogui.hotkey(\"ctrl\", \"s\"); time.sleep(0.5); pyautogui.press(\"enter\");"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "sleep",
|
||||
"parameters": {
|
||||
"seconds": 0.5
|
||||
}
|
||||
}
|
||||
],
|
||||
"func": "compare_table",
|
||||
"options": {
|
||||
"rules": [
|
||||
{
|
||||
"type": "sheet_data",
|
||||
"sheet_idx0": 0,
|
||||
"sheet_idx1": "EI0"
|
||||
},
|
||||
{
|
||||
"type": "data_validation",
|
||||
"sheet_idx": 0,
|
||||
"dv_props": [
|
||||
{
|
||||
"ranges": {
|
||||
"method": "spreadsheet_range",
|
||||
"ref": [
|
||||
"D2:D29",
|
||||
"D2:D1048576"
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"method": "eq",
|
||||
"ref": "list"
|
||||
},
|
||||
"formula1": {
|
||||
"method": "str_set_eq",
|
||||
"ref": [
|
||||
"Pass",
|
||||
"Fail",
|
||||
"Held"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "C:\\Users\\user\\Order_Id_Mark_Pass_Fail.xlsx",
|
||||
"dest": "Order_Id_Mark_Pass_Fail.xlsx"
|
||||
},
|
||||
"expected": {
|
||||
"type": "cloud_file",
|
||||
"path": "https://drive.usercontent.google.com/download?id=125u7hc0LOcHXtJhOBd_Z5vt__7kwYOTQ&export=download&authuser=0&confirm=t&uuid=17e5da1b-fb1d-45d8-a9b1-6cd146ebaeee&at=APZUnTVqGyk6n5NPKzrq4KSOe871:1705898482101",
|
||||
"dest": "Order_Id_Mark_Pass_Fail_gold.xlsx"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user