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...


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

Answers were Sorted based on User's Feedback



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

Answer / madhu

You can use regular expression supported in 4test
for example for a window whose tag is
"$WelcomeXYZ"

You can make it dynamic using regular expression
by replacing the tag by
"$Welcome???" or "$Welcome*"

Is This Answer Correct ?    7 Yes 2 No

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

Answer / venka

above all methods r wrong ..

guys i would like to share one simple method wit u ppl


as v know very well like regular expression is used to handle run time .. suppose i fax order value during the recording time is fax order.227 .. when u vil execute de script again that time value vil get incremented by ..which vil cause interuption during the execution

see the script

FlightReservation.DialogBox("Fax Order No. 227")

u have to replace this script with below metioned script

FlightReservation.DialogBox("Fax Order No. *")// by this u r instructing to tool that dont consider the value of fax order during the execution time

Is This Answer Correct ?    1 Yes 0 No

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

Answer / madhu

You can use regular expression supported in 4test
for example for a window whose tag is
"$WelcomeXYZ"

where XYZ keeps changing depending on user login or say
environment due to which scripts fail.
You can make it dynamic using regular expression
by replacing the tag by
"$Welcome???" or "$Welcome*"

Is This Answer Correct ?    1 Yes 1 No

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

Answer / skylark

Whenever you want to identify dynamic objects, use "Index"
(e.g. #1), "Window Location" or "Prior text". You can use
them together using "multitag" .Generally, those properties
dont change in dynamic objects

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Silk Test Interview Questions

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

4 Answers  


what are agents in silk?

4 Answers  


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

0 Answers  


Where are the testplan attributes stored?

0 Answers  


Want to lear from basic about silktest and how to write scripts. Please let me know if you know any website

0 Answers  


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

0 Answers  


How to attach silk test results to test director?

3 Answers  


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

0 Answers  


How to define an object verification in a test case?

0 Answers  


What is silktest host?

0 Answers  


What is stored in a test frame?

0 Answers  


How to Write user defined functions?

3 Answers  


Categories