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

How to Write user defined functions?

3 Answers  


How to do text verification point in silktest for a specific content.Suppose in the text editor, i have typed some "aaaa,bbbb,cccc,dddd" in different lines. now i want to capture only aaaa of first line from the text editor. How can i do it.Can any one help me.

3 Answers  


what .inc file consists in silk?

3 Answers  


How to select a group of test cases in a testplan to run?

0 Answers  


What is silktest project?

0 Answers  






what are agents in silk?

4 Answers  


Define PEER Review ,what it contains & What we discuss in that meeting.

2 Answers  


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

4 Answers  


can any one please tell me the full form of .g.t in silktest datadriven method

0 Answers   STC,


I'm involved in automation using silk test of an swing application running in a browser. There is a window whose name is a dynamic. i.e based on the input(eg: some filename) the window name keeps on changing. I need to capture the window name for every run of silk test case for different input filenames. I'm aware of GetName() in SilkTest, but its not working for me. Can anybody suggest me any logic to achieve this using silktest?

3 Answers  


procedure or steps to do silk test? clearly

2 Answers  


Hi All, An newbiee to silk test tool. I wanted to write a function which checks the browser type installed in the local machine & then based on the browser type test case should run. I tried little bit writing the function : Void Func_ValidateBrowserType() Window myWin myWin = Browser.GetRealBrowser () print (myWin) Any help please.. Thanks, V

0 Answers  






Categories