We have a scenario where we run a test case on multiple devices say Samsung ,Apple and Google. So we want to run only one single test case and keep all the baselines for each device in a single test case. The expectation is whenever we run a test case it automatically tests against the required device baseline.
Is it possible to achieve such a scenario using Imagium?
That is a very good question and yes, you can absolutely do that. Imagium puts this control in the hand of end users.
Inside an Imagium project every baseline is matched using Test Name and Step Name.
So if you want to keep the test case same you can dynamically change step name corresponding to your device.
A test case for this could look something like below:
For Samsung Device:
Step Login - Samsung
Step Check a Feature - Samsung
Step Logout - Samsung
For Apple Device:
Step Login - iPhone
Step Check a Feature - iPhone
Step Logout - iPhone
Simply by dynamically changing your step name inside the same test case we can achieve the above mentioned scenario.
Also it gives you good flexibility to modify individual baselines.
More bifurcation can be done based on device model name etc.
Do let us know if any further information is needed. Will keep this post open for some time.