Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

can we write HTML body/code in the QTP Test Window?? and if yes, please

This is a discussion on can we write HTML body/code in the QTP Test Window?? and if yes, please within the QTP forums, part of the Software Testing category; Hi I want to create html page using the vb script in QTP. Please let me know whether we can write HTML code in QTP Window or not. If yes, ...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 08-05-2009
Junior Member
 
Join Date: Jan 2009
Location: india
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
manivn is on a distinguished road
Angry can we write HTML body/code in the QTP Test Window?? and if yes, please

Hi

I want to create html page using the vb script in QTP.
Please let me know whether we can write HTML code in QTP Window or not.
If yes, please give me some sample simple example to go ahead....
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-05-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,757
Thanks: 16
Thanked 163 Times in 153 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: can we write HTML body/code in the QTP Test Window?? and if yes, please

Hai friend,

Quote:
Originally Posted by manivn View Post
Hi
I want to create html page using the vb script in QTP.
QTP is not designed to create HTML page.

Quote:
Originally Posted by manivn View Post
Hi
Please let me know whether we can write HTML code in QTP Window or not.
If yes, please give me some sample simple example to go ahead....
Html code:
Well, As per my view Html code cannot be written directly in to QTP, but if you are in need to access the html content present in a web page you can do it.

For ex:
x=Browser("title:=o").Page("title:=o").Object.Body.innerhtml
Msgbox x

Any issues let me know here.

Thanks
Deepa
Reply With Quote
  #3 (permalink)  
Old 09-25-2009
Junior Member
 
Join Date: Apr 2009
Location: Bangalore
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
mani_vn is on a distinguished road
Re: can we write HTML body/code in the QTP Test Window?? and if yes, please

I know Deepasree, QTP is not designed to create the HTML pages... but we have a facility in QTP to create customized results..

Here I am trying to create HTML Reports using QTP...

We can use QTP for creating customized results to understand...

Please don't give such answers...
Reply With Quote
  #4 (permalink)  
Old 09-25-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,757
Thanks: 16
Thanked 163 Times in 153 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: can we write HTML body/code in the QTP Test Window?? and if yes, please

Quote:
Originally Posted by mani_vn View Post
I know Deepasree, QTP is not designed to create the HTML pages... but we have a facility in QTP to create customized results..

Here I am trying to create HTML Reports using QTP...

We can use QTP for creating customized results to understand...

Please don't give such answers...
Hai mani,

Don't get annoyed, think for a while before answering. I have just highlighted the purpose of the tool what can be done and what not.

Thanks
Deepa
__________________
Arise Awake And Stop Not Till The Goal Is Reached
Reply With Quote
  #5 (permalink)  
Old 09-29-2009
Junior Member
 
Join Date: Apr 2009
Location: Bangalore
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
mani_vn is on a distinguished road
Re: can we write HTML body/code in the QTP Test Window?? and if yes, please

That what i wanted to tell you....


Without the need/requirement... we will not post in this site...

before giving reply... if you know the exact answer for that query you can give other no need to give reply.. i.e waste of our time..
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
IN QTP, How to write the code ? srinii_vasu QTP 2 06-26-2008 02:41 AM
Where should I write the JDBC code chandu_7k JSP 7 07-04-2007 10:37 PM
Total HTML Converter is all-in-one solution to convert HTML files to DOC, HTML to XLS JobHelper Geeks Lounge 0 05-21-2007 02:11 PM
Which event of the grid should we use to write code Geek_Guest VB.NET 0 04-09-2007 05:23 AM
PHP Code to email HTML Page along with PDF Attachment Shivanna PHP 0 10-11-2006 04:57 AM


All times are GMT -4. The time now is 08:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved