how to parameterizing values from an excel sheet in Quick test
professional?
Answer Posted / sabarinath
set excelsheet = createobject("excel.application")
set workbook = excelsheet.workbooks.add
set sheet1 = workbook.worksheets(1)
sheet1.cells(1,1) = "admin"
sheet1.cells(1,2) = "admin"
workbook.saveas("C:\excel1.xls")
Browser("").page("").webedit("username").set sheet1.cell
(1,1).value
Browser("").page("").webedit("password").set sheet1.cell
(1,2).value
workbook.close
excelsheet.quit
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what is run-time data?
How to use debug tools?
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
how to know no.of mails in our g mail by using vb-script
What is clean sweep?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
Explain features of the latest version of qtp/ uft 12.1?
How to delete an object from the object repository?
I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...
What is use of object spy?
What is recovery scenario manager? When you go for recovery scenario manager?
How to use output values in qtp ?
Where can I find and view run-time data table?
what is actually contain test report? can anybody post the test report
how can we compare descriptive programing with a regular expression