How to capture data from images in QTP and produce them in
Excel sheet ? please ans...
Answer Posted / pravati
text=Browser().page().image().getroproperty("alt")
msgbox text
set excel=createobject("excel.application")
excel.application.visible=true
excel.workbooks.open("path")
set mysheet=excel.Activeworkbook.worksheets("sheet2")
mysheet.cells(1,1)=text
excel.Quit
set excel=nothing
set mysheet=nothing
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of parameterization ?
How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?
Mention what are the different types of recording modes in qtp? Which will be used when?
How can I import environment from a file on disk?
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
How will you test a stapler?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
How many types of actions are there in quicktest professional (qtp)?
How to use descriptive programming?
how to create flat file datasubmission in qtp
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
when a test case is written how u test using qtp
What is the diff between image and bitmap check point?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
Explain different type of event trigger option.