-
Notifications
You must be signed in to change notification settings - Fork 1
Object Repository
-
Location Of Object Repository:- Inside resources >> project Name>> ObjectRepository >> ObjectRepository.xls. For eg. project_root>>auto_test_executor>>src/main/resources>>Project Name>>ObjectRepository
-
Object Repository file Name with extension and sheet name:- ObjectRepository.xls and sheet name must be 'object_defination'
-
Significance Of Columns in Object Repository:-
-
Page:- Web Page name where object appears.
-
testobject:- Logical name of the test object. This value must be unique, otherwise test engine would pick the first encountered object details.
-
TestObjectType:- Specify the type of test object here. eg link, textbox, button, webElement etc.
-
locatingStrategy:- Specify the strategy to locate the test object here. Any test automation tool will internally identify a web element or test object by the specified strategy. For eg.id,xpath,cssSelector,name,attribute,value,linktext and so on.
-
location:- Specify the physical location of test object here. Any test automation tool will internally identify a web element or test object with the specified location like //div[@class='applied-filter']//p//a[@class='filtered-brand'] for (xpath) strategy.
-
InFrame:- This is used if particular location of object is inside particular frame then frame location will be mentioned here. eg- Any frame with id 'login-iframe' contains the target test object then 'login-iframe' will be used in InFrame coulmn.
-
TestObjectFilter:- Possible values could be Enabled,Displayed,Clickable. By default it is 'Displayed'. Engine will get the test object basis on specified filter.
-