When doing the automation testing do you record the scripts or write from the scratch

I tried writing the script from scratch by learning the objects but when i run the script its says the object is not learnt by object repository.

Questions by ritu11

Showing Answers 1 - 3 of 3 Answers

Write from the scratch is the best way to overcome with our Test steps. for time consuming record the scriipts for the process. which means record the flow of the application according to the bussiness needs from end to end recordingly. Later add the data driven, check points, recovery scenario, validation etc.. can be done through written scripts.

rkkumar

  • Apr 19th, 2009
 

It all depends on the functionality you are automating.


If your functionality needs to be automated for different testcases i would follow the below steps.
1) Add objects to the repository
2) Write the scripts manually.
3) Add conditions,Checkpoints,...goes on

If your functionality to be automated is a one time then i would follow the below steps
1) Record the functionality
2) Modify the script to make it work at all times
3) Include conditions,checkpoints,recovery scenarios,..goes on

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions