|
I want to get a text from an edit object and set a checkpoint to compare the text with another text from another edit object.
So firstly I set an object checkpoint : (I know I can get these two texts firstly and then compare them using "if". But I don't want to do that.)
edit_get_text("txtNextPymtDate",outtext);
obj_check_gui("txtExpiryDate", "list3.ckl", outtext, 1);
But later I find the third parameter should be a file name in "obj_check_gui("txtExpiryDate", "list3.ckl", outtext, 1)".
I have to set a single property checkpoint:
edit_get_text("txtNextPymtDate",outtext);
edit_check_info("txtExpiryDate","value",outtext);
我知道检查点可以设置变量,但这里的变量好像并不是我所指的这种变量。
想请教一下,是否可以用object/window checkpoint将某属性的预期值设置成变量?或是如何将该预期值变量设到预期值文件中?是不是要通过另外语句将outtext写进预期值文件中。
说了这么多,不知道大家有没有明白我的意思。 |
|