
- Forum
- Testing
- Software Testing
- Doubt in QTP(urgent)
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 ...
-
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.
-
02-29-2008, 12:44 PM #2
- Join Date
- Jul 2007
- Answers
- 8
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.
-
07-04-2008, 02:06 PM #3
- Join Date
- Apr 2008
- Answers
- 8
value from disabled textbox can be captured using descriptive programming.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.
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
-
Sponsored Ads

Reply With Quote






