mercredi 24 août 2016

Java method wrapping with keywords

I am writing a Java keyword driven framework. In that I have one keyword Java class which I am calling in another Java test class.

KeywordClass doactionobje = new KeywordClasss();
doactionObje.click(parameter1,...);

Now I am looking to wrap this method calling in single keyword. For e.g. doactionObje.click should be only click similar doactionobje.input to only input.

New code will look like

click parameter1, parameter2

I want to achieve this to make test script writing easier for those who do not have much coding experience.

I would also like to know about your thoughts on performance of script execution and other maintenance over ahead.

Aucun commentaire:

Enregistrer un commentaire