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 / lakshmi v
In Silk Test there is a function called Browser.GetActive()
This function returns the title of the active window.
Whenever your dynamic window opens up make sure it is active
by closing all other browsers if any using the
Browser.closeOthers() function. Then use the getActive
function to return the window name which is your required
output.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is multi-tagging?
How to download latest silk test trial version?
Can silktest run on mac?
What is silktest agent?
What is the segue testing methodology?
What is a test frame?
How to select a group of test cases in a testplan to run?
How to test your defaultbasestate?
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
What is defaultbasestate?
How to add objects of other pages to a test frame?
What is the dom browser extension?
How to assign attribute values to test cases?
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
What is the standard flow of execution of a test case?