Forum Discussion

tyrus's avatar
tyrus
Contributor
10 years ago

"Object Checkpoint" vs Exists

s

When verifying expected results of a testcase, is there any siginfigicance between using Object Checkpoint or just accessing an object directly and testing its "Exists" or "Visible" paramters?

 

I'm just curious if there is any reason to ever use Object Checkpoint if you soley automate with scripts and yo ucan access obejetc directly?

 

thanks

2 Replies

  • Object check point can be used if we have to check multiple properties associated with a control.For EG To valdate that a edit box is Visible, Enabled,Text over the edit etc.If we use Visible, Exist Enabled() .. methods we need to write check for each properties seperately. But it will be better if we write it seperately as we will can easly identify the reason for whic the teat failed and also have better control over the test flow