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

What are the default testplan attributes?

1047


How to create a test frame?

1093


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

1097


What is silktest agent?

1037


How to define an object verification in a test case?

1079


What is the segue testing methodology?

1135


Where is a testplan stored?

1007


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

1145


How to record a test case?

1054


How to download latest silk test trial version?

1178


How to define values for a testplan attribute?

1151


How to test your defaultbasestate?

1127


What is the vo browser extension?

1062


Is there any way of passing values at runtime? Like scanf does in C.

2747


How record a test case into a testplan automatically?

1019