Page 1 of 1

Automation Framework

Posted: Sun Jul 17, 2011 6:58 am
by omayer
Automation framework question, is it a better practice to validate the control first(exist/notexist), then input test data to that control, OR input test data on an entire page(around 10 controls) then validate the data got saved, please provide any pros and cons on this above framework.
Thank you ,
Beginner.

Re: Automation Framework

Posted: Sun Jul 17, 2011 10:41 pm
by sdaly
When you input data into a control, you have to find that control first. By doing so that is technically validating that it exists.... If the control doesn't exist, Ranorex won't find it and your test will fail at that point.

Re: Automation Framework

Posted: Mon Jul 18, 2011 3:16 pm
by omayer
Thank you sdaly for your input.
Beginner