82 lines
2.1 KiB
JSON
82 lines
2.1 KiB
JSON
{
|
|
"id": "7efeb4b1-3d19-4762-b163-63328d66303b",
|
|
"snapshot": "excel",
|
|
"instruction": "Fill the Sequence Numbers as \"No. #\" in the \"Seq No.\" column",
|
|
"source": "https://www.youtube.com/shorts/4jzXfZNhfmk",
|
|
"config": [
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.usercontent.google.com/download?id=15skGu4MsPh9nqjfvYQQvPmy0PMEkgiYX&export=download&authuser=0&confirm=t&uuid=f8e99595-f619-424a-906a-799137c0d7bc&at=APZUnTUXxvhco6R8vtSqH6ohFIDX:1710919410207",
|
|
"path": "C:\\Users\\chenj\\Order_Sales_Serial#.xlsx"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "open",
|
|
"parameters": {
|
|
"path": "C:\\Users\\chenj\\Order_Sales_Serial#.xlsx"
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"excel"
|
|
],
|
|
"evaluator": {
|
|
"postconfig": [
|
|
{
|
|
"type": "activate_window",
|
|
"parameters": {
|
|
"window_name": "Order_Sales_Serial# - 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=1cNtCHxuKy_9Pjtnt5g3yA99DsFhX1vl3&export=download&authuser=0&confirm=t&uuid=1a635c58-2083-4972-85c6-da0cc1976ecc&at=APZUnTVoYAeaqTTHT6evt8rCpQbU:1710919479990",
|
|
"dest": "Order_Sales_Serial#_gold.xlsx"
|
|
},
|
|
"result": {
|
|
"type": "vm_file",
|
|
"path": "C:\\Users\\chenj\\Order_Sales_Serial#.xlsx",
|
|
"dest": "Order_Sales_Serial#.xlsx"
|
|
},
|
|
"options": {
|
|
"rules": [
|
|
{
|
|
"type": "sheet_data",
|
|
"sheet_idx0": 0,
|
|
"sheet_idx1": "EI0"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |