Jump to content
vick

object repository

Recommended Posts

vick

Hi,

i want some suggestion for creating object repository  for my automation scripts same like Page Object repository in selenium which we can maintain easily. i am looking for windows and web both

thanks in Advance

Share this post


Link to post
Share on other sites
junkew

See iuiautomation thread in examples. I am using a straigth forward ini file and future thoughts are to use a java properties apache config2 file to be able to use repo easily in potentially java or javascript. Images i would encode in base64.

Share this post


Link to post
Share on other sites
vick

thanks for reply. i thought ini file as well.

Share this post


Link to post
Share on other sites
junkew

Basically you have about below options

  1. Xml where i would say look to be compatible witch config2 of apache foundation
  2. .properties java layout
  3. Json
  4. Ini file

Number 4 is less flexible but easier to start with when you want to have your objectdescription outside your coding. What you will miss most is a spy tool that gives you the description. See simplespy for that. Its on my todo list to extend it with some kind of repository logic.

Share this post


Link to post
Share on other sites
vick

oh great. 

can you explain or give me example for option 1,2 and 3 to use in Autoit script pls?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×