Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 assign attribute values to test cases?

1095


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

2461


What are testplan attributes?

999


How record a test case into a testplan automatically?

1002


How to create and edit a testplan?

1038


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

1082


how to pass TDS intery in tally?

2660


How to run a test case from a testplan file?

1114


What are the important aspects of a test case?

1031


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

998


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

2461


How to run a test case from a test script file?

1084


How to download latest silk test trial version?

1158


How load testing can be done with silk international?

1001


What are the types of text lines in a testplan file?

1077