how to parameterizing values from an excel sheet in Quick test
professional?
Answer / 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 |
Hi, Can any one explain what is mean by Driver Script? is it AOM?
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
What is ‘object spy’ and what is the function of object spy in qtp?
How many types of status are there?
Why to use descriptive programming?
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.
How to use Environment parameterization? Explain with an example.
Explain measuring transaction.
What is the difference between QTP 8.2 and QTP 9.2
How to create runtime property for an object?
what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?
you written some code in qtp for opening google.com browser and entered some text inthe search text box and clicked search button. this is ur script.. before running this script i have already opened two google.com browsers. now am running the script what will happen? script will run or what?? Thanks... Nani