Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8024745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:57:01+00:00 2026-06-04T22:57:01+00:00

Is it possible to have a submit button on an HTML page run a

  • 0

Is it possible to have a submit button on an HTML page run a QTP script and output results in a nice, readable format?

Thanks for any tips!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T22:57:02+00:00Added an answer on June 4, 2026 at 10:57 pm

    QTP has possibilities to run as a COM object (also known as ActiveX component). You can create such a script in the VBScript language from QTP itself, but as it is a COM object, you can also use Javascript, C# or other languages to start QTP and run a script. To make it work from a HTML you have several possibilities:

    If you open the HTML page from a location on the local machine or from the intranet (as this is seen as a ‘trusted’ location), you could do that with the ActiveX/COM interface of QTP, it is not seen as hostile. The easiest way to do it.

    If rights are not correctly set on your desktop (local machine and/or intranet are seen the same as not trusted internet), you can do that with an HTA (HTML Application). Just the same as an HTML, but VBScript and ActiveX is allowed. This is my favorite because it is stand alone and you can connect to the filesystem, databases etc.

    You can also serve the HTML page from a server. The server must be on the same domain as QTP and you have to make a start script in the webserver language (ASP/ASP.NET, php, java etc.). If you expose the site to the internet, you can also start scripts from home. (and if you don’t password protect it, everybody can…).

    Reporting can also been done. You can extract the QTP reporting to XML and from there it would be quite simple to create an HTML and display it in your browser. I think you can even find code and applications on the internet from people done the same.

    If your QTP framework is a bit more sophisticated, you can create a line of HTML with each test action and append it to a report_html file. Or even better: create a JSON line for each test action and append it to a file. The JSON file can be read by humans, through your HTML page where you can create a parser, or by machines if you want to store results in a database, import it into Quality Center or to make a summary in Excel.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an html file with a form containing a submit button, and an
I would like to have a submit button on other people's HTML pages (with
Possible Duplicate: Multiple submit buttons in an HTML form I have web form with
I have a listbox on an HTML form with a Submit button. The listbox
Possible Duplicate: JavaScript post request like a form submit I have a value calculated
Possible Duplicate: CodeIgniter Disallowed Key Characters Im trying to have a form submit to
is possible to have a separator between elements of a GridView? Thanks
I have a jquery overlay window in my html alongwith a button to activate
I have an html form and within the form I have a <button> element.
I have a HTML page with the following input tag: ... <input type=file id=browseContactImageButton

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.