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?

Answers were Sorted based on User's Feedback



I'm involved in automation using silk test of an swing application running in a browser. Ther..

Answer / 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

I'm involved in automation using silk test of an swing application running in a browser. Ther..

Answer / nponpandian

use Browser.GetCaption() method

Is This Answer Correct ?    0 Yes 0 No

I'm involved in automation using silk test of an swing application running in a browser. Ther..

Answer / 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

More Silk Test Interview Questions

What is a silktest testplan?

0 Answers  


What are the important aspects of a test case?

0 Answers  


Is there any way to retrieve content of the image i.e If image contains text... how to retrieve in silk test In QTP there is GetVisibleText is there any function similar to this in silktest...

3 Answers   AppLabs, HCL,


How can you read the contents of PDF using silktest?

2 Answers  


Can silktest run on mac?

0 Answers  


can you test an application in silk test that is running on another system?

2 Answers   Infosys,


How to do text verification point in silktest for a specific content.Suppose in the text editor, i have typed some "aaaa,bbbb,cccc,dddd" in different lines. now i want to capture only aaaa of first line from the text editor. How can i do it.Can any one help me.

3 Answers  


Can we use regular expressions to facilitate dynamic objects identification by SilkTest?

4 Answers  


what is the operator for carriage return(Enter) in Silk Test for File.

3 Answers  


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

0 Answers  


What is the vo browser extension?

0 Answers  


How to Write user defined functions?

3 Answers  


Categories