GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Tech FAQs  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 640 of 648    Print  
Capture Text From Image
How to Capture the text from a varying image in QTP?


  
Total Answers and Comments: 1 Last Update: November 20, 2008     Asked by: sarita.sawant 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 19, 2008 08:40:46   #1  
mrmukeshjain Member Since: September 2006   Contribution: 1    

RE: Capture Text From Image

GetTextLocation example

hwnd = Window("Microsoft Office Picture").WinObject("OIS Collection
Window").GetROProperty("hWnd") l = -1 'left

t = -1 'top

r = -1 'right

b = -1 'bottom succeeded = TextUtil.GetTextLocation("MASSACHUSETTS",hwnd,l,t,r,b)
If Succeeded Then

MsgBox "Text found"

End If


 
Is this answer useful? Yes | No

 Related Questions

I have 10 Edit Boxes in my application. i Named them as Text1, Text2, Text3...Text10. Now i want to set values in these Text Boxes using Loop Statement. Can i Usefor i=0 to 10 browser("b1").page("p1").WebEdit("Text" & i).set "value" &inext**********Is it acceptable WebEdit("Text"&i) ? I am getting error here.Any suggestions?
Read Answers (6) | Asked by : Nagelli Anil Kumar

How can we program using QTP to generate a text file which has data inside in a particular format which also needs to be programmed using QTP ?
Read Answers (1) | Asked by : ashish

Can anybody tell me the purpose of output checkpoints in QTP. how u r testing the text data through text checkpoints. how u r testing text data in the webpage through parameterization. my application is web based application. my requirement is i am retriving the data from the database to webpage. i put text checkpoint on the text, but problem is the parameterization. can anybody help me with code. i will appreciate if anybody can say
Read Answers (2) | Asked by : manoj_k3

I need to write the QTP results to a text file or an Excel file as i don't want to see the results in QTP results window.Please Can anybody provide the exact code for itUrgent...............................Thanks in advanceUday
Read Answers (7) | Asked by : Uday

Which command in QTP Script used to capture real time values?If QTP does not support third party web based application which is to be tested for GUI interface,what will be our next approach?What are configuration management Techniques?Difference between sanity testing and smoke testing? when will we use these testing?Comparision between weights and checkpoints.what is batch Testing?What is the difference between object identification and Object Repository?
Read Answers (3) | Asked by : kulgu

How to identifier 4 similar java links in an pageI have 4 similar java links in a same page, in their objects properties, only href are different.Here are links:Java(“*”, ’03/01/2006’)Java(“*”, ’02/06/2006’)Java(“*”, ’10/09/2006’)Java(“*”, ’11/05/2006’)In object repository, I named first link to “date_01” and done this:For i =0 to 3browser("b1").page("p1").link("Text",
Read Answers (1) | Asked by : lozzko

I have link on my screenBuild Activity (9).Clicking on the link a page apperas.The number part above keeps on changing.If i record this click with text "Build Activity (9)"and twhile execution teh number changes say text becomes "Build Activity (2)" QTP thros an error saying then Object properties do not match or the object does not exist.I think Regexp can be a solution for this.Can anyone explain me how.Email: arthere@hotmail.com
Read Answers (1) | Asked by : Gunjan

How can you capture clipboard data. Before that I want to cleanup the existing contents of clipboard & then proceed.
Read Answers (4) | Asked by : dsharma

Hi Friends,I want to test an web Application using QTP. The problem is, the texts/images appearing in the screen are not allowed to be selected.In such a cease how can I insert 'Text' Check points?Is there any alternative available?Please let me know if you have any idea. Thanks in advance for your help.Regards,Pradeep
Read Answers (1) | Asked by : pradeeps

How can i save result on text format so i can send that copy to team for viewing the resultsthanks in advance
Read Answers (2) | Asked by : priya123


 Sponsored Links

 
Related Articles

What is Change Data Capture

Change Data Capture refers to the process of capturing changes which are made to a production data source. Change Data Capture is typically performed by reading the source of database management software logs. Some of the features of Change Data Capture are It consolidates units of works En
 

ASP.NET : Dynamic Image control

ASP NET Training Dynamic Image control In this tutorial you will learn how to create Dynamic Image Control DynamicImage Control Properties and Custom Parameters mosgoogle The DynamicImage control derives from the DynamicImageBase which is in turn derived from Image This control acquires image bytes
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape