ReadMe
2015-08-30 18:43
211 查看
auto_product_testing
By JimmyHu from SGPF Group from Baonova
The basic goal of “auto_product_testing" is to not touch the keyboard and make everything auto to save your time.
“auto_product_testing" aims to be automatically get the paramater from excel file and input to the TeraTerm and after your turning on the JiGu, it will input to it automatically. All the steps and notice are written below.
1. the auto_product_testing.bat is in the environment of CMD and it will first use powershell to run the get_data_from_excel.ps1
I uset the “” in disk d, and get the data of model name, ID, hard_id, function_code_1, _2, _3. I don’t know where to get the P_ID and PPW_code, so you are request to input this 2 paramater manually. and at
the time you can also checked the paramater get from the excel file.
2. the powershell will save the data as “<model name> <ID> <hard_id> <function_code_1> <_2> <_3> <P_ID> <PPW_code> to a_p_t_temp file. (Beacause i don’t know how to do it as echo in linux)
3. back to CMD, it will turn on the TeraTerm, So after your input the P_ID and PPW_code you shoule turn on the JiGu, and the program will then send ctrl+c to it.
4. after waiting a long time when the testing mode is over and “clarion>” is showed, the program will then send “setinfo 1 <CMD_code> <>” to it.
5. if something is wrong, the Error Message will be showed and the program will be stopped halfway.
Problem of hardcoding:
I am so sorry that “auto_product_testing” in V2.0 has problem of hardcoding, Because I just know a little about the product testing mode as an internship. V2.0 can just fit my SGPF
maintenance group’s work. So you can change the source code to fit your group’s work or you can connetct me and tell me how you wish it work.
Actually I am quite family with the shell script and I have touch the powershell and .ttl befor last week. So it will be very kind of you to write a Configure for “auto_product_testing”. :)
Usage:
just click auto_product_testing.bat to complicate all the steps.
connetct me if you have any problem Or want to invite me to dinner, I can tell jokes in return.
By JimmyHu from SGPF Group from Baonova
The basic goal of “auto_product_testing" is to not touch the keyboard and make everything auto to save your time.
“auto_product_testing" aims to be automatically get the paramater from excel file and input to the TeraTerm and after your turning on the JiGu, it will input to it automatically. All the steps and notice are written below.
1. the auto_product_testing.bat is in the environment of CMD and it will first use powershell to run the get_data_from_excel.ps1
I uset the “” in disk d, and get the data of model name, ID, hard_id, function_code_1, _2, _3. I don’t know where to get the P_ID and PPW_code, so you are request to input this 2 paramater manually. and at
the time you can also checked the paramater get from the excel file.
2. the powershell will save the data as “<model name> <ID> <hard_id> <function_code_1> <_2> <_3> <P_ID> <PPW_code> to a_p_t_temp file. (Beacause i don’t know how to do it as echo in linux)
3. back to CMD, it will turn on the TeraTerm, So after your input the P_ID and PPW_code you shoule turn on the JiGu, and the program will then send ctrl+c to it.
4. after waiting a long time when the testing mode is over and “clarion>” is showed, the program will then send “setinfo 1 <CMD_code> <>” to it.
5. if something is wrong, the Error Message will be showed and the program will be stopped halfway.
Problem of hardcoding:
I am so sorry that “auto_product_testing” in V2.0 has problem of hardcoding, Because I just know a little about the product testing mode as an internship. V2.0 can just fit my SGPF
maintenance group’s work. So you can change the source code to fit your group’s work or you can connetct me and tell me how you wish it work.
Actually I am quite family with the shell script and I have touch the powershell and .ttl befor last week. So it will be very kind of you to write a Configure for “auto_product_testing”. :)
Usage:
just click auto_product_testing.bat to complicate all the steps.
connetct me if you have any problem Or want to invite me to dinner, I can tell jokes in return.
相关文章推荐
- ReadMe
- ios Communicating with HTTP Servers 与HTTP服务器通信 官方文档翻译(五)
- 用php制作文章发布管理系统流程解析(1)
- hust1341(模拟)
- vector
- Memo 安装 Mirantis Fuel - OpenStack安装和管理软件
- [转载]Qt之鼠标样式
- 树莓派计算模块和输入、输出I/O模块
- hdu1559(最大子矩阵)
- Torch 安装过程
- 秒味--js热身 练习题
- C#基础------可空类型 StringBuilder
- stack
- css3盒布局取代float布局
- SCADA组态系统将主宰新的网络安全领域
- queue
- 信号量解决哲学家就餐问题
- SDUT 3315 a
- IOS基础UI之(一)简单的qq登录
- 数据可视化的定义及使用注意