Another scenario where QEngine scripts can be efficiently utilized is discussed below.
Scenario 1,
You have your application got installed in a test machine and automated the application using QEngine. In case you move your application to a new high end test machine then the automated scripts created against the old test machine goes unusable, as the scripts recorded will refer to the old test machine which is no longer available.
Scenario 2,
You have your application running over HTTP protocol and automated the application using QEngine. After automation you are upgrading your server to secured HTTPS protocol. In this case also the automated scripts goes unusable as the scripts recorded will refer to HTTP protocol as recorded, rather than the latest changes to HTTPS.
To overcome this, QEngine has a feature namely Host Port Settings. Using this option you can configure the machine name / port /protocol changes in the Host Port Editor. So that QEngine will automatically substitute the new test machine name / port / protocol in place of the recorded one.
To configure the host port settings, goto Settings -> Host-Port Settings and enable "Use Host-Port Configuration" and click on "Host-Port Editor" link. This will open "Host Port Editor", click on "New" button to create new Host Port Configuration. On creating new Host Port configuration it will list all the host name / port /protocol details recorded in the script in the suite. You should configure change host / port /protocol appropriately against each host listed in the editor.
This will enable the tester to utilize the same script without re-recording, even though the host / port / protocol of the application under test changes.
Thanks
Raghavan
Post Comment