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...

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to test your defaultbasestate?

686


Is there any way of passing values at runtime? Like scanf does in C.

2261


How to add objects of other pages to a test frame?

706


can we test the application by inserting checkpoints using silktest as we do in qtp and winrunner and also what are the automation frameworks in silktest

2923


What is defaultbasestate?

713






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

617


How to include a test case into a testplan?

642


How to create a new silktest project?

671


What is a silktest testplan?

719


What is silktest agent?

665


What are testplan attributes?

671


Where are the testplan attributes stored?

645


What is silktest host?

699


How to define values for a testplan attribute?

663


How to open an existing silktest project?

658