90 lines
2.2 KiB
JSON
90 lines
2.2 KiB
JSON
{
|
|
"id": "6054afcb-5bab-4702-90a0-b259b5d3217c",
|
|
"snapshot": "libreoffice_calc",
|
|
"instruction": "Some data are missed by now and are filled by 'N/A' temporarily. Please hide them in the table for now. Do not delete them and filter is no needed.",
|
|
"source": "https://www.youtube.com/shorts/JTbZ8sRxkdU",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.usercontent.google.com/download?id=1e1Ccsr_CQau9-boF92GxzZ0RtEHPtfdX&export=download&authuser=0&confirm=t&uuid=a1d4518d-e085-4bfa-ae6f-2514ed48efba&at=APZUnTU_ng4YNBQO7u6Dsuj21Gmq:1705911243359",
|
|
"path": "C:\\Users\\user\\Date_Budget_Variance_HideNA.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "C:\\Users\\user\\Date_Budget_Variance_HideNA.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/6054afcb-5bab-4702-90a0-b259b5d3217c",
|
|
"related_apps": [
|
|
"libreoffice calc"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Date_Budget_Variance_HideNA.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",
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://drive.usercontent.google.com/download?id=1ReZexJAvbAAUng0JD3lEHN70J0WcS0_i&export=download&authuser=0&confirm=t&uuid=a11148b1-93e8-4634-a413-26e0e433c2c9&at=APZUnTV6KulVQf6LpHl4IVNqE5hA:1705914637572",
|
|
"dest": "Date_Budget_Variance_HideNA_gold.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "C:\\Users\\user\\Date_Budget_Variance_HideNA.xlsx",
|
|
"dest": "Date_Budget_Variance_HideNA.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": 0,
|
|
"sheet_idx1": "EI0"
|
|
},
|
|
{
|
|
"type": "row_props",
|
|
"sheet_idx0": 0,
|
|
"sheet_idx1": "EI0",
|
|
"props": [
|
|
"hidden"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |