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

What is the perpose of user-defined base state method?

3 Answers   TCS,


Define PEER Review ,what it contains & What we discuss in that meeting.

2 Answers  


Define Silk Testing.

5 Answers  


Can we customise the result file?

1 Answers  


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

4 Answers  






what .inc file consists in silk?

3 Answers  


can we test the application by inserting checkpoints using silktest as we do in qtp and winrunner and also what are the automation frameworks in silktest

0 Answers  


What is silktest host?

0 Answers  


In "Property" the user-defied property can have two functions only, define that?

1 Answers   IBM,


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,


what is the use of exception handling in Silk Test and how to use the commands?

4 Answers  


What is the Real time process for testing please tell in detain 7it is very urgent.

2 Answers  


Categories