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 create a test frame?

1040


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

2423


What is a test frame?

1003


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

958


How to create and edit a testplan?

989


In SilkTest we have a function Except Log which displays the path of the error occured in a Script.In QTP do we have any function like that?

2471


What is stored in a test frame?

1033


What is silktest project?

921


What is the standard flow of execution of a test case?

985


How dom browser extension identify a web application ui object?

1132


What is the segue testing methodology?

1086


What are the default testplan attributes?

1005


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

1028


How to define values for a testplan attribute?

1072


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

1053