90 lines
2.2 KiB
JSON
90 lines
2.2 KiB
JSON
{
|
|
"id": "6054afcb-5bab-4702-90a0-b259b5d3217c",
|
|
"snapshot": "excel",
|
|
"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=1f5q8mCPawX2B8Tk67B1jqTSltv1Mon1V&export=download&authuser=0&confirm=t&uuid=fa148576-4559-4fbb-8ef0-5ccd6a5b8d64&at=APZUnTV6crOIW6tkR5gLj7K_yfta:1710922243040",
|
|
"path": "C:\\Users\\chenj\\Date_Budget_Variance_HideNA.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "C:\\Users\\chenj\\Date_Budget_Variance_HideNA.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/6054afcb-5bab-4702-90a0-b259b5d3217c",
|
|
"related_apps": [
|
|
"excel"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Date_Budget_Variance_HideNA - Excel",
|
|
"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);"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "sleep",
|
|
"parameters": {
|
|
"seconds": 0.5
|
|
}
|
|
}
|
|
],
|
|
"func": "compare_table",
|
|
"expected": {
|
|
"type": "cloud_file",
|
|
"path": "https://drive.usercontent.google.com/download?id=1JyBfMfwj3nh7Rdiv7S6f4u29rHsEVLpB&export=download&authuser=0&confirm=t&uuid=b3a00e64-cde9-4577-a020-8a56cbd4f6a1&at=APZUnTVI2QWmb8AVu8kvtfjhlPpu:1710922301750",
|
|
"dest": "Date_Budget_Variance_HideNA_gold.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "C:\\Users\\chenj\\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"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |