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?

606


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

550


What is a silktest testplan?

616


How to include a test case into a testplan?

558


How to assign attribute values to test cases?

630






Where are the testplan attributes stored?

569


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

2174


How to download latest silk test trial version?

660


What is silktest host?

585


What is the syntax of ui object identifier used by dom extension?

592


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

2582


Where is a testplan stored?

571


What is a test frame?

613


How to create a new silktest project?

592


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

2041