Micro Focus QTP (UFT) Forums
Best way to Automate Login Reusable Actions with QTP - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Best way to Automate Login Reusable Actions with QTP (/Thread-Best-way-to-Automate-Login-Reusable-Actions-with-QTP)



Best way to Automate Login Reusable Actions with QTP - raj.yaramala - 10-19-2009

I am looking for some expert suggestions on what is the best way to automated login resuable action. Please see below Scenario

1. I have a web application which needs a resuable login Action.
2.This app is in Test, User and Prod environments.
3.Each environment have different URLs and Login credentials.
4. We want to create a Resuable Test with Actions having all different environments.

5. The goal here is this test should be flexible enough to accept a parameter or data from Datatable to indicate which environment to use while running test.

What is the best way to communicate to test which login to use. I mean TestArguments or Action Parameter or DataTable or Inputbox.

Please Advice as almost everyone might have come accross this atleast once


RE: Best way to Automate Login Reusable Actions with QTP - Saket - 10-22-2009

In my opinion the Datatable would be a better option in this case.