As a automation Tester, we all are following the Object model for automating the application but we won't be able to classified those object model based on uses. Most of the automation testers are having doubts the Object Model. In TestComlete or in Automation we are using below object model-
1- Component Object Model (COM) :-
2- Document Object Model (DOM)
3- Automation Object Model (AOM)
4- Test Object Model (TOM)
Let's have a quick view of each object model with classification..
Componenet Object Model (COM)
Example-Set Obj = Sys.OleObject("Word.Application")
Set Obj = CreateObject("Excel.Application")
Set FSO = CreateObject("Scripting.FileSystemObject")
Document Object Model (DOM)
Example -Set pageTitle = Sys.Browser.Page("http://google.com/").contentDocument.title
Set ObjTextBox = Sys.Browser.Page("http://google.com/").FindChildByXpath("//input[@name='q']",Treu)
Automation Object Model (AOM)
Example -
Set objTestComplete = CreateObject("TestComplete.TestCompleteApplication")
Set objTestComplete = CreateObject("TestComplete.TestCompleteApplication")
Really You have given a good information, on my search I found this post. And I'm in the initial stage of Automation testing I enjoyed the discussion. Thank you for sharing.....
ReplyDeleteThank you for sharing.....
ReplyDeleteIELTS Coaching in chennai
German Classes in Chennai
GRE Coaching Classes in Chennai
TOEFL Coaching in Chennai
spoken english classes in chennai | Communication training
Thanks, we are also open for discussion and help :)
ReplyDeletegood article
ReplyDeletethanks for sharing
data science course in chennai
ccna course in chennai
iot course in chennai
ethical hacking course in chennai
cyber security course in chennai
Great Informative post. I really Appreciate your work. Thank you for sharing the informationsalesforce course in chennai
ReplyDeletesoftware testing course in chennai
robotic process automation rpa course in chennai
blockchain course in chennai
devops course in chennai
We will keep sharing and updating info
ReplyDelete