ReadMe

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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值