Forum Discussion

meenakshiyadav1's avatar
meenakshiyadav1
Contributor
7 years ago
Solved

How to implement complex logical scenario in a keyword driven automation framework

I have implemented Keyword driven framework for my project in which I have written functions for different actions that are being performed on the aplication e.g. Click, Input etc. I am Passing the objects alias name and keyword name through an excel sheet. A driver script is written to extract this data from Excel using DDT driver.So for every step of testcase I pass object's alias name and keyword to the driver script.

Now I need to create a test case in which I need to split a string and extract a number out of that, at one page and reapeat the same process on two other pages and after that compare results. I am not able to understand how should I implement it.Can someone please guide me.

How should I implement this scenarios in my framework. How can I store data extracted on each page and then perform calculation at the end.

Please give a sample code if possible.

6 Replies