What is difference the between Record and Learn

Thursday, March 3, 2016
Avatar
Hi,
    I wanted know the difference between Record and Learn because as of now i found similarities between both like-

1.While simple recording ,object is created inside the Object tree and same thing happening while learning also
2.While simple recording ,script is created of every operation we performed and same thing happening while learning also
3.While simple recording ,we can drag and drop objects on .js file  and same thing happening on learning objects also
4.While simple recording ,we can use objects to create new script and same thing we can do by using learning objects also 
1 Replies
Thursday, March 3, 2016
Avatar
inflectra.sarahx
re: Naina Thursday, March 3, 2016
Hi Naina

Thanks for the question:

  1. Both Record and Learn will create objects in the Object Tree, that part is exactly the same
  2. When you use Record it will also record the action in the main Test.js script file.
  3. When you use Learn, nothing is added to the main Test.js file.
So Learn is good when you want to quickly add lots of page objects to the Object tree in one go and write the script afterwards.

Regards

Sarah.

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Thursday, March 3, 2016
  • Last Reply: Thursday, March 3, 2016
  • Replies: 1
  • Views: 2067