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

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

2 Answers  


How to run a test case from a testplan file?

0 Answers  


How load testing can be done with silk international?

0 Answers  


How to Write user defined functions?

3 Answers  


Can silktest run on mac?

0 Answers  






What are testplan attributes?

0 Answers  


who is the head of the BMC

1 Answers   BMC,


Which tag in silk is the most reliable in a scenario where content and order of object change frequently?

5 Answers   IBM,


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  


What is the vo browser extension?

0 Answers  


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

3 Answers  


How to write the good frame work for application.

1 Answers  


Categories