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
How to assign attribute values to test cases?
What are the problems you faced while identifying an object in silk?
What are testplan attributes?
How record a test case into a testplan automatically?
How to create and edit a testplan?
How to add objects of other pages to a test frame?
how to pass TDS intery in tally?
How to run a test case from a testplan file?
What are the important aspects of a test case?
How to select a group of test cases in a testplan to run?
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
How to run a test case from a test script file?
How to download latest silk test trial version?
How load testing can be done with silk international?
What are the types of text lines in a testplan file?