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 |
How can the functions inside DLL be called from QTP? i mean How can i use those functions(Inside DLL) in QTP
Thanks....But can u tell me how i use the QTP for GIS with one Example...
what is the syntax or command in vbscript to display user message example i want to display "welcome to QTP".
In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls
how to associate object repository during runtime in qtp
I'm facing this problem while automating my application..its a web based apps.. In my application there are few webtables are displaying in the page.In the different cells there are links and action buttons.Problem is there is link in different web tables corresponding to one name.Hence the properties of the objects(say a link) are same except the x,y co ordinate of the object.So my script is not able to distinguish between the two links present in different cells of web tables with same name.Kindly help on this..
How comfortable are you in VB scripting?
How u will do versioning in QTP?
what is web application and client server application.is there any difference ?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
What is the difference between a Test and a Business Component? Is it necessary to use Business Component while testing an application in the real time?
Explain how Does Run time data (Parameterization) is handled in QTP?