Automation Framework

Experiences, small talk, and other automation gossip.
omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Automation Framework

Post by omayer » Sun Jul 17, 2011 6:58 am

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.

User avatar
sdaly
Posts: 238
Joined: Mon May 10, 2010 11:04 am
Location: Dundee, Scotland

Re: Automation Framework

Post by sdaly » Sun Jul 17, 2011 10:41 pm

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.

omayer
Posts: 458
Joined: Thu Oct 28, 2010 6:14 pm

Re: Automation Framework

Post by omayer » Mon Jul 18, 2011 3:16 pm

Thank you sdaly for your input.
Beginner