Hi All,
I am developing a test automation framework for web and mobile.
Please suggest me what common utilities i should make so that test script development is quick
Hi All,
I am developing a test automation framework for web and mobile.
Please suggest me what common utilities i should make so that test script development is quick
Hi Pankaj,
Every application, test environment, and organisation is different, so there’s no hard and fast rules on what you’ll need.
Keywords that you’ll probably want to start with are:
As your testing web and mobile, maybe you want to consider generic abstraction keywords for interacting with fields and other app elements, for this when you launch the app you’ll want to set a variable to a value for web / mobile, then your ui interaction keyword would choose the keyword to use based on that variable’s value. This gives the benefit of using the same test case for web and mobile, just change the launch app keyword or argument, depending on your app if this is needed, the disadvantage is it’s a lot of work to create these abstraction keywords.
Also consider if your app has fields that require data in specific formats, i.e. a localised date format, bar codes, serial numbers, incident numbers, etc in a specific format. making keywords for creating or verifying these number formats might also be useful.
Hopefully that helps you identify where to start.
Dave.
I would look for a test library based on Appium or that supports both mobile and web UI testing. That way, you can reuse the code for both and minimize # of tools, dependencies, etc. used in the framework and tests.