Skip to content

ChangeRequest : Function Names #1

@persistz

Description

@persistz

@PramodKumarYadav

Hello George,
I have recently moved jobs and is introduced with testing Oracle Forms (and thus UFT as a tool of choice). Considering the popularity of UFT, I was expecting to get a lot of function libraries for re-use but could only find yours on GitHub (so my complements for you being the one and only on github). I cloned your repository for further use but I have a suggestion on the way functions are named. Going by clean code principles, I think;
-The leading term Func_ can be safely removed from all functions?
-The names now have a noun-verb style (Browser_Launch). Normally a verb-noun (powershell type naming) sounds more intutive (ex: Launch-Browser). Ofcourse the consequence is now we cant see all the functions related to Browser but considering UFT doesnt give intellisense for custom functions, may be its not that big an issue? An alternative could be to make submodules for function libraries with name say Web-Browser.vbs .
I am not sure. Give it a thought and tell me what you think about it.
If you approve of the suggestions, I can make a branch and create a pull request with changes.
Finally, Kudos for putting a useful library for use!
Cheers, Pramod

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions