Answer Posted / aiswaryan
Tools-Options-Text Recognition
Select 'Use OCR only' and Language as English.
If your application is a window app,
window("").GetVisibleText(10,10,200,200)
If it is not a window app, then print screen and paste the
image to any window apps like mspaint or word and use
GetVisibleText function.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Limitations in QTP?
How to creating an output value using quicktest professional?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
How to remove the associated function library?
Can we create user defined functions in qtp?
what the difference between shared repository and per action repository?
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
How to create scenario selector
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
Hai anyone please "Explain about Framework in QTP?"
What are the factors on which script execution time is dependent?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris