Exforsys

Online Training

Doubt in QTP(urgent)

This is a discussion on Doubt in QTP(urgent) within the Software Testing forums, part of the Testing category; hi all, Please anybody help me to solve this.. I want to captuare a value from a textbox, which is ...


Go Back   Exforsys > Testing > Software Testing

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 06:17 AM
Junior Member
 
Join Date: Jul 2007
Posts: 13
sussain is on a distinguished road
Doubt in QTP(urgent)

hi all,

Please anybody help me to solve this..

I want to captuare a value from a textbox, which is in disabled mode.(while updation). And that captured value should be displayed/saved through a message box or in an Excelsheet.

just like we get details of a submitted form.


Please do the needfull, as soon as possible.

Thanks & Regards,
Sussin.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 01:44 PM
sangee
 
Join Date: Jul 2007
Posts: 8
sangeetharavi is on a distinguished road
hi,
wht do u mean updationa,?
try to use text checkpoint to capture the text and save it into the
datatable,by parametrization and use that value as a variable for ur msgbox.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-04-2008, 03:06 PM
Junior Member
 
Join Date: Apr 2008
Posts: 8
sukanya_QTP is on a distinguished road
Quote:
Originally Posted by sussain View Post
hi all,

Please anybody help me to solve this..

I want to captuare a value from a textbox, which is in disabled mode.(while updation). And that captured value should be displayed/saved through a message box or in an Excelsheet.

just like we get details of a submitted form.


Please do the needfull, as soon as possible.

Thanks & Regards,
Sussin.
value from disabled textbox can be captured using descriptive programming.
code to write into excelfile
Excel_Filename="D:\TestingTraining\Shriilife\NPDR.xls" (path where ur excel file is located)
Excel_Sheet_Name="NPDR" (sheet where u wana write the data
Set XLsheet = createobject("Excel.Application")
XLsheet.visible = False
XLsheet.WorkBooks.Open(Excel_Filename)
XLsheet.worksheets(Excel_Sheet_Name).select
XLsheet.cells(row no,col no)=value to be written into excel
XLsheet.ActiveWorkBook.save
XLsheet.ActiveWorkBook.close
XLsheet.Quit
Set XLsheet = Nothing
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Doubt on Functioning of Query caradoc Oracle Database 1 05-18-2007 04:00 PM
doubt in db2 mallakishore Other DBs 1 04-07-2007 09:31 AM
vb.net doubt Neelima Yerra Microsoft .NET Tutorials and Articles 3 02-24-2007 07:54 AM
Doubt in asp.net zubairsmd Microsoft .NET Tutorials and Articles 3 04-28-2006 08:02 PM
coding doubt sudhap Visual Basic Tutorials 1 01-26-2005 10:40 PM


All times are GMT -4. The time now is 03:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.