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
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
What is smart identification in QTP?
Name the properties you would use for identifying a browser and page when using descriptive programming?
How can we conduct U-I Testing by using QTP??????
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
Hybrid framework supports Descriptive programming. Is it true?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
Explain how you can find the absolute value of the number in qtp?
What is post recovery scenario?
What is clean sweep?
Hi, I am supposed to automate mainframe application through qtp. I do not know how to start abt it. Can you plz help me in first initializing the process or do you anybody have a guide book or a link which guides me through the process of automating the mainframe applications and things involved in it.
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?