51Testing软件测试论坛

标题: 参数化中加check point 的问题 [打印本页]

作者: QAman    时间: 2011-6-27 07:50
标题: 参数化中加check point 的问题
Hi folks,  I get a question about Parameter check point of QTP.

In a Foreign Currency Exchange Web site, I parameter the currency input with Canadian Dollar, US Dollar and Euro and insert check point in result, as u can c, the result is fail since the rate is changed plus the result I recorded only one how can match 3 results.

To solve this, I figured three way,

1, use Regular Expression in constant property of result check point then use GetRoProperty of result value to compare the result I calculator.
2, use other Property check instead of Value check of Result, then use GetRoProperty of result value to compare the result I calculator.
3, or parameter the check point and calculator the result, then use it to compare the running result.

So, my question is which one is the proper solution or you have more suitable one, plx let me know, thx in adv.




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2