Forum Discussion

nish1's avatar
nish1
Occasional Contributor
12 years ago

changing values of check points

Hi, 

Currently doing keyword testing.

Is there anyway to compair objet property with a variable?

for eg value of (.....ldEntitledPersonal.TcxCustomInnerTextEdit.wText ) compaire with Variable X. 

regards

\Nish

1 Reply

  • jusbat's avatar
    jusbat
    Occasional Contributor
    This is probably a really roundabout way of doing it, but you could use an On-Screen Action to get the value of the wText property for that object. Then use an If...Then statement, set Value 1 as Last Operation Result, Condition 'Does not Equal' and Value 2 as Variable X. Then set a Log Message with Message type Error as a child of the If...Then statement.



    So if the wText does not equal the variable value TestComplete will log an error.