Is there any way to retrieve content of the image
i.e If image contains text... how to retrieve in silk test
In QTP there is GetVisibleText is there any function similar
to this in silktest...

Answers were Sorted based on User's Feedback



Is there any way to retrieve content of the image i.e If image contains text... how to retrieve in..

Answer / mudasir

Silk Test Has In-built OCR lib (.inc), which is a 3rd party integrated, using these function we can get the text from bmp files.

Is This Answer Correct ?    0 Yes 0 No

Is there any way to retrieve content of the image i.e If image contains text... how to retrieve in..

Answer / lakshmi v

Hi Mudasir,

Could you please elaborate with an example code snippet on
how we can read the text embedded in an image. I guess that
it may not be possible to do so.

One example of such a case is CAPTCHA (the distorted text
which appears while we sign up for most of the websites).
This text which can be read by a human is embedded and
presented as an image. The purpose of having CAPTCHA is not
to let any automated bots/tools perform the sign ups and
overload the website.

Is This Answer Correct ?    0 Yes 0 No

Is there any way to retrieve content of the image i.e If image contains text... how to retrieve in..

Answer / singh.samarveer

GetCaption.- Returns the text associated with the object.
-> To Retrive content/Text from an object.

STRING sImgText

sImgText = Object.GetCaption ()
Print("Image Text:" + sImgText)

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Silk Test Interview Questions

Which tag in silk is the most reliable in a scenario where content and order of object change frequently?

5 Answers   IBM,


What is Silktest?

4 Answers  


Imagine you have a string variable that holder a credit card (16digit). There are multiple ways of obtaining last four digits of this number programmatically on a run time. Name one; for practical purpose variables name is sCCnumber?

5 Answers   IBM,


what is the use of exception handling in Silk Test and how to use the commands?

4 Answers  


what is the statment/command for invoke the browser from script

4 Answers  






What are the default testplan attributes?

0 Answers  


How to write the good frame work for application.

1 Answers  


What is the Real time process for testing please tell in detain 7it is very urgent.

2 Answers  


What are the possible failure scenarios and different types of errors you find in silkTest?

2 Answers  


What is a test frame?

0 Answers  


What is the standard flow of execution of a test case?

0 Answers  


How to run a test case from a testplan file?

0 Answers  


Categories