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?

Answer Posted / knk

Since based on the input we give (say variable sInput), the window appears, Its better to write descriptive code by giving the property of the window as the input you have given previously i.e (sInput) and activating the window with setactive() method.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to run a test case from a testplan file?

598


Where is a testplan stored?

567


How to create group and sub group descriptions in a testplan?

577


What is silktest project?

549


What are the problems you faced while identifying an object in silk?

1893






how to pass TDS intery in tally?

2234


How dom browser extension identify a web application ui object?

617


How to open an existing silktest project?

554


How to record a test case?

586


Can silktest run on mac?

637


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

2036


How to download latest silk test trial version?

657


What is stored in a test frame?

588


How to define values for a testplan attribute?

579


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

586